Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
605 B

  1. /*
  2. * A command line based tool to run tests.
  3. * TestRunner expects as its only argument the name of a TestCase class.
  4. * TestRunner prints out a trace as the tests are executed followed by a
  5. * summary at the end.
  6. *
  7. * You can add to the tests that the TestRunner knows about by
  8. * making additional calls to "addTest (...)" in main.
  9. *
  10. * Here is the synopsis:
  11. *
  12. * TestRunner [-wait] ExampleTestCase
  13. *
  14. */
  15. #include "TestRunner.h"
  16. TestRunner runner;
  17. void populateRunner(TestRunner&);
  18. int __cdecl main (int ac, char **av)
  19. {
  20. populateRunner(runner);
  21. runner.run (ac, av);
  22. return 0;
  23. }