public static function suite() { $suite = new CakeTestSuite('All CakeGanache tests'); $suite->addTestDirectoryRecursive(__DIR__ . DS . 'Config'); $suite->addTestDirectoryRecursive(__DIR__ . DS . 'View'); return $suite; }
/** * Get the suite object. * * @return CakeTestSuite Suite class instance. */ public static function suite() { $suite = new CakeTestSuite('All api tests'); $root = APP . 'Plugin' . DS . 'Api' . DS . 'Test' . DS . 'Case' . DS; $suite->addTestDirectoryRecursive($root . 'Controller'); $suite->addTestDirectoryRecursive($root . 'Lib'); return $suite; }
public static function suite() { $suite = new CakeTestSuite('All tests'); $suite->addTestDirectoryRecursive(TESTS . 'Case'); foreach (array('Dane') as $plugin) { $suite->addTestDirectoryRecursive(APP . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case'); } return $suite; }
/** * Suite method, defines tests for this suite. * * @return void */ public static function suite() { $Suite = new CakeTestSuite('All Mailchimp tests'); $path = dirname(__FILE__); $Suite->addTestDirectoryRecursive($path . DS . 'Model'); $Suite->addTestDirectoryRecursive($path . DS . 'Lib'); $Suite->addTestDirectoryRecursive($path . DS . 'Network'); return $Suite; }
/** * suite method, defines tests for this suite. * * @return void */ public static function suite() { $caseDir = dirname(__FILE__) . DS; $suite = new CakeTestSuite('All facebook plugin tests'); $suite->addTestDirectoryRecursive($caseDir . 'Lib'); $suite->addTestDirectoryRecursive($caseDir . 'Model'); $suite->addTestDirectoryRecursive($caseDir . 'View'); return $suite; }
public static function suite() { $plugin = 'Ipay'; $suite = new CakeTestSuite('All Ipay Tests Exclude Integration Test'); $suite->addTestDirectoryRecursive(APP . DS . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case' . DS . 'Lib' . DS); $suite->addTestDirectoryRecursive(APP . DS . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case' . DS . 'Model' . DS); $suite->addTestDirectoryRecursive(APP . DS . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case' . DS . 'View' . DS); $suite->addTestDirectoryRecursive(APP . DS . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case' . DS . 'Controller' . DS); return $suite; }
/** * Test suite to run everything */ public static function suite() { $suite = new CakeTestSuite('All test cases'); $suite->addTestDirectoryRecursive(TESTS . 'Case'); // test plugins that are part of the app foreach (array('AuthService') as $plugin) { $suite->addTestDirectoryRecursive(APP . 'Plugin' . DS . $plugin . DS . 'Test' . DS . 'Case'); } return $suite; }
/** * Adds all test directories * * @return void */ public static function suite() { $suite = new CakeTestSuite('All Seo Tests'); $path = dirname(__FILE__); $suite->addTestDirectoryRecursive($path . DS . 'Controller'); $suite->addTestDirectoryRecursive($path . DS . 'Model'); $suite->addTestDirectoryRecursive($path . DS . 'Lib'); $suite->addTestDirectoryRecursive($path . DS . 'Helper'); 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; }
/** * 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; }
/** * Suite define the tests for this plugin * * @return void */ public static function suite() { $suite = new CakeTestSuite('All VatNumberCheck test'); $path = CakePlugin::path('VatNumberCheck') . 'Test' . DS . 'Case' . DS; $suite->addTestDirectoryRecursive($path); return $suite; }
/** * Suite define the tests for this suite * * @return void */ public static function suite() { $suite = new CakeTestSuite('All AllAnnotationControlList test'); $path = CakePlugin::path('AnnotationControlList') . 'Test' . DS . 'Case' . DS; $suite->addTestDirectoryRecursive($path); return $suite; }
/** * All GoogleChart tests suite * * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite */ public static function suite() { $suite = new CakeTestSuite('All GoogleChart Tests'); $basePath = App::pluginPath('GoogleChart') . 'Test' . DS . 'Case' . DS; $suite->addTestDirectoryRecursive($basePath); return $suite; }
/** * Suite define the tests for this suite * * @return CakeTestSuite */ public static function suite() { $suite = new CakeTestSuite('All Authorize test'); $path = CakePlugin::path('Sifter') . 'Test' . DS . 'Case' . DS; $suite->addTestDirectoryRecursive($path); return $suite; }
/** * All ClopeClustering tests suite * * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite */ public static function suite() { $suite = new CakeTestSuite('All ClopeClustering Tests'); $basePath = App::pluginPath('ClopeClustering') . 'Test' . DS . 'Case' . DS; $suite->addTestDirectoryRecursive($basePath); 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; }
/** * Suite method, defines tests for this suite. * * @return void */ public static function suite() { $Suite = new CakeTestSuite('All Sms plugin tests'); $path = dirname(__FILE__); $Suite->addTestDirectoryRecursive($path . DS . 'Lib'); return $Suite; }
/** * 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; }
/** * Test suite caller to run all Migration tests. * * @return CakeTestSuite */ public static function suite() { $suite = new CakeTestSuite('All Migrations Tests'); $path = dirname(__FILE__) . DS; $suite->addTestDirectoryRecursive($path); return $suite; }
/** * 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; }
public static function suite() { $path = APP . 'Plugin' . DS . 'Api' . DS . 'Test' . DS . 'Case' . DS; $suite = new CakeTestSuite('All tests'); $suite->addTestDirectoryRecursive($path); 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; }
/** * All test suite * * @return CakeTestSuite */ public static function suite() { $contoller = preg_replace('/^All([\\w]+)ControllerTest$/', '$1', __CLASS__); $suite = new CakeTestSuite(sprintf('All %s Controller tests', $contoller)); $path = __DIR__; $suite->addTestDirectoryRecursive($path); return $suite; }
/** * * @return PHPUnit_Framework_TestSuite the instance of PHPUnit_Framework_TestSuite */ public static function suite() { $path = dirname(__FILE__); echo $path; $suite = new CakeTestSuite('All ApiGenerator Tests.'); $suite->addTestDirectoryRecursive($path); return $suite; }
/** * suite method, defines tests for this suite. * * @return void */ public static function suite() { $suite = new CakeTestSuite('All component class tests'); $suite->addTestFile(CORE_TEST_CASES . DS . 'Controller' . DS . 'ComponentTest.php'); $suite->addTestFile(CORE_TEST_CASES . DS . 'Controller' . DS . 'ComponentCollectionTest.php'); $suite->addTestDirectoryRecursive(CORE_TEST_CASES . DS . 'Controller' . DS . 'Component'); return $suite; }
public static function suite() { $suite = new CakeTestSuite('All core plugins tests'); $plugins = array('Acl', 'Blocks', 'Comments', 'Contacts', 'Nodes', 'Extensions', 'FileManager', 'Menus', 'Meta', 'Settings', 'Taxonomy', 'Tinymce', 'Translate', 'Users'); foreach ($plugins as $plugin) { CakePlugin::load($plugin); $suite->addTestDirectoryRecursive(CakePlugin::path($plugin) . 'Test' . DS); } return $suite; }
public static function suite() { $suite = new CakeTestSuite('Croogo core plugins tests'); $plugins = array('Acl', 'Blocks', 'Comments', 'Contacts', 'Croogo', 'Nodes', 'Extensions', 'FileManager', 'Menus', 'Meta', 'Settings', 'Taxonomy', 'Ckeditor', 'Translate', 'Users'); if ((int) Configure::read('debug') > 0) { $plugins[] = 'Install'; } foreach ($plugins as $plugin) { CakePlugin::load($plugin); $suite->addTestDirectoryRecursive(CakePlugin::path($plugin) . 'Test' . DS); } return $suite; }
/** * Suite define the tests for this suite * * @return void */ public static function suite() { $suite = new CakeTestSuite('All Tests'); $suite->addTestDirectoryRecursive(TESTS . 'Case'); return $suite; }
/** * suite * * @return CakeTestSuite */ public static function suite() { $suite = new CakeTestSuite('All Tests'); $suite->addTestDirectoryRecursive(CakePlugin::path('DataTable') . 'Test' . DS); return $suite; }
/** * suite * * @return CakeTestSuite */ public static function suite() { $suite = new CakeTestSuite('All Croogo tests'); $suite->addTestDirectoryRecursive(CakePlugin::path('Croogo') . 'Test' . DS . 'Case' . DS); return $suite; }