예제 #1
0
 public static function suite()
 {
     $suite = new xPDOQuery_AllTests('xPDOQueryClassTest');
     $suite->addTestSuite('xPDOQueryTest');
     $suite->addTestSuite('xPDOQueryLimitTest');
     $suite->addTestSuite('xPDOQuerySortByTest');
     return $suite;
 }
예제 #2
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('xPDOSuite');
     $suite->addTestSuite('xPDOSetUpTest');
     $suite->addTest(xPDO_AllTests::suite());
     $suite->addTest(xPDOQuery_AllTests::suite());
     $suite->addTestSuite('xPDOTearDownTest');
     return $suite;
 }