Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 381 for category2 (0.13 sec)

  1. platforms/documentation/docs/src/snippets/testing/junit-categories/groovy/build.gradle

        mavenCentral()
    }
    
    dependencies {
        testImplementation 'junit:junit:4.13'
    }
    
    // tag::test-categories[]
    test {
        useJUnit {
            includeCategories 'org.gradle.junit.CategoryA'
            excludeCategories 'org.gradle.junit.CategoryB'
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 316 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/testing/junit-categories/kotlin/build.gradle.kts

    }
    
    dependencies {
        testImplementation("junit:junit:4.13")
    }
    
    // tag::test-categories[]
    tasks.test {
        useJUnit {
            includeCategories("org.gradle.junit.CategoryA")
            excludeCategories("org.gradle.junit.CategoryB")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 320 bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesNotSupportedIntegrationTest.groovy

                    testImplementation "junit:junit:4.4"
                }
    
                test {
                    useJUnit {
                        includeCategories 'org.gradle.CategoryA'
                        excludeCategories 'org.gradle.CategoryC'
                    }
                }
            """
    
            when:
            fails('test')
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/PlatformSupport.java

    @ServiceScope(Scope.Global.class)
    public class PlatformSupport {
        private final Category library;
        private final Category regularPlatform;
        private final Category enforcedPlatform;
    
        public PlatformSupport(NamedObjectInstantiator instantiator) {
            library = instantiator.named(Category.class, Category.LIBRARY);
            regularPlatform = instantiator.named(Category.class, Category.REGULAR_PLATFORM);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/GroupingProgressLogEventGeneratorTest.groovy

            then:
            1 * downstreamListener.onOutput({ it.toString() == "[LIFECYCLE] [category] <Normal>Header Execute :a</Normal>" })
            then:
            1 * downstreamListener.onOutput({ it.toString() == "[WARN] [category] a message" })
            then:
            1 * downstreamListener.onOutput({ it.toString() == "[LIFECYCLE] [category] " })
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, "custom"))
                        }
                    }
    
                    sample2 {
                        assert canBeResolved
    
                        attributes {
                            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/derived/DerivedVariantsResolutionIntegrationTest.groovy

                    def artifactView = configurations.runtimeClasspath.incoming.artifactView {
                        withVariantReselection()
                        attributes {
                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.DOCUMENTATION))
                            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling, Bundling.EXTERNAL))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingDisabledReason.java

    public class CachingDisabledReason {
        private final CachingDisabledReasonCategory category;
        private final String message;
    
        public CachingDisabledReason(CachingDisabledReasonCategory category, String message) {
            this.category = category;
            this.message = message;
        }
    
        public CachingDisabledReasonCategory getCategory() {
            return category;
        }
    
        public String getMessage() {
            return message;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/ProgressStartEventSerializerTest.groovy

            result.category == CATEGORY
            result.description == DESCRIPTION
            result.loggingHeader == "header"
            result.status == "status"
            result.totalProgress == 10
            result.buildOperationStart
            result.buildOperationId == new OperationIdentifier(42L)
            result.buildOperationCategory == category
    
            where:
            category << BuildOperationCategory.values()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

                        attribute(Category.CATEGORY_ATTRIBUTE.name, Category.REGULAR_PLATFORM)
                    }
                }.publish()
            def depE = mavenHttpRepo.module('org.test', 'depE', '1.0').withModuleMetadata()
                .withVariant('runtime') {
                    dependsOn('org.test', 'otherPlatform', '1.1') {
                        attribute(Category.CATEGORY_ATTRIBUTE.name, Category.REGULAR_PLATFORM)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top