Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ends_with (0.28 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileTreeIntegrationTest.groovy

            ]
        }
    
        private ArrayList<String> fileTreeOperators() {
            [
                'filter { it.path.endsWith "ok" }',
                'matching(patternSet)',
                'matching(patternSet).filter { it.file }',
                'matching(patternSet).asFileTree.filter { it.file }',
                'filter { it.path.endsWith "ok" }.asFileTree',
                'filter { it.file }.asFileTree.matching(patternSet)',
            ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginBuildScriptIntegrationTest.groovy

            """
    
            when:
            configurationCacheFails(":help")
    
            then:
            failure.assertOutputContains("Hello")
            problems.assertFailureHasProblems(failure) {
                if (file.endsWith(".gradle.kts")) {
                    withProblem("Settings file '${relativePath(file)}': external process started")
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegrationSpec.groovy

            when:
            def nonJarLibEntries = libZipEntries.findAll { !it.name.endsWith(".jar") }
    
            then:
            nonJarLibEntries.isEmpty()
        }
    
        def "no additional jars are added to the distribution"() {
            when:
            def jarLibEntries = libZipEntries.findAll { it.name.endsWith(".jar") }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInInitScriptIntegrationTest.groovy

            when:
            configurationCacheFails(":help")
    
            then:
            failure.assertOutputContains("Hello")
            problems.assertFailureHasProblems(failure) {
                if (file.endsWith(".gradle.kts")) {
                    withProblem("Initialization script '${relativePath(file)}': external process started")
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginIntegrationTest.groovy

            stringArrayExecute().kotlin | "buildSrc/src/main/kotlin/test-convention-plugin.gradle.kts"
            runtimeExec().kotlin        | "buildSrc/src/main/kotlin/test-convention-plugin.gradle.kts"
    
            plugin = file.endsWith(".kts") ? "kotlin-dsl" : "groovy-gradle-plugin"
        }
    
        def "using #snippetsFactory.summary in java project plugin application is a problem"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

                task merge(type: LegacyTask) {
                    inFiles = files1
                    def sum = inFiles.plus(files2)
                    inFiles = sum.filter { f -> f.name.endsWith('.txt') } + sum.filter { f -> f.name.endsWith('.bin') }
                }
            """
            file('a.txt').text = 'a1'
            file('a.bin').text = 'a2'
            file('b.txt').text = 'b1'
            file('b.bin').text = 'b2'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

        }
    
        private TestFile findRequiredKeystoreFile(boolean required = true) {
            def keyStoreDirFiles = keyStoreDir.allDescendants()
            def keyStorePath = keyStoreDirFiles.find { it.endsWith('gradle.keystore') }
            assert !required || keyStorePath != null
            return keyStorePath?.with { keyStoreDir.file(keyStorePath) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                String sourceHint,
                InputLocationTracker tracker) {
            if (string == null || string.isEmpty()) {
                return true;
            }
    
            if (string.endsWith("SNAPSHOT") && !string.endsWith("-SNAPSHOT")) {
                addViolation(
                        problems,
                        severity,
                        version,
                        fieldName,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  9. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

                private <T extends HasDescription> Set<JavaAnnotation<T>> extractPossibleNullable(Set<JavaAnnotation<T>> annotations) {
                    return annotations.stream().filter(annotation -> annotation.getType().getName().endsWith("Nullable")).collect(toSet());
                }
            };
        }
    
        static DescribedPredicate<JavaMember> annotatedMaybeInSupertypeWith(final Class<? extends Annotation> annotationType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        abstract Optional<String> chop(String str);
    
        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
                return Optional.of(str.substring(0, str.length() - suffix.length()));
              } else {
                return Optional.absent();
              }
            }
          };
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top