This repository has been archived by the owner on May 8, 2021. It is now read-only.
/
AllTests.php
64 lines (54 loc) · 1.74 KB
/
AllTests.php
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* The test suite file that configures the execution of the test cases.
*
* @author Tomasz "Zyx" Jędrzejewski
* @copyright Copyright (c) 2009 Invenzzia Group
* @license http://www.invenzzia.org/license/new-bsd New BSD License
*/
require_once('ClassTest.php');
require_once('ViewTest.php');
require_once('FunctionTest.php');
require_once dirname(__FILE__).'/Parser/AllTests.php';
require_once dirname(__FILE__).'/Inflector/AllTests.php';
require_once dirname(__FILE__).'/Xml/AllTests.php';
require_once dirname(__FILE__).'/Instruction/AllTests.php';
require_once dirname(__FILE__).'/Expression/AllTests.php';
require_once dirname(__FILE__).'/Language/AllTests.php';
class Package_AllTests extends PHPUnit_Framework_TestSuite
{
/**
* Configures the suite object.
*
* @return Suite
*/
public static function suite()
{
$suite = new Package_AllTests('Package');
$suite->addTestSuite('Package_ClassTest');
$suite->addTestSuite('Package_ViewTest');
$suite->addTestSuite('Package_FunctionTest');
$suite->addTestSuite(Package_Parser_AllTests::suite());
$suite->addTestSuite(Package_Inflector_AllTests::suite());
$suite->addTestSuite(Package_Xml_AllTests::suite());
$suite->addTestSuite(Package_Instruction_AllTests::suite());
$suite->addTestSuite(Package_Expression_AllTests::suite());
$suite->addTestSuite(Package_Language_AllTests::suite());
$suite->addTestSuite(Package_Cdf_AllTests::suite());
return $suite;
} // end suite();
/**
* Configures the OPL autoloader and installs the libraries.
*/
protected function setUp()
{
/* currently null */
} // end setUp();
/**
* Shuts down the test procedure.
*/
protected function tearDown()
{
/* currently null */
} // end tearDown();
} // end Package_AllTests;