001    package junit.runner;
002    
003    /**
004     * The standard test suite loader. It can only load the same class once.
005     */
006    public class StandardTestSuiteLoader implements TestSuiteLoader {
007            /**
008             * Uses the system class loader to load the test class
009             */
010            public Class load(String suiteClassName) throws ClassNotFoundException {
011                    return Class.forName(suiteClassName);
012            }
013            /**
014             * Uses the system class loader to load the test class
015             */
016            public Class reload(Class aClass) throws ClassNotFoundException {
017                    return aClass;
018            }
019    }