Line | |
---|
1 | <?php |
---|
2 | /// FIXME: Tests not implemented. |
---|
3 | return; |
---|
4 | |
---|
5 | /** |
---|
6 | * PHPUnit test case for TemplateGlue |
---|
7 | * |
---|
8 | * The method skeletons below need to be filled in with |
---|
9 | * real data so that the tests will run correctly. Replace |
---|
10 | * all EXPECTED_VAL and PARAM strings with real data. |
---|
11 | * |
---|
12 | * Created with PHPUnit_Skeleton on 2005-08-09 |
---|
13 | */ |
---|
14 | require_once 'PHPUnit.php'; |
---|
15 | class TemplateGlueTest extends PHPUnit_TestCase { |
---|
16 | |
---|
17 | var $TemplateGlue; |
---|
18 | |
---|
19 | function TemplateGlueTest($name) |
---|
20 | { |
---|
21 | $this->PHPUnit_TestCase($name); |
---|
22 | } |
---|
23 | |
---|
24 | function setUp() |
---|
25 | { |
---|
26 | require dirname(__FILE__) . '/_config.inc.php'; |
---|
27 | require_once '../lib/TemplateGlue.inc.php'; |
---|
28 | $this->TemplateGlue =& new TemplateGlue(PARAM); |
---|
29 | } |
---|
30 | |
---|
31 | function tearDown() |
---|
32 | { |
---|
33 | unset($this->TemplateGlue); |
---|
34 | } |
---|
35 | |
---|
36 | } |
---|
37 | // Running the test. |
---|
38 | $suite = new PHPUnit_TestSuite('TemplateGlueTest'); |
---|
39 | $result = PHPUnit::run($suite); |
---|
40 | echo $result->toString(); |
---|
41 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.