Package fi.jumi.launcher.daemon

Examples of fi.jumi.launcher.daemon.EmbeddedDaemonJar


    }

    @Test
    @NonParameterized
    public void embedded_daemon_jar_is_exactly_the_same_as_the_published_daemon_jar() throws IOException {
        EmbeddedDaemonJar embeddedJar = new EmbeddedDaemonJar();
        Path publishedJar = TestEnvironment.ARTIFACTS.getProjectJar("jumi-daemon").toPath();

        try (InputStream in1 = embeddedJar.getDaemonJarAsStream();
             InputStream in2 = Files.newInputStream(publishedJar)) {

            assertTrue("the embedded daemon JAR was not equal to " + publishedJar,
                    ByteStreams.equal(asSupplier(in1), asSupplier(in2)));
        }
View Full Code Here

TOP

Related Classes of fi.jumi.launcher.daemon.EmbeddedDaemonJar

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.