unit_tests.php 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. // $Id: unit_tests.php 1748 2008-04-14 01:50:41Z lastcraft $
  3. require_once(dirname(__FILE__) . '/../autorun.php');
  4. require_once(dirname(__FILE__) . '/../unit_tester.php');
  5. require_once(dirname(__FILE__) . '/../shell_tester.php');
  6. require_once(dirname(__FILE__) . '/../mock_objects.php');
  7. require_once(dirname(__FILE__) . '/../web_tester.php');
  8. require_once(dirname(__FILE__) . '/../extensions/pear_test_case.php');
  9. class UnitTests extends TestSuite {
  10. function UnitTests() {
  11. $this->TestSuite('Unit tests');
  12. $path = dirname(__FILE__);
  13. $this->addFile($path . '/errors_test.php');
  14. $this->addFile($path . '/exceptions_test.php');
  15. $this->addFile($path . '/autorun_test.php');
  16. $this->addFile($path . '/compatibility_test.php');
  17. $this->addFile($path . '/simpletest_test.php');
  18. $this->addFile($path . '/dumper_test.php');
  19. $this->addFile($path . '/expectation_test.php');
  20. $this->addFile($path . '/unit_tester_test.php');
  21. $this->addFile($path . '/reflection_php5_test.php');
  22. $this->addFile($path . '/mock_objects_test.php');
  23. $this->addFile($path . '/interfaces_test.php');
  24. $this->addFile($path . '/collector_test.php');
  25. $this->addFile($path . '/adapter_test.php');
  26. $this->addFile($path . '/socket_test.php');
  27. $this->addFile($path . '/encoding_test.php');
  28. $this->addFile($path . '/url_test.php');
  29. $this->addFile($path . '/cookies_test.php');
  30. $this->addFile($path . '/http_test.php');
  31. $this->addFile($path . '/authentication_test.php');
  32. $this->addFile($path . '/user_agent_test.php');
  33. $this->addFile($path . '/parser_test.php');
  34. $this->addFile($path . '/tag_test.php');
  35. $this->addFile($path . '/form_test.php');
  36. $this->addFile($path . '/page_test.php');
  37. $this->addFile($path . '/frames_test.php');
  38. $this->addFile($path . '/browser_test.php');
  39. $this->addFile($path . '/web_tester_test.php');
  40. $this->addFile($path . '/shell_tester_test.php');
  41. $this->addFile($path . '/xml_test.php');
  42. $this->addFile($path . '/../extensions/testdox/test.php');
  43. }
  44. }
  45. ?>