source: trunk/server/www/vendors/simpletest/test/autorun_test.php @ 6

Last change on this file since 6 was 6, checked in by sander, 12 years ago

Added SimpleTest? test framework

File size: 378 bytes
Line 
1<?php
2require_once(dirname(__FILE__) . '/../autorun.php');
3require_once(dirname(__FILE__) . '/support/test1.php');
4
5class LoadIfIncludedTestCase extends UnitTestCase {
6    function test_load_if_included() {
7            $tests = new GroupTest();
8        $tests->addFile(dirname(__FILE__) . '/support/test1.php');
9        $this->assertEqual($tests->getSize(), 1);
10    }
11}
12
13?>
Note: See TracBrowser for help on using the repository browser.