Changeset 1814
- Timestamp:
- 09/01/08 23:06:34 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
labs/incubator/src/main/php/net/stubbles/remote/protocol/stubProtocolHandlerFactory.php
r1718 r1814 40 40 { 41 41 self::$instance = new self(); 42 self::$instance->setHandler(' easc', 'net::stubbles::remote::protocol::easc::stubEASCProtocolHandler');42 self::$instance->setHandler('xp', 'net::stubbles::remote::protocol::easc::stubEASCProtocolHandler'); 43 43 } 44 44 // @codeCoverageIgnoreEnd … … 78 78 { 79 79 $this->handlers = array(); 80 $this->setHandler(' easc', 'net::stubbles::remote::protocol::easc::stubEASCProtocolHandler');80 $this->setHandler('xp', 'net::stubbles::remote::protocol::easc::stubEASCProtocolHandler'); 81 81 } 82 82 labs/incubator/src/test/php/net/stubbles/remote/protocol/stubProtocolHandlerFactoryTestCase.php
r1716 r1814 54 54 55 55 /** 56 * eascprotocol handler should be present without additional action56 * xp protocol handler should be present without additional action 57 57 * 58 58 * @test 59 59 */ 60 public function eascHandlerPresent()60 public function xpHandlerPresent() 61 61 { 62 $this->assertTrue($this->protocolHandlerFactory->hasHandler(' easc'));62 $this->assertTrue($this->protocolHandlerFactory->hasHandler('xp')); 63 63 } 64 64 … … 112 112 $this->assertSame($this->protocolHandlerFactory, $this->protocolHandlerFactory->setHandler('mock', $protocolHandlerMockClassName)); 113 113 $this->assertTrue($this->protocolHandlerFactory->hasHandler('mock')); 114 $this->assertTrue($this->protocolHandlerFactory->hasHandler(' easc'));114 $this->assertTrue($this->protocolHandlerFactory->hasHandler('xp')); 115 115 $this->protocolHandlerFactory->clear(); 116 116 $this->assertFalse($this->protocolHandlerFactory->hasHandler('mock')); 117 $this->assertTrue($this->protocolHandlerFactory->hasHandler(' easc'));117 $this->assertTrue($this->protocolHandlerFactory->hasHandler('xp')); 118 118 } 119 119
