Package org.papoose.core.mock

Examples of org.papoose.core.mock.MockArchiveStore


        packages.add("com.acme");

        ExportDescription description = new ExportDescription(packages, Collections.<String, Object>emptyMap());

        BundleController mockBundleController = new BundleController(mockFramework, new MockBundleStore(1, "mock:location"));
        Wire test = new Wire("com.acme", description, new BundleGeneration(mockBundleController, new MockArchiveStore()));

        Assert.assertTrue(test.validFor("com/acme/Dynamite.class"));
        Assert.assertFalse(test.validFor("com/acme/oops/Dynamite.class"));
        Assert.assertTrue(test.validFor("com/acme/Anvil.class"));
View Full Code Here

TOP

Related Classes of org.papoose.core.mock.MockArchiveStore

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.