Esempio n. 1
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All Acl component class tests');
     $path = CakePlugin::path('Acl') . DS . 'Test' . DS . 'Case';
     $suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component');
     return $suite;
 }
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Bs3Helpers tests');
     $path = CakePlugin::path('Bs3Helpers') . 'Test' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS;
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 3
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Users tests');
     $path = CakePlugin::path('Users') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($path);
     return $suite;
 }
Esempio n. 4
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All commands tests');
     $path = APP . 'Test' . DS . 'Case' . DS . 'Console' . DS . 'Command' . DS;
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 5
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Tasks tests');
     $path = CORE_TEST_CASES . DS . 'Console' . DS . 'Command' . DS . 'Task' . DS;
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 6
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All lib tests');
     $path = APP . 'Test' . DS . 'Case' . DS . 'Lib' . DS;
     $suite->addTestDirectory($path);
     return $suite;
 }
 /**
  * Suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Shell tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Console' . DS . 'Command');
     return $Suite;
 }
Esempio n. 8
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All tests');
     $dir = dirname(__FILE__);
     $suite->addTestDirectory($dir . DS . 'Model');
     return $suite;
 }
Esempio n. 9
0
 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Helper tests');
     $suite->addTestDirectory(__DIR__ . DS . 'Model' . DS);
     $suite->addTestDirectory(__DIR__ . DS . 'Model' . DS . 'Behavior' . DS);
     return $suite;
 }
 /**
  * 	All AdvancedShell tests suite
  *
  * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All AdvancedShell Tests');
     $basePath = App::pluginPath('AdvancedShell') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($basePath);
     return $suite;
 }
Esempio n. 11
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All tests');
     $suite->addTestDirectory(TESTS . 'Case' . DS . 'Model');
     $suite->addTestDirectory(TESTS . 'Case' . DS . 'Controller');
     return $suite;
 }
Esempio n. 12
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All Auditable Tests');
     $suite->addTestDirectory(__DIR__ . '/Model');
     $suite->addTestDirectory(__DIR__ . '/Model/Behavior');
     return $suite;
 }
Esempio n. 13
0
 public static function suite()
 {
     $suite = new CakeTestSuite('Croogo controller tests');
     $path = APP . 'Vendor' . DS . 'croogo' . DS . 'croogo' . DS . 'Croogo' . DS . 'Test' . DS . 'Case' . DS . 'Controller' . DS;
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 14
0
 public static function suite()
 {
     $suite = new CakeTestSuite('Croogo behavior tests');
     $path = APP . 'Vendor' . DS . 'croogo' . DS . 'croogo' . DS . 'Croogo' . DS . 'Test' . DS . 'Case' . DS . 'Model' . DS . 'Behavior' . DS;
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 15
0
 public static function suite()
 {
     $path = APP . 'Plugin' . DS . 'Api' . DS . 'Test' . DS . 'Case' . DS;
     $suite = new CakeTestSuite('All tests');
     $suite->addTestDirectoryRecursive($path);
     return $suite;
 }
 /**
  * 	All SnatzAPISource tests suite
  *
  * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All SMSFlySource Tests');
     $basePath = App::pluginPath('SMSFlySource') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($basePath);
     return $suite;
 }
Esempio n. 17
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Lib tests');
     $path = dirname(__FILE__);
     $suite->addTestDirectory($path . DS . 'Lib');
     return $suite;
 }
 /**
  * Suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Behavior tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Model' . DS . 'Behavior');
     return $Suite;
 }
Esempio n. 19
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All helper tests');
     $path = APP . 'Test' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS;
     $suite->addTestDirectory($path);
     return $suite;
 }
 public static function suite()
 {
     $suite = new CakeTestSuite('OAuth Tests');
     $path = CakePlugin::path('OAuth') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectory($path . 'Model' . DS . 'Behavior');
     return $suite;
 }
Esempio n. 21
0
 /**
  * Adds all test directories
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Tests');
     $path = dirname(__FILE__);
     $suite->addTestDirectoryRecursive($path . DS . 'Model');
     return $suite;
 }
Esempio n. 22
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Error handling tests');
     $libs = CORE_TEST_CASES . DS;
     $suite->addTestDirectory($libs . 'Error');
     return $suite;
 }
Esempio n. 23
0
 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('Feed Plugin All Tests');
     $path = dirname(__FILE__) . DS;
     $suite->addTestFile($path . 'FeedAllModelTest.php');
     return $suite;
 }
Esempio n. 24
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Comments Plugin tests');
     $basePath = CakePlugin::path('TinyMCE') . DS . 'Test' . DS . 'Case' . DS;
     $Suite->addTestDirectory($basePath . DS . 'View' . DS . 'Helper');
     return $Suite;
 }
Esempio n. 25
0
 /**
  * All test suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $plugin = preg_replace('/^All([\\w]+)Test$/', '$1', __CLASS__);
     $suite = new CakeTestSuite(sprintf('All %s Plugin tests', $plugin));
     $suite->addTestDirectoryRecursive(CakePlugin::path($plugin) . 'Test' . DS . 'Case');
     return $suite;
 }
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Task Tests');
     $path = App::pluginPath('Task') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($path);
     return $suite;
 }
Esempio n. 27
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Cache related class tests');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Cache');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Cache' . DS . 'Engine');
     return $suite;
 }
Esempio n. 28
0
 /**
  * suite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All components tests');
     $path = APP . 'Test' . DS . 'Case' . DS . 'Controller' . DS . 'Component' . DS;
     $suite->addTestDirectory($path);
     return $suite;
 }
 /**
  * Defines tests for this suite
  *
  * @return CakeTestSuite The test suite.
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Controller tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Controller');
     return $Suite;
 }
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Datasources test');
     $path = CakePlugin::path('InlineCss') . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectoryRecursive($path);
     return $suite;
 }