Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toSorted (0.13 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentReplacementIntegrationTest.groovy

                }
                task resolvedFiles {
                    dependsOn 'dependencies'
                    def files = configurations.conf
    
                    doLast {
                        println "resolved files=" + files*.name.toSorted()
                    }
                }
            """
            resolve = new ResolveTestFixture(buildFile)
            resolve.addDefaultVariantDerivationStrategy()
        }
    
        //publishes and declares the dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransactionTest.groovy

            return Files.find(file.toPath(), 99, { path, attributes -> attributes.isRegularFile() })
                .collect { file.toPath().relativize(it).toString().replace("\\", "/") }
                .toSorted()
        }
    
        private boolean hasOnlyDirectories(File file) {
            try (Stream<Path> stream = Files.walk(file.toPath())) {
                return stream.allMatch { Files.isDirectory(it) }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top