Package org.jboss.arquillian.protocol.osgi

Examples of org.jboss.arquillian.protocol.osgi.OSGiDeploymentPackager


                builder.addBundleManifestVersion(2);
                return builder.openStream();
            }
        });

        Archive<?> result = new OSGiDeploymentPackager().generateDeployment(new TestDeployment(null, archive, new ArrayList<Archive<?>>()),
                new ArrayList<ProtocolArchiveProcessor>());
        assertNotNull("Result archive not null", result);
    }
View Full Code Here


                OSGiManifestBuilder builder = OSGiManifestBuilder.newInstance();
                return builder.openStream();
            }
        });
        try {
            new OSGiDeploymentPackager().generateDeployment(new TestDeployment(null, archive, new ArrayList<Archive<?>>()), new ArrayList<ProtocolArchiveProcessor>());
            fail("RuntimeException expected");
        } catch (RuntimeException ex) {
            // expected
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.protocol.osgi.OSGiDeploymentPackager

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.