Exemplo n.º 1
0
 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Helper tests');
     $suite->addTestDirectory(__DIR__ . DS . 'Controller' . DS);
     $suite->addTestDirectory(__DIR__ . DS . 'Controller' . DS . 'Component' . DS);
     return $suite;
 }
Exemplo n.º 2
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All tests');
     $suite->addTestDirectory(TESTS . 'Case' . DS . 'Model');
     $suite->addTestDirectory(TESTS . 'Case' . DS . 'Controller');
     return $suite;
 }
Exemplo n.º 3
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All Auditable Tests');
     $suite->addTestDirectory(__DIR__ . '/Model');
     $suite->addTestDirectory(__DIR__ . '/Model/Behavior');
     return $suite;
 }
Exemplo n.º 4
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;
 }
Exemplo n.º 5
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;
 }
Exemplo n.º 6
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Plugin tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'View' . DS . 'Helper');
     $Suite->addTestDirectory($path . DS . 'Lib' . DS . 'Parser');
     return $Suite;
 }
Exemplo n.º 7
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Eip plugin tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component');
     $Suite->addTestDirectory($path . DS . 'View' . DS . 'Helper');
     return $Suite;
 }
Exemplo n.º 8
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All lib tests');
     $path = APP . 'Test' . DS . 'Case' . DS . 'Lib' . DS;
     $suite->addTestDirectory($path);
     $suite->addTestDirectory($path . 'Configure');
     return $suite;
 }
Exemplo n.º 9
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All Users plugin tests');
     $path = CakePlugin::path('Users') . DS . 'Test' . DS . 'Case' . DS;
     $suite->addTestDirectory($path . 'Controller');
     $suite->addTestDirectory($path . 'Model');
     return $suite;
 }
Exemplo n.º 10
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All tests');
     $dir = dirname(__FILE__);
     $suite->addTestDirectory($dir . DS . 'Behavior');
     $suite->addTestDirectory($dir . DS . 'Datasource');
     return $suite;
 }
Exemplo n.º 11
0
 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Helper tests');
     $path = dirname(__FILE__) . DS;
     $suite->addTestDirectory($path . 'Model' . DS);
     $suite->addTestDirectory($path . 'Model' . DS . 'Behavior' . DS);
     return $suite;
 }
Exemplo n.º 12
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Routing class tests');
     $libs = CORE_TEST_CASES . DS;
     $suite->addTestDirectory($libs . 'Routing');
     $suite->addTestDirectory($libs . 'Routing' . DS . 'Route');
     return $suite;
 }
Exemplo n.º 13
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All Locale Tests');
     $suite->addTestDirectory(__DIR__ . '/Lib');
     $suite->addTestDirectory(__DIR__ . '/Model/Behavior');
     $suite->addTestDirectory(__DIR__ . '/View/Helper');
     return $suite;
 }
