Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for JacocoTaskExtension (0.34 sec)

  1. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoTaskExtension.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Locale;
    
    /**
     * Extension for tasks that should run with a Jacoco agent to generate coverage execution data.
     */
    public abstract class JacocoTaskExtension {
    
        /**
         * The types of output that the agent can use for execution data.
         */
        public enum Output {
            FILE,
            TCP_SERVER,
            TCP_CLIENT,
            NONE;
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. platforms/jvm/jacoco/src/test/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginSpec.groovy

            when:
            project.jacoco.applyTo(task)
            then:
            task.extensions.getByType(JacocoTaskExtension) != null
        }
    
        def 'jacoco applied to Test task'() {
            given:
            Test task = project.tasks.create('customTest', Test)
            expect:
            task.extensions.getByType(JacocoTaskExtension) != null
        }
    
        @Requires(UnitTestPreconditions.Online)
        @Issue("GRADLE-3498")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/JacocoReportBase.java

         *
         * @param tasks one or more tasks to add
         */
        public void executionData(Task... tasks) {
            for (Task task : tasks) {
                final JacocoTaskExtension extension = task.getExtensions().findByType(JacocoTaskExtension.class);
                if (extension != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

                }
    
                test {
                    test.extensions.getByType(JacocoTaskExtension).destinationFile = new File("$jacocoDestinationFile")
                    systemProperty "jacocoAgentJar", configurations.jacocoRuntime.singleFile.absolutePath
                    systemProperty "jacocoDestFile", test.extensions.getByType(JacocoTaskExtension).destinationFile.absolutePath
                }
    
                gradlePlugin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.plugins.ide.eclipse.model.ResourceFilterMatcher.id don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.testing.jacoco.plugins.JacocoTaskExtension.getPort()> does not have raw return type assignable to org.gradle.api.provider.Property in (JacocoTaskExtension.java:0)
    Method <org.gradle.testing.jacoco.plugins.JacocoTaskExtension.getSessionId()> does not have raw return type assignable to org.gradle.api.provider.Property in (JacocoTaskExtension.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  7. 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
        public JacocoTaskExtension getJacoco() {
            return jacoco.isEnabled() ? jacoco : null;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    * The `append` property on `JacocoTaskExtension` has been removed.
      `append` is now always configured to be true for the Jacoco agent.
    * The `configureDefaultOutputPathForJacocoMerge` method on `JacocoPlugin` has been removed.
      The method was never meant to be public.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top