Examples of InstrumentationConfig


Examples of com.atlassian.clover.instr.java.InstrumentationConfig

            getLog().info("Generation of Clover Groovy configuration is disabled. No Groovy instrumentation will occur.");
            return;
        }

        // create the groovy config for Clover's ASTTransformer
        InstrumentationConfig config = new InstrumentationConfig();
        config.setProjectName(this.getProject().getName());
        config.setInitstring(this.resolveCloverDatabase());
        config.setTmpDir(outDir);

        final List includeFiles = calcIncludedFiles();
        getLog().debug("Clover including the following files for Groovy instrumentation: " + includeFiles);
        config.setIncludedFiles(includeFiles);
        config.setEnabled(true);
        config.setEncoding(getEncoding());
        //Don't pass in an instance of DistributedCoverage because it can't be deserialised
        //by Grover (ClassNotFoundException within the groovyc compiler)
        config.setDistributedConfig(getDistributedCoverage() == null ? null : new DistributedConfig(getDistributedCoverage().getConfigString()));


        try
        {
            File groverJar = GroovycSupport.extractGroverJar(this.groverJar, false);
View Full Code Here

Examples of com.atlassian.clover.instr.java.InstrumentationConfig

    }

    private void injectGrover(File outDir)
    {
        // create the groovy config for Clover's ASTTransformer
        InstrumentationConfig config = new InstrumentationConfig();
        config.setProjectName(this.getProject().getName());
        config.setInitstring(this.resolveCloverDatabase());
        config.setTmpDir(outDir);

        final List includeFiles = calcIncludedFiles();
        getLog().debug("Clover including the following files for Groovy instrumentation: " + includeFiles);
        config.setIncludedFiles(includeFiles);
        config.setEnabled(true);
        config.setEncoding(this.getEncoding());
        config.setDistributedConfig(this.getDistributedCoverage());


        try
        {
            File groverJar = GroovycSupport.extractGroverJar(false);
View Full Code Here

Examples of com.atlassian.clover.instr.java.InstrumentationConfig

    }

    private void injectGrover(File outDir)
    {
        // create the groovy config for Clover's ASTTransformer
        InstrumentationConfig config = new InstrumentationConfig();
        config.setProjectName(this.getProject().getName());
        config.setInitstring(this.resolveCloverDatabase());
        config.setTmpDir(outDir);

        final List includeFiles = calcIncludedFiles();
        getLog().debug("Clover including the following files for Groovy instrumentation: " + includeFiles);
        config.setIncludedFiles(includeFiles);
        config.setEnabled(true);
        config.setEncoding(this.getEncoding());
        config.setDistributedConfig(this.getDistributedCoverage());


        try
        {
            File groverJar = GroovycSupport.extractGroverJar(false);
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.