Ejemplo n.º 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');
 }
Ejemplo n.º 2
0
	/**
	 * 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');
	}
Ejemplo n.º 3
0
 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');
 }
Ejemplo n.º 4
0
 /**
  * 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');
 }
Ejemplo n.º 5
0
 /**
  * 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');
 }
Ejemplo n.º 6
0
	/**
	 * 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');
	}
Ejemplo n.º 7
0
 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');
 }
Ejemplo n.º 8
0
	/**
	 * 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');
	}
Ejemplo n.º 9
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');
 }
 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);
     }
 }
 /**
  * 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);
     }
 }
Ejemplo n.º 12
0
	/**
	 * 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');
	}
Ejemplo n.º 13
0
 /**
  * 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');
 }
Ejemplo n.º 14
0
	/**
	 * 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');
	}
Ejemplo n.º 15
0
 /**
  * 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');
 }
Ejemplo n.º 16
0
 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');
 }
Ejemplo n.º 17
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');
 }
Ejemplo n.º 18
0
 /**
  * LibGroupTest method
  *
  * @access public
  * @return void
  */
 function i18nGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'i18n');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'l10n');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'multibyte');
 }
Ejemplo n.º 19
0
 /**
  * XmlGroupTest method
  *
  * @access public
  * @return void
  */
 function XmlGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'xml');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS . 'rss');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS . 'xml');
 }
Ejemplo n.º 20
0
 /**
  * ConfigureGroupTest method
  *
  * @access public
  * @return void
  */
 function ConfigureGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'configure');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'class_registry');
 }
 function AllValidationGroupTest()
 {
     TestManager::addTestFile($this, dirname(__FILE__) . DS . '..' . DS . 'cases' . DS . 'vendors' . DS . 'media_validation');
     TestManager::addTestFile($this, dirname(__FILE__) . DS . '..' . DS . 'cases' . DS . 'vendors' . DS . 'transfer_validation');
 }
Ejemplo n.º 22
0
 /**
  * AclAndAuthGroupTest method
  *
  * @access public
  * @return void
  */
 function AclAndAuthGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'db_acl');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components' . DS . 'acl');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components' . DS . 'auth');
 }
Ejemplo n.º 23
0
 /**
  * AllCoreViewsGroupTest method
  * 
  * @access public
  * @return void
  */
 function AllCoreViewsGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'view');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'theme');
 }
Ejemplo n.º 24
0
 public function BehaviorsGroupTest()
 {
     TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'behaviors' . DS . 'confirm');
 }
Ejemplo n.º 25
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');
 }
Ejemplo n.º 26
0
 public function LibsGroupTest()
 {
     TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'libs' . DS . 'core');
     TestManager::addTestFile($this, APP . 'tests' . DS . 'cases' . DS . 'libs' . DS . 'core_test_case');
 }
Ejemplo n.º 27
0
 /**
  * RoutingSystemGroupTest method
  *
  * @access public
  * @return void
  */
 function RoutingSystemGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'dispatcher');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'router');
 }
Ejemplo n.º 28
0
 function FondoGroupTest()
 {
     TestManager::addTestFile($this, APP_TEST_CASES . DS . 'models' . DS . 'z_fondo_work');
     TestManager::addTestFile($this, APP_TEST_CASES . DS . 'models' . DS . 'fondos_lineas_de_accion');
     TestManager::addTestFile($this, APP_TEST_CASES . DS . 'models' . DS . 'fondo_temporal');
 }
Ejemplo n.º 29
0
 /**
  * SocketGroupTest method
  *
  * @access public
  * @return void
  */
 function SocketGroupTest()
 {
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'socket');
     TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'http_socket');
 }
Ejemplo n.º 30
0
 function PlandinstitGroupTest()
 {
     TestManager::addTestFile($this, APP_TEST_CASES . DS . 'models' . DS . 'instit');
     TestManager::addTestFile($this, APP_TEST_CASES . DS . 'models' . DS . 'plan');
     TestManager::addTestFile($this, APP_TEST_CASES . DS . 'models' . DS . 'titulo');
 }