Package fi.jumi.core.util

Examples of fi.jumi.core.util.BlacklistClassLoader


        assertThat(driver.getClass().getName(), is(JUnitCompatibilityDriver.class.getName()));
    }

    @Test
    public void does_not_support_JUnit_tests_if_JUnit_not_on_test_classpath() {
        BlacklistClassLoader noJUnitInThisClassLoader = new BlacklistClassLoader("org.junit.", getClass().getClassLoader());
        CompositeDriverFinder finder = DriverFinderFactory.createDriverFinder(noJUnitInThisClassLoader, new PrintStream(logOutput));

        Driver driver = finder.findTestClassDriver(JUnitTest.class);

        assertThat(driver, is(instanceOf(IgnoreSilentlyDriver.class)));
View Full Code Here

TOP

Related Classes of fi.jumi.core.util.BlacklistClassLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.