AllToolsTest.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * Tools Plugin - All plugin tests
  4. */
  5. class AllToolsTest extends PHPUnit_Framework_TestSuite {
  6. /**
  7. * Suite method, defines tests for this suite.
  8. *
  9. * @return void
  10. */
  11. public static function suite() {
  12. $Suite = new CakeTestSuite('All Tools tests');
  13. $path = dirname(__FILE__);
  14. $Suite->addTestDirectory($path . DS . 'Lib');
  15. $path = dirname(__FILE__);
  16. $Suite->addTestDirectory($path . DS . 'Lib' . DS . 'Utility');
  17. $path = dirname(__FILE__);
  18. $Suite->addTestDirectory($path . DS . 'View' . DS . 'Helper');
  19. $path = dirname(__FILE__);
  20. $Suite->addTestDirectory($path . DS . 'Model');
  21. $path = dirname(__FILE__);
  22. $Suite->addTestDirectory($path . DS . 'Model' . DS . 'Behavior');
  23. $path = dirname(__FILE__);
  24. $Suite->addTestDirectory($path . DS . 'Console' . DS . 'Command');
  25. $path = dirname(__FILE__);
  26. $Suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component');
  27. $path = dirname(__FILE__);
  28. $Suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component' . DS . 'Auth');
  29. //$path = CakePlugin::path('Tools') . 'Test' . DS . 'Case' . DS;
  30. //$Suite->addTestDirectoryRecursive($path);
  31. return $Suite;
  32. }
  33. }