Changeset 941
- Timestamp:
- 09/25/07 23:17:54 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/test/php/net/stubbles/reflection/stubReflectionFunctionTestCase.php
r900 r941 103 103 { 104 104 $this->assertNull($this->stubRefFunction2->getReturnType()); 105 $this->assert Equal($this->stubRefFunction1->getReturnType(), 'string');105 $this->assertIdentical($this->stubRefFunction1->getReturnType(), stubReflectionPrimitive::$STRING); 106 106 $refFunction3 = new stubReflectionFunction('stubTestWithOutDocBlock'); 107 107 $this->assertNull($refFunction3->getReturnType()); trunk/src/test/php/net/stubbles/reflection/stubReflectionMethodTestCase.php
r900 r941 208 208 { 209 209 $this->assertNull($this->stubRefMethod1->getReturnType()); 210 $this->assert Equal($this->stubRefMethod2->getReturnType(), 'string');210 $this->assertIdentical($this->stubRefMethod2->getReturnType(), stubReflectionPrimitive::$STRING); 211 211 $this->assertNull($this->stubRefMethod3->getReturnType()); 212 $this->assert Equal($this->stubRefMethod4->getReturnType(), 'string');212 $this->assertIdentical($this->stubRefMethod4->getReturnType(), stubReflectionPrimitive::$STRING); 213 213 $refClass = $this->stubRefMethod5->getReturnType(); 214 214 $this->assertIsA($refClass, 'stubReflectionClass');
