Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for jacocoAgent (0.3 sec)

  1. platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/JacocoAgentJar.java

            this.agentConf = agentConf;
        }
    
        /**
         * Unzips the resolved {@code org.jacoco.agent.jar} to retrieve the {@code jacocoagent.jar}.
         *
         * @return a file pointing to the {@code jacocoagent.jar}
         */
        public File getJar() {
            if (agentJar == null) {
                agentJar = fileOperations.zipTree(getAgentConf().getSingleFile()).filter(new Spec<File>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/PluginConfigurationAttributesIntegrationTest.groovy

            where:
            plugin       | configuration
            'antlr'      | 'antlr'
            'codenarc'   | 'codenarc'
            'jacoco'     | 'jacocoAgent'
            'jacoco'     | 'jacocoAnt'
            'pmd'        | 'pmd'
            'checkstyle' | 'checkstyle'
            'scala'      | 'zinc'
            'war'        | 'providedRuntime'
            'war'        | 'providedCompile'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPluginExtension.java

                    }
                    fs.delete(spec -> spec.delete(coverageFile));
                }
            }
        }
    
        private static class JacocoAgent implements CommandLineArgumentProvider, Named {
    
            private final JacocoTaskExtension jacoco;
    
            public JacocoAgent(JacocoTaskExtension jacoco) {
                this.jacoco = jacoco;
            }
    
            @Nullable
            @Optional
            @Nested
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginIntegrationTest.groovy

            buildFile << """
                dependencies {
                    //downgrade version:
                    jacocoAgent "org.jacoco:org.jacoco.agent:0.6.0.201210061924"
                    jacocoAnt "org.jacoco:org.jacoco.ant:0.6.0.201210061924"
                }
            """
    
            succeeds("dependencies", "--configuration", "jacocoAgent")
            then:
            output.contains "org.jacoco:org.jacoco.agent:0.6.0.201210061924"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/test/groovy/org/gradle/testing/jacoco/plugins/JacocoTaskExtensionSpec.groovy

            expect:
            extension.asJvmArg == "-javaagent:${agent.jar.absolutePath}=append=true,inclnolocationclasses=false,dumponexit=true,output=file,jmx=false"
        }
    
        def 'supports jacocoagent with no jmx support'() {
            given:
            agent.supportsJmx() >> false
            agent.jar >> temporaryFolder.file('fakeagent.jar')
            task.getWorkingDir() >> temporaryFolder.file("workingDir")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPlugin.java

         * The jacoco version used if none is explicitly specified.
         *
         * @since 3.4
         */
        public static final String DEFAULT_JACOCO_VERSION = "0.8.11";
        public static final String AGENT_CONFIGURATION_NAME = "jacocoAgent";
        public static final String ANT_CONFIGURATION_NAME = "jacocoAnt";
        public static final String PLUGIN_EXTENSION_NAME = "jacoco";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 21:09:25 UTC 2023
    - 14K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/core-plugins/jacoco_plugin.adoc

    [%header%autowidth,compact]
    |===
    | Name          | Meaning
    
    | `jacocoAnt`
    | The JaCoCo Ant library used for running the `JacocoReport` and `JacocoCoverageVerification` tasks.
    
    | `jacocoAgent`
    | The JaCoCo agent library used for instrumenting the code under test.
    
    |===
    
    [[sec:outgoing_variants]]
    == Outgoing Variants
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    ====
    [source,java]
    .JacocoAgent.java
    ----
    class JacocoAgent implements CommandLineArgumentProvider {
        private final JacocoTaskExtension jacoco;
    
        public JacocoAgent(JacocoTaskExtension jacoco) {
            this.jacoco = jacoco;
        }
    
        @Nested
        @Optional
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    | `codenarc`
    | `codenarc`
    
    | `pmd`
    | `pmd`
    
    | `checkstyle`
    | `checkstyle`
    
    | `antlr`
    | `antlr`
    
    | `jacoco`
    | `jacocoAnt`, `jacocoAgent`
    
    | `scala`
    | `zinc`
    
    | `war`
    | `providedCompile`, `providedRuntime`
    |===
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top