Changeset 3753
- Timestamp:
- 02/13/08 04:18:49 (17 months ago)
- Location:
- branches
- Files:
-
- 2 modified
-
0.10/tests/DoctrineTest/UnitTestCase.php (modified) (1 diff)
-
0.9/tests/DoctrineTest/UnitTestCase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/tests/DoctrineTest/UnitTestCase.php
r3068 r3753 61 61 } 62 62 } 63 64 public function assertNull($expr) 65 { 66 if (is_null($expr)) { 67 $this->pass(); 68 } else { 69 $this->fail(); 70 } 71 } 72 73 public function assertNotNull($expr) 74 { 75 if (is_null($expr)) { 76 $this->fail(); 77 } else { 78 $this->pass(); 79 } 80 } 81 63 82 public function pass() 64 83 { -
branches/0.9/tests/DoctrineTest/UnitTestCase.php
r3068 r3753 61 61 } 62 62 } 63 64 public function assertNull($expr) 65 { 66 if (is_null($expr)) { 67 $this->pass(); 68 } else { 69 $this->fail(); 70 } 71 } 72 73 public function assertNotNull($expr) 74 { 75 if (is_null($expr)) { 76 $this->fail(); 77 } else { 78 $this->pass(); 79 } 80 } 81 63 82 public function pass() 64 83 {