summaryrefslogtreecommitdiffstats
path: root/tests/suite.php
blob: 188c99b908209351dbb41b3297d7b4854ad51246 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
/**
* ezcGraphSuite
*
* @package Graph
* @subpackage Tests
* @version //autogentag//
* @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
* @license LGPL {@link http://www.gnu.org/copyleft/lesser.html}
*/

/**
* Require test suite for Graph class.
*/
require_once 'graph_test.php';

/**
* Require test suite for ezcGraphColor class.
*/
require_once 'color_test.php';

/**
* Require test suite for ezcGraphChart class.
*/
require_once 'chart_test.php';

/**
* Require test suite for ezcGraphChart class.
*/
require_once 'dataset_test.php';

/**
* Require test suite for ezcGraphChart class.
*/
require_once 'legend_test.php';

/**
* Require test suite for ezcGraphChart class.
*/
require_once 'numeric_axis_test.php';

/**
* Require test suite for ezcGraphChart class.
*/
require_once 'labeled_axis_test.php';

/**
* Test suite for ImageAnalysis package.
*
* @package ImageAnalysis
* @subpackage Tests
*/
class ezcGraphSuite extends ezcTestSuite
{
    public function __construct()
    {
        parent::__construct();
        $this->setName( "Graph" );

        $this->addTest( ezcGraphTest::suite() );
        $this->addTest( ezcGraphColorTest::suite() );
        $this->addTest( ezcGraphChartTest::suite() );
        $this->addTest( ezcGraphDatasetTest::suite() );
        $this->addTest( ezcGraphLegendTest::suite() );
        $this->addTest( ezcGraphNumericAxisTest::suite() );
        $this->addTest( ezcGraphLabeledAxisTest::suite() );
    }

    public static function suite()
    {
        return new ezcGraphSuite( "ezcGraphSuite" );
    }
}
?>
OpenPOWER on IntegriCloud