Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for AndSpec (0.07 sec)

  1. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/specs/OrSpecTest.java

            return new OrSpec(specs);
        }
    
        public org.gradle.api.specs.CompositeSpec<Object> createOtherCompositeSpec(Spec<Object>... specs) {
            return new AndSpec<Object>(specs);
        }
    
        @Test
        public void isSatisfiedWhenNoSpecs() {
            assertTrue(new OrSpec().isSatisfiedBy(new Object()));
        }
    
        @Test
        public void isSatisfiedByWithOneTrue() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/specs/Specs.java

            }
            if (filtered.size() == 0) {
                return satisfyAll();
            }
            if (filtered.size() == 1) {
                return Cast.uncheckedCast(filtered.get(0));
            }
            return new AndSpec<>(filtered);
        }
    
        /**
         * Returns a spec that selects the union of those items selected by the provided spec. Selects everything when no specs provided.
         */
        @SafeVarargs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. subprojects/core/build.gradle.kts

        testFixturesApi(project(":base-services")) {
            because("test fixtures expose Action")
        }
        testFixturesApi(project(":base-services-groovy")) {
            because("test fixtures expose AndSpec")
        }
        testFixturesApi(project(":core-api")) {
            because("test fixtures expose Task")
        }
        testFixturesApi(project(":logging")) {
            because("test fixtures expose Logger")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.specs.AndSpec.and(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (AndSpec.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top