コード例 #1
0
ファイル: ResourceTest.php プロジェクト: bojaspus/zendamf
 /**
  * Defining new unknown resource type, handler has no parse()
  *
  */
 public function testCtxNoParse()
 {
     Parser\TypeLoader::setResourceLoader(new TestAsset\TestResourceLoader(3));
     $this->setExpectedException('ZendAmf\\Exception\\RuntimeException', 'Could not call parse()');
     $resp = $this->_callService("returnCtx");
 }
コード例 #2
0
ファイル: ResourceTest.php プロジェクト: nickl-/ZendAmf
 /**
  * Defining new unknown resource type, handler has no parse()
  *
  */
 public function testCtxNoParse()
 {
     $this->markTestSkipped('Plugin loader implementation needs to be revisited');
     Parser\TypeLoader::setResourceLoader(new TestAsset\TestResourceLoader("3"));
     $this->setExpectedException('ZendAmf\\Exception\\RuntimeException', 'Could not call parse()');
     $resp = $this->_callService("returnCtx");
 }
コード例 #3
0
ファイル: Server.php プロジェクト: bojaspus/zendamf
 /**
  * The server constructor
  */
 public function __construct()
 {
     Parser\TypeLoader::setResourceLoader(new \ZendAmf\Parser\ParserLoader());
 }