Package org.apache.felix.karaf.features.internal

Examples of org.apache.felix.karaf.features.internal.RepositoryImpl.load()


   
    public void testShowWrongUriInException() throws Exception {
        String uri = "src/test/resources/org/apache/felix/karaf/shell/features/repo1.xml";
        RepositoryImpl r = new RepositoryImpl(new URI(uri));
        try {
            r.load();
        } catch (Exception e) {
            assertTrue(e.getMessage().contains(uri));
        }
    }
}
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.