Package net.jsunit

Examples of net.jsunit.PropertiesFileConfiguration.configure()


public class PropertiesConfigurationTest extends TestCase {

    public void testNoFile() throws Exception {
        PropertiesFileConfiguration configuration = new PropertiesFileConfiguration("nosuch.file");
        try {
            configuration.configure(new JsUnitServer());
            fail("Should have through a Runtime because no properties file exists");
        } catch (RuntimeException e) {
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.