コード例 #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;
 }
コード例 #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;
 }
コード例 #3
0
 public static function suite()
 {
     $suite = new CakeTestSuite('All Auditable Tests');
     $suite->addTestDirectory(__DIR__ . '/Model');
     $suite->addTestDirectory(__DIR__ . '/Model/Behavior');
     return $suite;
 }
コード例 #4
0
ファイル: MailAllModelTest.php プロジェクト: kenz/basercms
 /**
  * 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;
 }
コード例 #5
0
ファイル: AllCacheTest.php プロジェクト: mrbadao/api-official
 /**
  * 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;
 }
コード例 #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;
 }
コード例 #7
0
ファイル: AllEipTest.php プロジェクト: jammy-git/CakePHP-Eip
 /**
  * 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;
 }
コード例 #8
0
ファイル: AllLibsTest.php プロジェクト: laiello/plankonindia
 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;
 }
コード例 #9
0
ファイル: AllUsersTestsTest.php プロジェクト: dlpc/CakeWX
 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;
 }
コード例 #10
0
ファイル: AllTest.php プロジェクト: indirasam/aquitemmata
 public static function suite()
 {
     $suite = new CakeTestSuite('All tests');
     $dir = dirname(__FILE__);
     $suite->addTestDirectory($dir . DS . 'Behavior');
     $suite->addTestDirectory($dir . DS . 'Datasource');
     return $suite;
 }
コード例 #11
0
ファイル: MailAllModelTest.php プロジェクト: naow9y/basercms
 /**
  * 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;
 }
コード例 #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;
 }
コード例 #13
0
ファイル: AllLocaleTest.php プロジェクト: radig/locale
 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;
 }
コード例 #14
0
ファイル: AllSearchTest.php プロジェクト: jxav/search
 /**
  * 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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #18
0
ファイル: AllCategoriesTest.php プロジェクト: jxav/categories
 /**
  * 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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #22
0
 /**
  * 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;
 }
コード例 #23
0
ファイル: AllComponentsTest.php プロジェクト: Nervie/Beta
 /**
  * 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;
 }
コード例 #24
0
ファイル: AllRecaptchaTest.php プロジェクト: cakedc/recaptcha
 /**
  * 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;
 }
コード例 #25
0
ファイル: AllTagsTest.php プロジェクト: tnoi/tags
 /**
  * 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;
 }
コード例 #26
0
ファイル: AllUsersTest.php プロジェクト: harpax/users
 /**
  * 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;
 }
コード例 #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;
 }
コード例 #28
0
ファイル: AllFtpTest.php プロジェクト: fotografde/cakephp-ftp
 /**
  * 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;
 }
コード例 #29
0
ファイル: AllI18nTest.php プロジェクト: omnuvito/i18n
 /**
  * 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;
 }
コード例 #30
0
 /**
  * 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;
 }