예제 #1
0
 /**
  * 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
 /**
  * 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());
 }