Esempio n. 1
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All Bitmasked tests');
     $suite->addTestFile(dirname(__FILE__) . DS . 'Model' . DS . 'BitmaskedBitTest.php');
     $suite->addTestFile(dirname(__FILE__) . DS . 'Model' . DS . 'Behavior' . DS . 'BitmaskedBehaviorTest.php');
     return $suite;
 }
Esempio n. 2
0
 /**
  * 	Метод сборки
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All rabbit tests');
     $suite->addTestFile(__DIR__ . DS . 'Dummy' . DS . 'ProducerTest.php');
     $suite->addTestFile(__DIR__ . DS . 'Dummy' . DS . 'ConsumerTest.php');
     return $suite;
 }
Esempio n. 3
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All Metadata tests');
     $suite->addTestFile(dirname(__FILE__) . DS . 'Model' . DS . 'MetadatumTest.php');
     $suite->addTestFile(dirname(__FILE__) . DS . 'Model' . DS . 'Behavior' . DS . 'MetadataBehaviorTest.php');
     return $suite;
 }
Esempio n. 4
0
 /**
  * suite declares tests to run
  *
  * @access public
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Helper tests');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helper.test.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helper_collection.test.php');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS);
     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 . 'libs' . DS . 'controller' . DS . 'component.test.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component_collection.test.php');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components');
     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;
 }
Esempio n. 7
0
 /**
  * suite declares tests to run
  *
  * @access public
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Helper tests');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'View' . DS . 'HelperTest.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'View' . DS . 'HelperCollectionTest.php');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'View' . DS . 'Helper' . DS);
     return $suite;
 }
 public static function suite()
 {
     $suite = new CakeTestSuite('All Acl plugin tests');
     $path = CakePlugin::path('Acl') . DS . 'Test' . DS . 'Case' . DS;
     $suite->addTestFile($path . 'AllAclControllersTest.php');
     $suite->addTestFile($path . 'AllAclComponentsTest.php');
     return $suite;
 }
Esempio n. 9
0
 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('Baser All Tests');
     $path = __DIR__ . DS;
     $suite->addTestFile($path . 'MailAllControllerTest.php');
     $suite->addTestFile($path . 'MailAllModelTest.php');
     $suite->addTestFile($path . 'MailAllHelpersTest.php');
     return $suite;
 }
Esempio n. 10
0
 /**
  * 	Метод сборки
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All gearman tests');
     $suite->addTestFile(__DIR__ . DS . 'ClientTest.php');
     $suite->addTestFile(__DIR__ . DS . 'WorkerTest.php');
     $suite->addTestFile(__DIR__ . DS . 'ManagerTest.php');
     $suite->addTestFile(__DIR__ . DS . 'Restart' . DS . 'ClientTest.php');
     return $suite;
 }
Esempio n. 11
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All console classes');
     $path = CORE_TEST_CASES . DS . 'Console' . DS;
     $suite->addTestFile($path . 'AllConsoleLibsTest.php');
     $suite->addTestFile($path . 'AllTasksTest.php');
     $suite->addTestFile($path . 'AllShellsTest.php');
     return $suite;
 }
Esempio n. 12
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All console classes');
     $path = CORE_TEST_CASES . DS . 'console' . DS;
     $suite->addTestFile($path . 'all_console_libs.test.php');
     $suite->addTestFile($path . 'all_shells.test.php');
     $suite->addTestFile($path . 'all_tasks.test.php');
     return $suite;
 }
Esempio n. 13
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('TreeBehavior tests');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS . 'TreeBehaviorNumberTest.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS . 'TreeBehaviorScopedTest.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS . 'TreeBehaviorAfterTest.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS . 'TreeBehaviorUuidTest.php');
     return $suite;
 }
Esempio n. 14
0
 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('Baser Blog All Tests');
     $path = dirname(__FILE__) . DS;
     //$suite->addTestFile($path . 'BlogAllControllerTest.php');
     $suite->addTestFile($path . 'BlogAllModelTest.php');
     $suite->addTestFile($path . 'BlogAllHelpersTest.php');
     return $suite;
 }
Esempio n. 15
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All core plugins tests');
     $path = CakePlugin::path('Acl') . 'Test' . DS . 'Case' . DS;
     $suite->addTestFile($path . 'AllAclTestsTest.php');
     $path = CakePlugin::path('Extensions') . DS . 'Test' . DS . 'Case' . DS;
     $suite->addTestFile($path . 'AllExtensionsTestsTest.php');
     return $suite;
 }
Esempio n. 16
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Socket related class tests');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'cake_socket.test.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'http_socket.test.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'http_response.test.php');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'http');
     return $suite;
 }
Esempio n. 17
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Configure, App and ClassRegistry related tests');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'configure.test.php');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'config');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'app.test.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'class_registry.test.php');
     return $suite;
 }
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Parsley tests');
     $path = CakePlugin::path('ParsleyHelper') . 'Test' . DS . 'Case' . DS . 'View' . DS . 'Helper' . DS;
     $suite->addTestFile($path . 'ParsleyFormHelperTest.php');
     if (version_compare(PHP_VERSION, '5.4', '>=')) {
         $suite->addTestFile($path . 'ParsleyFormTraitTest.php');
     }
     return $suite;
 }
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Controller related class tests');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Controller' . DS . 'ControllerTest.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Controller' . DS . 'ScaffoldTest.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Controller' . DS . 'PagesControllerTest.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Controller' . DS . 'ComponentTest.php');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Controller' . DS . 'ControllerMergeVarsTest.php');
     return $suite;
 }
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Attempt Plugin Tests');
     $basePath = CakePlugin::path('Attempt') . 'Test' . DS . 'Case' . DS;
     // controllers
     $suite->addTestFile($basePath . 'Controller' . DS . 'Component' . DS . 'AttemptComponentTest.php');
     // models
     $suite->addTestFile($basePath . 'Model' . DS . 'AttemptTest.php');
     return $suite;
 }
Esempio n. 21
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('System tests');
     $path = dirname(__FILE__) . DS . 'System';
     $suite->addTestFile($path . DS . 'BanchaCrudTest.php');
     $suite->addTestFile($path . DS . 'BanchaDebugExceptionsTest.php');
     $suite->addTestFile($path . DS . 'BanchaExceptionsTest.php');
     $suite->addTestFile($path . DS . 'ConsistentModelTest.php');
     // $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 22
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('Network classes');
     $path = dirname(__FILE__) . DS . 'Network';
     $suite->addTestFile($path . DS . 'BanchaRequestCollectionTest.php');
     $suite->addTestFile($path . DS . 'BanchaRequestTransformerTest.php');
     $suite->addTestFile($path . DS . 'BanchaResponseCollectionTest.php');
     $suite->addTestFile($path . DS . 'BanchaResponseTransformerTest.php');
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 23
0
 /**
  * The cake test suite method, defines all files for the tests.
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All CakePusher plugin tests');
     $base = dirname(__FILE__);
     $suite->addTestFile($base . DS . 'Controller' . DS . 'Component' . DS . 'PusherComponentTest.php');
     return $suite;
 }
Esempio n. 24
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Cache related class tests');
     $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'cache.test.php');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'cache');
     return $suite;
 }
Esempio n. 25
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;
 }
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All NLP Data Source Tests');
     $path = App::pluginPath('ExcludeSimilarDocs') . 'Test' . DS . 'Case' . DS;
     $suite->addTestFile($path . 'Model' . DS . 'ExcludeSimilarDocsTest.php');
     return $suite;
 }
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('Model Behavior and all behaviors');
     $path = CORE_TEST_CASES . DS . 'Model' . DS . 'Behavior' . DS;
     $suite->addTestFile(CORE_TEST_CASES . DS . 'Model' . DS . 'BehaviorCollectionTest.php');
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 28
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('Controller classes');
     $path = dirname(__FILE__) . DS . 'Controller';
     $suite->addTestFile($path . DS . 'BanchaControllerTest.php');
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 29
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('Model Behavior and all behaviors');
     $path = dirname(__FILE__) . DS . 'Model' . DS;
     $suite->addTestFile($path . 'BanchaRemotableBehaviorTest.php');
     $suite->addTestDirectory($path);
     return $suite;
 }
Esempio n. 30
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('Routing classes');
     $path = dirname(__FILE__) . DS . 'Routing';
     $suite->addTestFile($path . DS . 'BanchaDispatcherTest.php');
     $suite->addTestDirectory($path);
     return $suite;
 }