PageRenderTime 61ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/cake/tests/groups/model.group.php

https://github.com/hardsshah/bookmarks
PHP | 58 lines | 12 code | 0 blank | 46 comment | 0 complexity | 23db4c88f19a7558d7818cb9447a0588 MD5 | raw file
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * ModelGroupTest file
  5. *
  6. * Long description for file
  7. *
  8. * PHP versions 4 and 5
  9. *
  10. * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
  11. * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
  12. *
  13. * Licensed under The Open Group Test Suite License
  14. * Redistributions of files must retain the above copyright notice.
  15. *
  16. * @filesource
  17. * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
  18. * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
  19. * @package cake
  20. * @subpackage cake.tests.groups
  21. * @since CakePHP(tm) v 1.2.0.5517
  22. * @version $Revision$
  23. * @modifiedby $LastChangedBy$
  24. * @lastmodified $Date$
  25. * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
  26. */
  27. /**
  28. * ModelGroupTest class
  29. *
  30. * This test group will run all model-layer and related tests, (behaviors, etc.) excluding
  31. * database driver-specific tests
  32. *
  33. * @package cake
  34. * @subpackage cake.tests.groups
  35. */
  36. class ModelGroupTest extends GroupTest {
  37. /**
  38. * label property
  39. *
  40. * @var string 'All model tests'
  41. * @access public
  42. */
  43. var $label = 'Model, all Behaviors and Datasources';
  44. /**
  45. * ModelGroupTest method
  46. *
  47. * @access public
  48. * @return void
  49. */
  50. function ModelGroupTest() {
  51. TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'model');
  52. TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'db_acl');
  53. TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'schema');
  54. TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'datasources' . DS . 'dbo_source');
  55. TestManager::addTestCasesFromDirectory($this, CORE_TEST_CASES . DS . 'libs' . DS . 'model' . DS . 'behaviors');
  56. }
  57. }
  58. ?>