Package org.apache.karaf.features.internal.support

Examples of org.apache.karaf.features.internal.support.TestDownloadManager


    @Test
    public void testUpdateServiceBundle() throws Exception {

        String dataDir = "data1";

        TestDownloadManager manager = new TestDownloadManager(getClass(), dataDir);

        RepositoryImpl repo = new RepositoryImpl(getClass().getResource(dataDir + "/features.xml").toURI());
        repo.load(true);
        Feature f1 = repo.getFeatures()[0];
View Full Code Here


    @Test
    public void testPrerequisite() throws Exception {

        String dataDir = "data2";

        TestDownloadManager manager = new TestDownloadManager(getClass(), dataDir);

        RepositoryImpl repo = new RepositoryImpl(getClass().getResource(dataDir + "/features.xml").toURI());
        repo.load(true);
        Feature f1 = repo.getFeatures()[0];
        Feature f2 = repo.getFeatures()[1];
View Full Code Here

TOP

Related Classes of org.apache.karaf.features.internal.support.TestDownloadManager

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.