summaryrefslogtreecommitdiff
path: root/tests/unit/Web/UI/AllTests.php
blob: 6885c337c0a31485668f5478544415b14c047871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php


if(!defined('PHPUnit_MAIN_METHOD')) {
  define('PHPUnit_MAIN_METHOD', 'Web_UI_AllTests::main');
}

require_once 'TClientScriptManagerTest.php';
require_once 'TControlAdapterTest.php';
require_once 'TControlTest.php';
require_once 'TFormTest.php';
require_once 'TPageTest.php';
require_once 'TTemplateControlTest.php';
require_once 'TTemplateManagerTest.php';
require_once 'TTemplateTest.php';
require_once 'TThemeManagerTest.php';
require_once 'TThemeTest.php';
require_once 'THtmlWriterTest.php';
require_once 'TPageStatePersisterTest.php';
require_once 'TSessionPageStatePersisterTest.php';

class Web_UI_AllTests {
  public static function main() {
    PHPUnit_TextUI_TestRunner::run(self::suite());
  }

  public static function suite() {
    $suite = new PHPUnit_Framework_TestSuite('System.Web.UI');

	$suite->addTestSuite('TClientScriptManagerTest');
	$suite->addTestSuite('TControlAdapterTest');
    $suite->addTestSuite('TControlTest');
	$suite->addTestSuite('TFormTest');
	$suite->addTestSuite('TPageTest');
	$suite->addTestSuite('TTemplateControlTest');
	$suite->addTestSuite('TTemplateManagerTest');
	$suite->addTestSuite('TTemplateTest');
	$suite->addTestSuite('TThemeManagerTest');
	$suite->addTestSuite('TThemeTest');
	$suite->addTestSuite('THtmlWriterTest');
	$suite->addTestSuite('TPageStatePersisterTest');
	$suite->addTestSuite('TSessionPageStatePersisterTest');

    return $suite;
  }
}

if(PHPUnit_MAIN_METHOD == 'Web_UI_AllTests::main') {
  Web_UI_AllTests::main();
}