Passed
Push — develop ( db5506...7ff7f1 )
by Felipe
06:26 queued 02:43
created

phpPgAdminGroupTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
/**
3
 * This is entrance to run all the test suites and generate a report for the results.
4
 *
5
 * @author     Augmentum SpikeSource Team 
6
 * @copyright  2005 by Augmentum, Inc.
7
 */
8
9
// Import necessary library files to setup the testcase.
10
// And for web testcase, the library web_tester.php shoule be included.
11
12
require_once("$PHP_SIMPLETEST_HOME/web_tester.php");
13
require_once("$PHP_SIMPLETEST_HOME/reporter.php");
14
15
require_once('Public/SetPrecondition.php');  
16
17
require_once('Server/ServerGroupTest.php');
18
require_once('Databases/DatabaseGroupTest.php');
19
require_once('Schemas/SchemasGroupTest.php');
20
require_once('Tables/TableGroupTest.php');
21
require_once('Common/CommonGroupTest.php');
22
23
/**
24
 * This class is to test the whole phpPgAdmin.
25
 * It includes server/database/schema/table management and common manipulation.
26
 */
27
class phpPgAdminGroupTest extends GroupTest
28
{
29
    function phpPgAdminGroupTest() 
30
    {
31
		$this->GroupTest('phpPgAdmin automation test.');
32
		$this->addTestClass(new ServerGroupTest());
33
		$this->addTestClass(new DatabaseGroupTest());
34
		$this->addTestClass(new SchemasGroupTest());
35
		$this->addTestClass(new TableGroupTest());
36
		$this->addTestClass(new CommonGroupTest());
37
38
    }
39
}
40
41
$phpPgAdminTest = &new phpPgAdminGroupTest();
42
43
$phpPgAdminTest->run(new HtmlReporter());
44
45
?>
46