Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for jacocoAgent (0.24 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)
Back to top