Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for absolutePaths (0.18 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultProjectConnection.java

            final List<String> absolutePaths = new ArrayList<String>(changedPaths.size());
            for (Path changedPath : changedPaths) {
                if (!changedPath.isAbsolute()) {
                    throw new IllegalArgumentException(String.format("Changed path '%s' is not absolute", changedPath));
                }
                absolutePaths.add(changedPath.toString());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            when:
            configurationCacheRun 'build', '-I', initScript1.absolutePath, '-I', initScript2.absolutePath
    
            then:
            output.indexOf('initscript1!') < output.indexOf('initscript2!')
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun 'build', '-I', initScript2.absolutePath, '-I', initScript1.absolutePath
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/JavaInstallationRegistryIntegrationTest.groovy

                .withArgument("-Porg.gradle.java.installations.paths=${new File("/other/path").absolutePath}," + secondJavaHome)
                .withArgument("-Porg.gradle.java.installations.fromEnv=JDK1,JDK2")
                .withTasks("show")
                .run()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

            assert rootProject.projectDir == testDirectory.absolutePath
            assert rootProject.buildFile == buildFile.absolutePath
            assert rootProject.children.size() == 3 // All projects are created when storing
            with(rootProject.children.first() as Map<String, Object>) {
                assert name == 'a'
                assert path == ':a'
                assert projectDir == file('a').absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            directorySnapshotter.snapshot(directory.absolutePath, null, [:]) {} as DirectorySnapshot
        }
    
        void addSnapshot(FileSystemLocationSnapshot snapshot) {
            virtualFileSystem.store(snapshot.absolutePath, { snapshot } as Supplier<FileSystemLocationSnapshot>)
        }
    
        void invalidate(String absolutePath) {
            virtualFileSystem.invalidate([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. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy

            1 * fileSystemAccess.moveAtomically(temporaryWorkspace.absolutePath, immutableWorkspace.absolutePath) >> { String from, String to ->
                throw new AccessDeniedException("Simulate Windows keeping file locks open")
            }
    
            then:
            1 * fileSystemAccess.moveAtomically(secondTemporaryWorkspace.absolutePath, immutableWorkspace.absolutePath) >> { String from, String to ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 14:32:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy

            assert snapshot.absolutePath == file.absolutePath
            assert snapshot.name == file.name
            assert snapshot.type == FileType.RegularFile
            assert snapshot.hash == hashFile(file)
        }
    
        void assertIsMissingFileSnapshot(FileSystemLocationSnapshot snapshot, File file) {
            assert snapshot.absolutePath == file.absolutePath
            assert snapshot.name == file.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileHierarchySet.java

            }
    
            private static String removeTrailingSeparator(String absolutePath) {
                if (absolutePath.equals("/")) {
                    absolutePath = "";
                } else if (absolutePath.endsWith(File.separator)) {
                    absolutePath = absolutePath.substring(0, absolutePath.length() - 1);
                }
                return absolutePath;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-local/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheTest.groovy

            when:
            cache.storeLocally(key, originalFile)
    
            then:
            1 * fileAccessTracker.markAccessed(_) >> { File file -> cachedFile = file }
            cachedFile.absolutePath.startsWith(cacheDir.absolutePath)
    
            when:
            cache.loadLocally(key, { file ->
                assert file == cachedFile
                assert file.text == "bar"
            })
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AutoInstalledInstallationSupplierTest.groovy

            when:
            def directories = supplier.get()
    
            then:
            directoriesAsStablePaths(directories) == stablePaths([
                jdk1.absolutePath,
                jdk2.absolutePath,
                jdk3.absolutePath
            ])
            directories*.source == ["Auto-provisioned by Gradle", "Auto-provisioned by Gradle", "Auto-provisioned by Gradle"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 23:01:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top