Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for toSorted (0.2 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseSensitiveVfsRelativePathTest.groovy

            }
        }
    
        def "children #children are sorted the same with path sensitive and path insensitive compare"() {
            def caseInsensitiveSorted = children.toSorted(getPathComparator(CaseSensitivity.CASE_INSENSITIVE))
            def caseSensitiveSorted = children.toSorted(getPathComparator(CASE_SENSITIVE))
            expect:
            caseInsensitiveSorted == caseSensitiveSorted
    
            where:
            children << CHILDREN_LISTS
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplierTest.groovy

            when:
            def directories = supplier.get()
    
            then:
            directories.size() == 2
            directories*.location.toSorted() == [
                candidates.file("11.0.6.hs-adpt"),
                candidates.file("14")
            ]
            directories*.source.unique() == ["Common Linux Locations"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/SearchUtilTest.groovy

            []                           | "baa"
            ["b"]                        | "a"
            ["a"]                        | "b"
            ["a"]                        | "a"
    
            sortedChildren = children.toSorted()
            expectedResult = Collections.binarySearch(sortedChildren, searchedChild)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/integTest/groovy/org/gradle/internal/vfs/DefaultExcludesIntegrationTest.groovy

                    ant.defaultexcludes default: true
                }
            """
            List<String> defaultExcludesFromSettings = (DEFAULT_EXCLUDES  + ['**/' + EXCLUDED_FILE_NAME]).toSorted()
            List<String> defaultExcludesInTask = DEFAULT_EXCLUDES.toSorted()
    
            when:
            fails "copyTask"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/locking/LockfileFixture.groovy

            def lines = new ArrayList(LockFileReaderWriter.LOCKFILE_HEADER_LIST)
            if (modules.isEmpty()) {
                lines.add("empty=$configuration")
            } else {
                lines.addAll modules.toSorted().collect({ "$it=$configuration".toString() })
                lines.add("empty=")
            }
            lockFile.writelns(lines)
        }
    
        private void createLegacyLockfile(String configurationName, List<String> modules) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractAndroidSantaTrackerSmokeTest.groovy

                println "> Tasks in surplus: " + (result.tasks.findAll { !outcomesWithMatchingTasks.keySet().contains(it.path) })
                println "> Updated definitions:"
                result.tasks
                    .toSorted { a, b -> a.path <=> b.path }
                    .forEach { task ->
                        println "'${task.path}': ${task.outcome},"
                    }
            }
    
            boolean allOutcomesMatched = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

            ["Bad/mine", "c/other", "aB/second"],
            ["Bad/mine", "c/other", "AB/second"],
            ["Bad/mine", "cA/other", "AB/second"],
            ["c", "b/something", "a/very/long/suffix"]
        ]*.toSorted(getPathComparator(CASE_SENSITIVE))
    
        static final List<CaseSensitivityTestSpec> SAME_OR_CHILD = CHILDREN_LISTS.collectMany { children ->
            children.collectMany { child ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top