diff options
author | knut <> | 2008-08-06 13:33:38 +0000 |
---|---|---|
committer | knut <> | 2008-08-06 13:33:38 +0000 |
commit | bb60bcd2032e887e010904999655d2e5999e9878 (patch) | |
tree | 43bb4e7aa5e12d4781f6922d60211291f5b4c32c /tests/unit/Data/DataGateway/AllTests.php | |
parent | f7f3d150ef35c026bf6aee72e78362e263419e1a (diff) |
fixed #899
Diffstat (limited to 'tests/unit/Data/DataGateway/AllTests.php')
-rw-r--r-- | tests/unit/Data/DataGateway/AllTests.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/unit/Data/DataGateway/AllTests.php b/tests/unit/Data/DataGateway/AllTests.php new file mode 100644 index 00000000..f3405613 --- /dev/null +++ b/tests/unit/Data/DataGateway/AllTests.php @@ -0,0 +1,28 @@ +<?php +require_once dirname(__FILE__).'/../../phpunit.php'; + +if(!defined('PHPUnit_MAIN_METHOD')) { + define('PHPUnit_MAIN_METHOD', 'Data_DataGateway_AllTests::main'); +} + +require_once 'TSqlCriteriaTest.php'; + +class Data_DataGateway_AllTests { + + public static function main() { + PHPUnit_TextUI_TestRunner::run(self::suite()); + } + + public static function suite() { + $suite = new PHPUnit_Framework_TestSuite('System.Data.DataGateway'); + + $suite->addTestSuite('TSqlCriteriaTest'); + + return $suite; + } +} + +if(PHPUnit_MAIN_METHOD == 'Data_DataGateway_AllTests::main') { + Data_DataGateway_AllTests::main(); +} +?> |