Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy

                def buildTreePath = modelExpectation.path
                if (modelExpectation.modelNames != null) {
                    def projectModelNames =  projectModels[buildTreePath].modelName.toSorted()
                    assert projectModelNames == modelExpectation.modelNames.toSorted()
                }
            }
        }
    
        private void assertHasWarningThatIncubatingFeatureUsed() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DefaultDependencyLockingProviderTest.groovy

    ${modules.toSorted().collect {"$it=$lockFileId"}.join('\n')}
    empty=
    """.denormalize()
            } else {
                lockDir.file("${lockFileId}.lockfile") << """${LockFileReaderWriter.LOCKFILE_HEADER_LIST.join('\n')}
    ${modules.toSorted().join('\n')}
    """.denormalize()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            )
        }
    
        static boolean equalIgnoringOrder(Object actual, Collection<?> expected) {
            List<?> actualSorted = (actual as List).toSorted()
            List<?> expectedSorted = (expected as List).toSorted()
            return actualSorted == expectedSorted
        }
    
        boolean vfsHasSnapshotsAt(File location) {
            return virtualFileSystem.root.rootSnapshotsUnder(location.absolutePath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K 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-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

                }
                .collect { List<BuildWithSystemPropertyDefined> definitions, SystemPropertyAccess access ->
                    new Spec(definitions, access)
                }
                .toSorted { it.toString() }
        }
    
        static class Spec {
            private final List<BuildWithSystemPropertyDefined> systemPropertyDefinitions
            private final SystemPropertyAccess systemPropertyAccess
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top