コード例 #1
0
ファイル: AuthTest.php プロジェクト: bojaspus/zendamf
 public function setUp()
 {
     $this->_server = new Amf\Server();
     $this->_server->setProduction(false);
     \ZendAmf\Parser\TypeLoader::resetMap();
     $this->_acl = new Acl\Acl();
 }
コード例 #2
0
ファイル: RequestTest.php プロジェクト: bojaspus/zendamf
 /**
  * Setup environment
  */
 public function setUp()
 {
     $this->_originaltimezone = date_default_timezone_get();
     date_default_timezone_set("America/Chicago");
     Parser\TypeLoader::resetMap();
     $this->_request = new \ZendAmf\Request\StreamRequest();
 }
コード例 #3
0
ファイル: ResponseTest.php プロジェクト: nickl-/ZendAmf
 /**
  * Setup environment
  */
 public function setUp()
 {
     $this->_originaltimezone = date_default_timezone_get();
     date_default_timezone_set('America/Chicago');
     Locale::setFallback('en_US');
     Parser\TypeLoader::resetMap();
     $this->_response = new \ZendAmf\Response\StreamResponse();
 }
コード例 #4
0
ファイル: ServerTest.php プロジェクト: nickl-/ZendAmf
 public function setUp()
 {
     $this->_server = new Amf\Server();
     $this->_server->setProduction(false);
     Parser\TypeLoader::resetMap();
     Session\Container::setDefaultManager(null);
     $config = new Session\Configuration\StandardConfiguration(array('class' => 'Zend\\Session\\Configuration\\StandardConfiguration', 'storage' => 'Zend\\Session\\Storage\\ArrayStorage'));
     $this->session = new \ZendTest\Session\TestAsset\TestManager($config);
     Session\Container::setDefaultManager($this->session);
 }