Line | |
---|
1 | <?php |
---|
2 | // $Id: calendar_tests.php,v 1.1 2004/05/24 22:25:43 quipo Exp $ |
---|
3 | |
---|
4 | require_once('simple_include.php'); |
---|
5 | require_once('calendar_include.php'); |
---|
6 | |
---|
7 | class CalendarTests extends GroupTest { |
---|
8 | function CalendarTests() { |
---|
9 | $this->GroupTest('Calendar Tests'); |
---|
10 | $this->addTestFile('calendar_test.php'); |
---|
11 | $this->addTestFile('year_test.php'); |
---|
12 | $this->addTestFile('month_test.php'); |
---|
13 | $this->addTestFile('day_test.php'); |
---|
14 | $this->addTestFile('hour_test.php'); |
---|
15 | $this->addTestFile('minute_test.php'); |
---|
16 | $this->addTestFile('second_test.php'); |
---|
17 | } |
---|
18 | } |
---|
19 | |
---|
20 | if (!defined('TEST_RUNNING')) { |
---|
21 | define('TEST_RUNNING', true); |
---|
22 | $test = &new CalendarTests(); |
---|
23 | $test->run(new HtmlReporter()); |
---|
24 | } |
---|
25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.