Exemplo n.º 14
0
 /**
  * Compile test suite with all tests
  *
  * @return CakeTestSuite The compiled test suite.
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Plugin tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component');
     $Suite->addTestDirectory($path . DS . 'Model' . DS . 'Behavior');
     return $Suite;
 }
Exemplo n.º 15
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Network related class tests');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Network');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Network' . DS . 'Email');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Network' . DS . 'Http');
     return $suite;
 }
Exemplo n.º 16
0
 /**
  * Suite define the tests for this suite
  *
  * @return CakeTestSuite
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Helper tests');
     $path = dirname(__FILE__) . DS;
     $suite->addTestDirectory($path . 'Controller' . DS);
     $suite->addTestDirectory($path . 'Controller' . DS . 'Component' . DS);
     return $suite;
 }
Exemplo n.º 17
0
 /**
  * Compile test suite with all tests
  *
  * @return CakeTestSuite The compiled test suite.
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Html Purifier Plugin Tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Model' . DS . 'Behavior');
     $Suite->addTestDirectory($path . DS . 'View' . DS . 'Helper');
     return $Suite;
 }
Exemplo n.º 18
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Categories tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Controller');
     $Suite->addTestDirectory($path . DS . 'Model');
     return $Suite;
 }
Exemplo n.º 19
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All model tests');
     $suite->addTestDirectory(__DIR__ . DS . 'Lib');
     $suite->addTestDirectory(__DIR__ . DS . 'Console' . DS . 'Command');
     $suite->addTestDirectory(__DIR__ . DS . 'Config');
     return $suite;
 }
Exemplo n.º 20
0
 public static function suite()
 {
     $testsDir = CakePlugin::path('Media') . 'Test' . DS;
     $suite = new CakeTestSuite('All media plugin tests');
     $suite->addTestDirectory($testsDir . 'Case' . DS . 'Lib');
     $suite->addTestDirectory($testsDir . 'Case' . DS . 'Model' . DS . 'Behavior');
     return $suite;
 }
Exemplo n.º 21
0
 /**
  * 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');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components' . DS . 'auth');
     return $suite;
 }
 /**
  * Defines tests for this suite
  *
  * @return CakeTestSuite The test suite.
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All DatabaseLog tests');
     $path = dirname(__FILE__) . DS;
     $suite->addTestDirectory($path . 'Lib' . DS . 'Log' . DS . 'Engine');
     $suite->addTestDirectory($path . 'Model');
     $suite->addTestDirectory($path . 'Controller');
     return $suite;
 }
Exemplo n.º 23
0
 /**
  * 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->addTestDirectory(CORE_TEST_CASES . DS . 'Controller' . DS . 'Component');
     $suite->addTestDirectory(CORE_TEST_CASES . DS . 'Controller' . DS . 'Component' . DS . 'Auth');
     return $suite;
 }
Exemplo n.º 24
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Recaptcha Plugin tests');
     $basePath = CakePlugin::path('Recaptcha') . DS . 'Test' . DS . 'Case' . DS;
     $Suite->addTestDirectory($basePath . DS . 'View' . DS . 'Helper');
     $Suite->addTestDirectory($basePath . DS . 'Model' . DS . 'Behavior');
     $Suite->addTestDirectory($basePath . DS . 'Controller' . DS . 'Component');
     return $Suite;
 }
Exemplo n.º 25
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $path = CakePlugin::path('Tags') . DS . 'Test' . DS . 'Case' . DS;
     $Suite = new CakeTestSuite('All Tags Plugin Tests');
     $Suite->addTestDirectory($path . DS . 'Controller');
     $Suite->addTestDirectory($path . DS . 'View' . DS . 'Helper');
     $Suite->addTestDirectory($path . DS . 'Model');
     $Suite->addTestDirectory($path . DS . 'Model' . DS . 'Behavior');
     return $Suite;
 }
Exemplo n.º 26
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Users Plugin tests');
     $basePath = CakePlugin::path('Users') . DS . 'Test' . DS . 'Case' . DS;
     $Suite->addTestDirectory($basePath . DS . 'Controller');
     $Suite->addTestDirectory($basePath . DS . 'Controller' . DS . 'Component');
     $Suite->addTestDirectory($basePath . DS . 'Controller' . DS . 'Component' . DS . 'Auth');
     $Suite->addTestDirectory($basePath . DS . 'Model');
     return $Suite;
 }
Exemplo n.º 27
0
 /**
  * suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $suite = new CakeTestSuite('All Model related class tests');
     $suite->addTestDirectory(__DIR__ . DS . 'Controller' . DS);
     $suite->addTestDirectory(__DIR__ . DS . 'Controller' . DS . 'Component' . DS);
     $suite->addTestDirectory(__DIR__ . DS . 'Model' . DS);
     $suite->addTestDirectory(__DIR__ . DS . 'Model' . DS . 'Behavior' . DS);
     $suite->addTestDirectory(__DIR__ . DS . 'View' . DS . 'Helper' . DS);
     return $suite;
 }
Exemplo n.º 28
0
 /**
  * Suite method, defines tests for this suite.
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All Ftp tests');
     $path = dirname(__FILE__);
     $Suite->addTestDirectory($path . DS . 'Controller');
     $Suite->addTestDirectory($path . DS . 'Model');
     $Suite->addTestDirectory($path . DS . 'View' . DS . 'Helper');
     $Suite->addTestDirectory($path . DS . 'Model' . DS . 'Datasource');
     return $Suite;
 }
Exemplo n.º 29
0
 /**
  * Suite define the tests for this suite
  *
  * @return void
  */
 public static function suite()
 {
     $Suite = new CakeTestSuite('All I18n Plugin tests');
     $basePath = CakePlugin::path('I18n') . DS . 'Test' . DS . 'Case' . DS;
     $Suite->addTestDirectory($basePath . DS . 'Lib');
     $Suite->addTestDirectory($basePath . DS . 'Controller');
     $Suite->addTestDirectory($basePath . DS . 'Model');
     $Suite->addTestDirectory($basePath . DS . 'Model' . DS . 'Behavior');
     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;
 }