Package org.apache.tuscany.sca.contribution.jee.impl

Examples of org.apache.tuscany.sca.contribution.jee.impl.WarContributionProcessor


public class WarContributionProcessorTestCase {
    private static final String WAR_CONTRIBUTION = "/sample-web-app.war";

    @Test
    public void testProcessPackageArtifacts() throws Exception {
        WarContributionProcessor warProcessor = new WarContributionProcessor();

        URL warURL = getClass().getResource(WAR_CONTRIBUTION);
        InputStream warStream = warURL.openStream();
        List<URI> artifacts = null;
        try {
            artifacts = warProcessor.getArtifacts(warURL, warStream);
        } finally {
            IOHelper.closeQuietly(warStream);
        }
       
        Assert.assertNotNull(artifacts);
View Full Code Here


public class WarContributionProcessorTestCase {
    private static final String WAR_CONTRIBUTION = "/sample-web-app.war";

    @Test
    public void testProcessPackageArtifacts() throws Exception {
        WarContributionProcessor warProcessor = new WarContributionProcessor();

        URL warURL = getClass().getResource(WAR_CONTRIBUTION);
        InputStream warStream = warURL.openStream();
        List<URI> artifacts = null;
        try {
            artifacts = warProcessor.getArtifacts(warURL, warStream);
        } finally {
            IOHelper.closeQuietly(warStream);
        }
       
        Assert.assertNotNull(artifacts);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.contribution.jee.impl.WarContributionProcessor

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.