Examples of execAndCheck()


Examples of org.broadinstitute.gatk.utils.runtime.ProcessController.execAndCheck()

    @Test(dataProvider = "ExtensionsTest")
    public void testExtensions(final CatVariantsTestProvider cfg) throws IOException {

        ProcessController pc = ProcessController.getThreadLocal();
        ProcessSettings ps = new ProcessSettings(cfg.getCmdLine().split("\\s+"));
        pc.execAndCheck(ps);

        MD5DB.MD5Match result = md5db.testFileMD5("testExtensions", "CatVariantsTestProvider", cfg.outputFile, cfg.md5, false);
        if(result.failed) {
            final MD5Mismatch failure = new MD5Mismatch(result.actualMD5, result.expectedMD5, result.diffEngineOutput);
            Assert.fail(failure.toString());
View Full Code Here

Examples of org.broadinstitute.gatk.utils.runtime.ProcessController.execAndCheck()

                CatVariantsVcf2,
                BaseTest.createTempFile("CatVariantsTest", ".bcf"));

        ProcessController pc = ProcessController.getThreadLocal();
        ProcessSettings ps = new ProcessSettings(cmdLine.split("\\s+"));
        pc.execAndCheck(ps);
    }

    @Test(expectedExceptions = IOException.class)
    public void testMismatchedExtensions2() throws IOException {
View Full Code Here

Examples of org.broadinstitute.gatk.utils.runtime.ProcessController.execAndCheck()

                CatVariantsBcf2,
                BaseTest.createTempFile("CatVariantsTest", ".vcf"));

        ProcessController pc = ProcessController.getThreadLocal();
        ProcessSettings ps = new ProcessSettings(cmdLine.split("\\s+"));
        pc.execAndCheck(ps);
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.