Package junit.runner

Class StandardTestSuiteLoader

  • All Implemented Interfaces:
    TestSuiteLoader

    public class StandardTestSuiteLoader
    extends java.lang.Object
    implements TestSuiteLoader
    The standard test suite loader. It can only load the same class once.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class load​(java.lang.String suiteClassName)
      Uses the system class loader to load the test class
      java.lang.Class reload​(java.lang.Class aClass)
      Uses the system class loader to load the test class
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StandardTestSuiteLoader

        public StandardTestSuiteLoader()
    • Method Detail

      • load

        public java.lang.Class load​(java.lang.String suiteClassName)
                             throws java.lang.ClassNotFoundException
        Uses the system class loader to load the test class
        Specified by:
        load in interface TestSuiteLoader
        Throws:
        java.lang.ClassNotFoundException
      • reload

        public java.lang.Class reload​(java.lang.Class aClass)
                               throws java.lang.ClassNotFoundException
        Uses the system class loader to load the test class
        Specified by:
        reload in interface TestSuiteLoader
        Throws:
        java.lang.ClassNotFoundException