Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isEnabledBottomSpec (2.84 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCacheRule.groovy

    import org.junit.rules.TestRule
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    import static org.gradle.integtests.fixtures.ToBeFixedForConfigurationCacheExtension.isEnabledBottomSpec
    import static ToBeFixedSpecInterceptor.iterationMatches
    
    /**
     * JUnit Rule supporting the {@link ToBeFixedForConfigurationCache} annotation.
     */
    class ToBeFixedForConfigurationCacheRule implements TestRule {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:04:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCacheExtension.groovy

    import org.spockframework.runtime.model.SpecInfo
    
    import static ToBeFixedSpecInterceptor.isAllIterations
    import static org.gradle.integtests.fixtures.ToBeFixedForConfigurationCacheExtension.isEnabledBottomSpec
    import static ToBeFixedSpecInterceptor.iterationMatches
    
    class UnsupportedWithConfigurationCacheExtension implements IAnnotationDrivenExtension<UnsupportedWithConfigurationCache> {
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:57:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCacheRule.groovy

    import org.junit.rules.TestRule
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    import static org.gradle.integtests.fixtures.ToBeFixedForConfigurationCacheExtension.isEnabledBottomSpec
    import static ToBeFixedSpecInterceptor.iterationMatches
    import static org.junit.Assume.assumeTrue
    
    class UnsupportedWithConfigurationCacheRule implements TestRule {
    
        @Override
    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/ToBeFixedForConfigurationCacheExtension.groovy

        }
    
        private static boolean isEnabledSpec(ToBeFixedForConfigurationCache annotation, FeatureInfo feature) {
            isEnabledBottomSpec(annotation.bottomSpecs(), { it == feature.spec.bottomSpec.name })
        }
    
        static boolean isEnabledBottomSpec(String[] bottomSpecs, Predicate<String> specNamePredicate) {
            bottomSpecs.length == 0 || bottomSpecs.any { specNamePredicate.test(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)
Back to top