Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for absolutePaths (0.17 sec)

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

            then:
            visited.contains(rootTextFile.absolutePath)
            visited.contains(nestedTextFile.absolutePath)
            visited.contains(nestedSiblingTextFile.absolutePath)
            visited.contains(notTextFile.absolutePath)
            visited.contains(excludedFile.absolutePath)
            !visited.contains(notUnderRoot.absolutePath)
            !visited.contains(doesNotExist.absolutePath)
            relativePaths as Set == [
                '',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy

            s.hasDescendantsUnder(dir1.absolutePath)
            collectSnapshots(s, dir1.absolutePath)*.absolutePath == [dir1dir2dir3.absolutePath, dir1dir2dir4.absolutePath, dir1dir5.absolutePath]
    
            def pathWithPostfix = dir1dir2.absolutePath + "a"
            !s.hasDescendantsUnder(pathWithPostfix)
            collectSnapshots(s, pathWithPostfix).empty
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/VfsRelativePath.java

            if (absolutePath.isEmpty() || absolutePath.equals("/")) {
                return absolutePath;
            }
            return isFileSeparator(absolutePath.charAt(absolutePath.length() - 1))
                ? absolutePath.substring(0, absolutePath.length() - 1)
                : absolutePath;
        }
    
        private static int determineOffset(String absolutePath) {
            for (int i = 0; i < absolutePath.length(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdater.java

            watchedWatchableHierarchies.forEach(absolutePath -> decrement(absolutePath, changedWatchDirectories));
            watchedWatchableHierarchies.clear();
            newWatchedFiles.visitRoots(absolutePath -> {
                watchedWatchableHierarchies.add(absolutePath);
                increment(absolutePath, changedWatchDirectories);
            });
            if (!changedWatchDirectories.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 04:59:05 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleCppProjectIntegrationTest.groovy

            project.targets[1].assertIsIndexerFor(project.targets[0])
    
            project.products.children.size() == 1
            project.products.children[0].path == exe("build/install/main/debug/x86-64/lib/app").absolutePath
        }
    
        @ToBeFixedForConfigurationCache
        def "can create xcode project for C++ library"() {
            given:
            buildFile << """
                apply plugin: 'cpp-library'
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 27.7K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/fixtures/AbstractXcodeIntegrationSpec.groovy

            assert target.buildConfigurationList.buildConfigurations.every {
                it.buildSettings.SWIFT_INCLUDE_PATHS == '"' + file('build/modules/main/debug').absolutePath + '"'
            }
        }
    
        void assertTargetIsDynamicLibrary(ProjectFile.PBXTarget target, String expectedProductName, String expectedBinaryName = expectedProductName) {
            target.assertIsDynamicLibrary()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkLocatorTest.groovy

            windowsRegistry.getStringValue(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, /SOFTWARE\Microsoft\Windows Kits\Installed Roots/, "KitsRoot") >> dir2.absolutePath
            windowsRegistry.getStringValue(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, /SOFTWARE\Microsoft\Windows Kits\Installed Roots/, "KitsRoot81") >> dir3.absolutePath
    
            when:
            def result = windowsSdkLocator.locateComponent(null)
    
            then:
            result.available
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top