Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isNotConfigCache (0.16 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheCompositeConfigurationIntegrationTest.groovy

    import spock.lang.Issue
    
    import static org.gradle.integtests.fixtures.executer.GradleContextualExecuter.isConfigCache
    import static org.gradle.integtests.fixtures.executer.GradleContextualExecuter.isNotConfigCache
    
    /**
     * Tests build cache configuration within composite builds and buildSrc.
     */
    class BuildCacheCompositeConfigurationIntegrationTest extends AbstractIntegrationSpec {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCacheExtension.groovy

        @Override
        void visitFeatureAnnotation(ToBeFixedForConfigurationCache annotation, FeatureInfo feature) {
    
            if (GradleContextualExecuter.isNotConfigCache()) {
                return
            }
    
            if (!isEnabledSpec(annotation, feature)) {
                return
            }
    
            if (annotation.skip() != DO_NOT_SKIP) {
                feature.skipped = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:57:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCacheRule.groovy

        @Override
        Statement apply(Statement base, Description description) {
            def annotation = description.getAnnotation(UnsupportedWithConfigurationCache.class)
            if (GradleContextualExecuter.isNotConfigCache() || annotation == null) {
                return base
            }
            def enabledBottomSpec = isEnabledBottomSpec(annotation.bottomSpecs(), { description.className.endsWith(".$it") })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:57:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCacheRule.groovy

        @Override
        Statement apply(Statement base, Description description) {
            def annotation = description.getAnnotation(ToBeFixedForConfigurationCache.class)
            if (GradleContextualExecuter.isNotConfigCache() || annotation == null) {
                return base
            }
            def enabledBottomSpec = isEnabledBottomSpec(annotation.bottomSpecs(), { description.className.endsWith(".$it") })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:04:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java

            return !isNoDaemon();
        }
    
        public static boolean isParallel() {
            return getSystemPropertyExecuter().executeParallel;
        }
    
        public static boolean isNotConfigCache() {
            return !isConfigCache();
        }
    
        public static boolean isConfigCache() {
            Executer executer = getSystemPropertyExecuter();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:06:31 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/preconditions/IntegTestPreconditions.groovy

            }
        }
    
        static final class NotConfigCached implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return GradleContextualExecuter.isNotConfigCache()
            }
        }
    
        static final class NotIsolatedProjects implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LambdaInputsIntegrationTest.groovy

            // With configuration cache, all lambdas are forced to be serializable, so there won't be anything to report.
            Assume.assumeTrue(GradleContextualExecuter.isNotConfigCache())
    
            setupTaskClassWithConsumerProperty()
            file("buildSrc/src/main/java/Lambdas.java") <<
                javaClass("Lambdas", nonSerializableLambdaWritingFile("ACTION", "original"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 18.5K bytes
    - Viewed (0)
Back to top