Package org.eluder.coveralls.maven.plugin.source

Examples of org.eluder.coveralls.maven.plugin.source.SourceLoader


       
        try {
            createEnvironment().setup();
            Job job = createJob();
            job.validate().throwOrInform(getLog());
            SourceLoader sourceLoader = createSourceLoader(job);
            List<CoverageParser> parsers = createCoverageParsers(sourceLoader);
            JsonWriter writer = createJsonWriter(job);
            CoverallsClient client = createCoverallsClient();
            List<Logger> reporters = new ArrayList<Logger>();
            reporters.add(new JobLogger(job));
View Full Code Here


        when(m2.getCompileSourceRoots()).thenReturn(Arrays.asList(m2Sources.getAbsolutePath()));
    }
   
    @Test
    public void testCreateSourceLoader() throws Exception {
        SourceLoader sourceLoader = createSourceLoaderFactory("UTF-8").createSourceLoader();
        assertNotNull(sourceLoader);
    }
View Full Code Here

   
    @Test
    public void testCreateSourceLoaderWithAdditionalSourceDirectories() throws Exception {
        File s1 = new File(folder.getRoot(), "s1");
        File s2 = folder.newFolder("s2");
        SourceLoader sourceLoader = createSourceLoaderFactory("UTF-8")
                .withSourceDirectories(Arrays.asList(s1, s2))
                .createSourceLoader();
        assertNotNull(sourceLoader);
    }
View Full Code Here

TOP

Related Classes of org.eluder.coveralls.maven.plugin.source.SourceLoader

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.