public function test__construct() { $metadata = new ClassMetadata(__NAMESPACE__ . '\\ModelTest'); $metadata->addModel('entity', __NAMESPACE__ . '\\EntityTest'); $metadata->setIdentifier('entity', 'id'); $metadataFactory = $this->getMock('Pok\\PoolDBM\\Mapping\\ClassMetadataFactory', array('getMetadataFor', 'setModelManager')); $metadataFactory->expects($this->any())->method('getMetadataFor')->will($this->returnValue($metadata)); $refl = new \ReflectionClass('Pok\\PoolDBM\\Manager\\BaseManager'); $this->assertTrue($refl->isInstantiable()); $pool = new Pool(); $pool->addManager('entity', new EntityManager()); $manager = new TestManager(__NAMESPACE__ . '\\ModelTest', new ModelManager($pool, $metadataFactory)); $this->assertInstanceOf('Pok\\PoolDBM\\ModelRepository', $manager->getRepository($manager)); $this->assertInstanceOf(__NAMESPACE__ . '\\ModelTest', $manager->create()); $manager->save(new ModelTest()); $manager->save(new ModelTest(), true); try { $manager->save(new \stdClass()); } catch (\RuntimeException $e) { $this->assertEquals('Manager "Pok\\PoolDBM\\Tests\\Manager\\TestManager" is unable to save model "stdClass"', $e->getMessage()); } $manager->clear(); $this->assertInstanceOf(__NAMESPACE__ . '\\ModelTest', $manager->find(null)); $this->assertEquals(1, count($manager->findBy(array()))); $this->assertInstanceOf(__NAMESPACE__ . '\\ModelTest', $manager->findOneBy(array())); $this->assertEquals(1, count($manager->findAll())); }
/** * Sets the proper test suite to use and loads the test file in it. * this method gets called as a callback from the parent class * * @return void */ protected function handleCustomTestSuite() { $manager = new TestManager($this->_params); if (!empty($this->_params['case'])) { $this->arguments['test'] = $manager->getTestSuite(); $this->arguments['test']->setFixtureManager($manager->getFixtureManager()); $manager->loadCase($this->_params['case'] . '.test.php', $this->arguments['test']); } }
/** * AllCoreHelpersGroupTest method * * @access public * @return void */ function AllCoreJavascriptHelpersGroupTest() { $helperTestPath = CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS; TestManager::addTestFile($this, $helperTestPath . 'js.test.php'); TestManager::addTestFile($this, $helperTestPath . 'jquery_engine.test.php'); TestManager::addTestFile($this, $helperTestPath . 'mootools_engine.test.php'); TestManager::addTestFile($this, $helperTestPath . 'prototype_engine.test.php'); }
/** * LibControllerGroupTest method * * @access public * @return void */ function ControllerGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'controller'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'scaffold'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'pages_controller'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'controller_merge_vars'); }
function ModelGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'db_acl'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'datasources' . DS . 'dbo_source'); TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'behaviors'); }
public function ControllersGroupTest() { TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'addresses_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'alerts_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'app_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'app_settings_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'attachments_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'campuses_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'comments_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'covenants_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'dates_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'households_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'invitations_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'involvement_leaders_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'involvements_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'leaders_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'merge_requests_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'ministries_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'ministry_leaders_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'notifications_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'pages_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'payment_options_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'payments_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'reports_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'roles_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'rosters_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'searches_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'sys_emails_controller'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . 'users_controller'); }
/** * Retrieves the singleton instance * @return TestManager the instance */ public static function get_instance() { if (is_null(self::$instance)) { self::$instance = new self(); } return self::$instance; }
public function testBasicQuery() { TestManager::loadBasicDummyData(); $database = new DatabaseManager(); $resource = $database->query("SHOW TABLES"); $this->assertNotEquals(false, $resource); }
/** * ModelGroupTest method * * @access public * @return void */ function DatabaseGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'db_acl'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'schema'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'connection_manager'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'datasources' . DS . 'dbo_source'); }
/** * TestSuiteGroupTest method * * @access public * @return void */ function TestSuiteGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'test_manager'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'code_coverage_manager'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cake_test_case'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cake_test_fixture'); }
function AllCompatibleGroupTest() { $cases = dirname(dirname(__FILE__)) . DS . 'cases' . DS; TestManager::addTestCasesFromDirectory($this, $cases . DS . 'models' . DS . 'behaviors'); TestManager::addTestCasesFromDirectory($this, $cases . DS . 'libs'); TestManager::addTestCasesFromDirectory($this, $cases . DS . 'views' . DS . 'helpers'); }
public function HelpersGroupTest() { TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'helpers' . DS . 'app_helper'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'helpers' . DS . 'formatting'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'helpers' . DS . 'permission'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'helpers' . DS . 'select_options'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'helpers' . DS . 'report'); }
function allGroupTest() { TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . DS . 'models'); TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . DS . 'helpers'); TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . DS . 'controllers'); TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . DS . 'components'); TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . DS . 'behaviors'); }
/** * ModelGroupTest method * * @access public * @return void */ function ModelGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_behavior'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_read'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_write'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_delete'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_integration'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model_validation'); }
function project_check_group() { $this->GroupTest('project tests'); TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/project_check'); SiteObjectsTestManager::addTestCasesWithLoader($this, new project_site_objects_loader()); }
function __destruct() { echo 'sfadsf' . (self::$count = 99); $ret = file_put_contents($this->file_name, json_encode($this->onrow)); if ($ret == false) { throw new Exception("Wrong!", ERROR_CRASH); } echo 'test complete'; }
/** * testRunAllTests method * * @return void * @access public */ function testRunAllTests() { $folder = new Folder($this->Sut->_getTestsPath()); $extension = str_replace('.', '\\.', TestManager::getExtension('test')); $out = $folder->findRecursive('.*' . $extension); $reporter = new CakeHtmlReporter(); $list = TestManager::runAllTests($reporter, true); $this->assertEqual(count($out), count($list)); }
/** * Вызов выполнения метода. Используется из ajax. */ public static function execute($method, array $params) { check_condition(array_key_exists($method, self::getMethodsList()), "Method TestManager::{$method} cannot be called"); PsUtil::startUnlimitedMode(); PsLogger::inst('TestManager')->info("Method TestManager::{$method} called with params: " . array_to_string($params)); $s = Secundomer::startedInst(); call_user_func_array(array(TestManager::inst(), $method), $params); $s->stop(); PsLogger::inst('TestManager')->info("Call done in {$s->getTotalTime()} seconds"); }
public static function setUpBeforeClass() { InterfaceTest::$process = proc_open("java \"-Dwebdriver.chrome.driver=res/chromedriver.exe\" -jar res/selenium-server-standalone-2.48.2.jar", [["pipe", "r"], ["pipe", "w"]], $pipe); if (InterfaceTest::$process === false) { throw new Exception("Failed to start selenium server"); } //loads a verified user 'testuser' with blid '4833' and email 'email@email.com` and password 'asdf' TestManager::loadBasicDummyData(); InterfaceTest::$webDriver = RemoteWebDriver::create("http://localhost:4444/wd/hub", DesiredCapabilities::chrome()); }
/** * AllCoreWithOutDatabaseGroupTest method * * @access public * @return void */ function AllCoreWithOutDatabaseGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'dispatcher'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'router'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'inflector'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'validation'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'session'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'socket'); TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view'); }
/** * NoCrossContaminationGroupTest method * * @access public * @return void */ function NoCrossContaminationGroupTest() { App::import('Core', 'Folder'); $Folder = new Folder(CORE_TEST_CASES); foreach ($Folder->findRecursive('.*\\.test\\.php', true) as $file) { if (in_array(basename($file), $this->blacklist)) { continue; } TestManager::addTestFile($this, $file); } }
function __construct() { $controllers = array('snippets'); foreach ($controllers as $c) { TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'controllers' . DS . $c . '_controller'); } $models = array('snippet', 'command'); foreach ($models as $m) { TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . $m); } }
public static function loadBasicDummyData() { TestManager::clearDatabase(); $database = new DatabaseManager(); UserManager::verifyTable($database); AddonManager::verifyTable($database); BoardManager::verifyTable($database); TagManager::verifyTable($database); GroupManager::verifyTable($database); DependencyManager::verifyTable($database); CommentManager::verifyTable($database); RatingManager::verifyTable($database); BuildManager::verifyTable($database); StatManager::verifyTable($database); ScreenshotManager::verifyTable($database); if (!$database->query("INSERT INTO `addon_boards` (name, video, description) VALUES ('General Content', 'general_content_bg', 'Bricks, Events, Sounds, Prints, Environments, and much more!')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `addon_boards` (name, video, description) VALUES ('Minigames', 'minigames_bg', 'Weapons, Vehicles, Gamemodes, and all your gaming needs!')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `addon_boards` (name, video, description) VALUES ('Client Mods', 'client_mods_bg', 'Mods that run on your client.')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `addon_boards` (name, video, description) VALUES ('Bargain Bin', 'bargain_bin_bg', 'A home for \\'special\\' content.')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `users` (username, blid, password, email, salt, verified) VALUES ('testuser', '4833', '1d8436e97ef95a7a6151f47b909167c77cfe1985ee5500efa8d46cfe825abc59', '*****@*****.**', '273eb4', '1')")) { throw new Exception("Database error: " . $database->error()); } //the default json types likely need to be reworked if (!$database->query("INSERT INTO `addon_addons` (board, blid, name, filename, description, approved, versionInfo, authorInfo, reviewInfo) VALUES ('1', '4833', 'crapy adon', 'sciprt_hax.zip', 'bad addone pls delete', '1', '{}', '[]', '[]')")) { throw new Exception("Database error: " . $database->error()); } StatManager::addStatsToAddon(1); if (!$database->query("INSERT INTO `addon_tags` (name, base_color, icon) VALUES ('dum tag', 'ff6600', 'brokenimage')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `addon_tagmap` (aid, tid) VALUES ('1', '1')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `group_groups` (leader, name, description, color, icon) VALUES ('4833', 'legion of dumies', 'a group for people who just want to be in a group', '00ff00', 'brokenimage')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `group_usermap` (gid, blid, administrator) VALUES ('1', '4833', '1')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `addon_comments` (blid, aid, comment) VALUES ('4833', '1', 'glorious addon comrade')")) { throw new Exception("Database error: " . $database->error()); } if (!$database->query("INSERT INTO `addon_ratings` (blid, aid, rating) VALUES ('4833', '1', '1')")) { throw new Exception("Database error: " . $database->error()); } }
/** * BakeGroupTest method * * @access public * @return void */ function BakeGroupTest() { $path = CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'tasks' . DS; TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'bake'); TestManager::addTestFile($this, $path . 'controller'); TestManager::addTestFile($this, $path . 'model'); TestManager::addTestFile($this, $path . 'view'); TestManager::addTestFile($this, $path . 'fixture'); TestManager::addTestFile($this, $path . 'test'); TestManager::addTestFile($this, $path . 'db_config'); TestManager::addTestFile($this, $path . 'plugin'); TestManager::addTestFile($this, $path . 'project'); }
/** * LibGroupTest method * * @access public * @return void */ function LibGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cake_log'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'class_registry'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'inflector'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'overloadable'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'sanitize'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'security'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'set'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'string'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'validation'); }
function main() { $this->doCoverage = in_array('cov', $this->args); App::import('Lib', 'Ci.JunitReporter'); $this->_startCoverage('Clover Shell'); $Manager = new TestManager(); $Manager->appTest = true; $Manager->pluginTest = null; $Reporter =& new JunitReporter(null, array('app' => $Manager->appTest, 'plugin' => $Manager->pluginTest, 'group' => $this->type === 'group', 'codeCoverage' => false, 'coverage' => $this->_coverage)); $this->out(__('Running app all', true)); $result = $Manager->runAllTests($Reporter); $Manager->appTest = false; $plugins = App::objects('plugin', APP . 'plugins' . DS, false); foreach ($plugins as $plugin) { $Manager->pluginTest = $plugin; $Reporter =& new JunitReporter(null, array('app' => $Manager->appTest, 'plugin' => $Manager->pluginTest, 'group' => $this->type === 'group', 'codeCoverage' => false, 'coverage' => $this->_coverage)); $this->hr(); $plugin = Inflector::underscore($plugin); $this->out(sprintf(__('Running %s all', true), $plugin)); $result = $result && $Manager->runAllTests($Reporter); } $this->_stopCoverage(); return $result; }
/** * LibGroupTest method * * @access public * @return void */ function LibGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'basics'); // TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'inflector'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cake_session'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'debugger'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'error'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'file'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'folder'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cake_log'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'log' . DS . 'file_log'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'class_registry'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'overloadable'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'sanitize'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'security'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'set'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'string'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'validation'); }
function setup() { $ini_file = realpath(dirname(__FILE__) . '/../tests.ini'); if (!file_exists($ini_file)) { trigger_error("Missing configuration file {$ini_file}", E_USER_ERROR); } $config = parse_ini_file($ini_file); foreach ($config as $key => $value) { define($key, $value); } TestManager::_installSimpleTest(); list($version) = file(SIMPLE_TEST . 'VERSION'); $version = trim($version); if (!version_compare('1.0.1alpha', $version, '<')) { echo "At least SimpleTest Version 1.0.1alpha is required."; echo " Yours is {$version}\n"; exit; } }
/** * ConsoleGroupTest method * * @access public * @return void */ function ConsoleGroupTest() { TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'console' . DS . 'cake'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'acl'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'api'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'bake'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'schema'); TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'shell'); $path = CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'tasks' . DS; TestManager::addTestFile($this, $path . 'controller'); TestManager::addTestFile($this, $path . 'db_config'); TestManager::addTestFile($this, $path . 'extract'); TestManager::addTestFile($this, $path . 'fixture'); TestManager::addTestFile($this, $path . 'model'); TestManager::addTestFile($this, $path . 'plugin'); TestManager::addTestFile($this, $path . 'project'); TestManager::addTestFile($this, $path . 'test'); TestManager::addTestFile($this, $path . 'view'); }
public function ModelsGroupTest() { TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'address'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'alert'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'app_model'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'campus'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'comment'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'date'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'group'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'household'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'image'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'invitation'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'involvement'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'ministry'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'profile'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'role'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'roster'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'school'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'sys_email'); TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'models' . DS . 'user'); }