summaryrefslogtreecommitdiff
path: root/tests/simpletests/testcase/testphpPgAdminMain.php
blob: e57cfac58b557159988bddf390799eeed009732b (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
<?php
/**
 * This is entrance to run all the test suites and generate a report for the results.
 *
 * @author     Augmentum SpikeSource Team 
 * @copyright  2005 by Augmentum, Inc.
 */

// Import necessary library files to setup the testcase.
// And for web testcase, the library web_tester.php should be included.

require_once("$PHP_SIMPLETEST_HOME/web_tester.php");
require_once("$PHP_SIMPLETEST_HOME/reporter.php");

require_once('Public/SetPrecondition.php');  

require_once('Server/ServerGroupTest.php');
require_once('Databases/DatabaseGroupTest.php');
require_once('Schemas/SchemasGroupTest.php');
require_once('Tables/TableGroupTest.php');
require_once('Common/CommonGroupTest.php');

/**
 * This class is to test the whole phpPgAdmin.
 * It includes server/database/schema/table management and common manipulation.
 */
class phpPgAdminGroupTest extends GroupTest
{
    function phpPgAdminGroupTest() 
    {
		$this->GroupTest('phpPgAdmin automation test.');
		$this->addTestClass(new ServerGroupTest());
		$this->addTestClass(new DatabaseGroupTest());
		$this->addTestClass(new SchemasGroupTest());
		$this->addTestClass(new TableGroupTest());
		$this->addTestClass(new CommonGroupTest());

    }
}

$phpPgAdminTest = &new phpPgAdminGroupTest();

$phpPgAdminTest->run(new HtmlReporter());

?>