Пример #1
0
 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');
 }
Пример #2
0
 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');
 }
Пример #3
0
 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');
 }
	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());
	}	
Пример #5
0
 /**
  * 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');
 }
Пример #6
0
 /**
  * CacheGroupTest method
  *
  * @access public
  * @return void
  */
 function CacheGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cache');
     TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'cache');
 }
Пример #7
0
 function tests_tree()
 {
     $this->GroupTest('tree');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/tree');
 }
Пример #8
0
 /**
  * ConsoleGroupTest method
  *
  * @access public
  * @return void
  */
 function ConsoleGroupTest()
 {
     TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'console');
 }
Пример #9
0
 /**
  * LibGroupTest method
  *
  * @access public
  * @return void
  */
 function LibGroupTest()
 {
     TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs');
 }
 function tests_site_objects()
 {
     $this->GroupTest('site objects tests');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/site_objects');
 }
Пример #11
0
 function ModelsGroupTest()
 {
     TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . DS . 'models');
 }
Пример #12
0
 function AllGroupTest()
 {
     TestManager::addTestCasesFromDirectory($this, CAKE_CORE_INCLUDE_PATH . DS . 'app' . DS . 'test' . DS . 'cases');
 }
 function node_links_group()
 {
     $this->GroupTest('nodes links tests');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/node_links/');
 }
 function fetching_group()
 {
     $this->GroupTest('fetch operations');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/fetching');
 }
Пример #15
0
 function BehaviorsGroupTest()
 {
     TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . DS . 'behaviors');
 }
Пример #16
0
 /**
  * AllCoreHelpersGroupTest method
  *
  * @access public
  * @return void
  */
 function DebugKitViewGroupTest()
 {
     $testDir = dirname(dirname(__FILE__));
     TestManager::addTestCasesFromDirectory($this, $testDir . DS . 'cases' . DS . 'views');
 }
Пример #17
0
 function shop_group()
 {
     $this->GroupTest('shop tests');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/shop');
 }
	function actions_group() 
	{
	  $this->GroupTest('actions tests');
	  
 		TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/actions');
	}
 function site_objects_manipulation_group()
 {
     $this->GroupTest('site objects manipulation tests');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/site_objects_manipulation/');
 }
Пример #20
0
	function tests_search() 
	{
	  $this->GroupTest('search tests');
	  
	  TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/full_text_search');
	}
Пример #21
0
 /**
  * HelpersGroupTest method
  *
  * @access public
  * @return void
  */
 function HelpersGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helper');
     TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers');
 }
Пример #22
0
 function __construct()
 {
     TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . DS . 'components');
 }
Пример #23
0
	/**
	 * BehaviorsGroupTest method
	 *
	 * @access public
	 * @return void
	 */
	function BehaviorsGroupTest() {
		TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'behaviors');
	}
 function template_components_group()
 {
     $this->GroupTest('template components tests');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/components');
 }
Пример #25
0
 function tests_sys_params()
 {
     $this->GroupTest('sys params tests');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/sys_params');
 }
 function metadata_group()
 {
     $this->GroupTest('metadata tests');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/metadata');
 }
Пример #27
0
 /**
  * CoreComponentsGroupTest method
  *
  * @access public
  * @return void
  */
 function ComponentsGroupTest()
 {
     TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components');
 }
	function tests_object_access() 
	{
	  $this->GroupTest('object access tests');
	  TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/access');
	}
Пример #29
0
 /**
  * LibControllerGroupTest method
  * 
  * @access public
  * @return void
  */
 function LibControllerGroupTest()
 {
     TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller');
 }
 function controllers_group()
 {
     $this->GroupTest('controllers tests');
     TestManager::addTestCasesFromDirectory($this, LIMB_DIR . '/tests/cases/controllers');
 }