1. package junit.runner;
  2. /**
  3. * The standard test suite loader. It can only load the same class once.
  4. */
  5. public class StandardTestSuiteLoader implements TestSuiteLoader {
  6. /**
  7. * Uses the system class loader to load the test class
  8. */
  9. public Class load(String suiteClassName) throws ClassNotFoundException {
  10. return Class.forName(suiteClassName);
  11. }
  12. /**
  13. * Uses the system class loader to load the test class
  14. */
  15. public Class reload(Class aClass) throws ClassNotFoundException {
  16. return aClass;
  17. }
  18. }