root/components/debug/test/CorujaDebugTest.php
| 130 | 166 | ||
|---|---|---|---|
1 | <?php | 1 | <?php |
2 | require_once 'PHPUnit/Framework.php'; | 2 | require_once 'PHPUnit/Extensions/OutputTestCase.php'; |
3 | 3 | ||
4 | require_once '../_start.php'; | 4 | require_once dirname( __FILE__ ).'/../../../_start.php'; |
5 | require_once '../../../../../_start.php'; | ||
6 | 5 | ||
7 | /** | 6 | /** |
8 | * Test class for CorujaDebug. | 7 | * Test class for CorujaDebug. |
9 | * Generated by PHPUnit on 2008-10-23 at 21:41:23. | 8 | * Generated by PHPUnit on 2008-10-23 at 21:41:23. |
10 | */ | 9 | */ |
11 | class CorujaDebugTest extends PHPUnit_Framework_TestCase | 10 | class CorujaDebugTest extends PHPUnit_Extensions_OutputTestCase |
12 | { | 11 | { |
13 | 12 | ||
14 | /** | 13 | /** |
... | ... | ||
50 | 49 | ||
51 | CorujaDebug::debug("test",true); | 50 | CorujaDebug::debug("test",true); |
52 | 51 | ||
53 | $this->expectOutputRegex(".*D I E.*"); | 52 | $this->expectOutputRegex("*D I E*"); |
54 | 53 | ||
55 | } | 54 | } |
56 | } | 55 | } |
Download diff