Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 486 for AbsolutePath (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

        abstract CaseSensitivity getCaseSensitivity()
    
        def "length of common prefix of #prefix and #absolutePath is #result"() {
            expect:
            VfsRelativePath.of(absolutePath).lengthOfCommonPrefix(prefix, caseSensitivity) == result
    
            where:
            prefix      | absolutePath  | result
            'root'      | '/'           | 0
            'root'      | '/root'       | 4
            'root/some' | '/root/other' | 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. 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)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/JavaExecTest.groovy

            cause.message.contains(invalidExecutable.absolutePath)
        }
    
        def 'fails if custom executable is a directory'() {
            def task = project.tasks.create("run", JavaExec)
            def executableDir = temporaryFolder.createDir("javac")
    
            when:
            task.executable = executableDir.absolutePath
            execute(task)
    
            then:
            def e = thrown(TaskExecutionException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. 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)
  8. platforms/documentation/docs/src/snippets/java/toolchain-config-task/kotlin/build.gradle.kts

            execOps.exec {
                executable = javaExecutable.get().asFile.absolutePath
                args = listOf("-version")
                standardOutput = outputBytes
                errorOutput = outputBytes
            }
            require(outputBytes.toString("UTF-8").contains("version \"11")) {
                "unexpected '${javaExecutable.get().asFile.absolutePath} -version' output"
            }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NormalizedPathChangeDetector.java

            FileType previousFingerprintType = previousFingerprint.getType();
            String absolutePath = pathWithType.getAbsolutePath();
    
            List<FilePathWithType> filePathWithTypes = addedFilesByNormalizedPath.get(normalizedPath);
            Optional<FilePathWithType> match = filePathWithTypes.stream().filter(file -> absolutePath.equals(file.getAbsolutePath())).findFirst();
            return match
                .map(filePathWithType -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractFileSystemLocationSnapshot.java

    public abstract class AbstractFileSystemLocationSnapshot implements FileSystemLocationSnapshot {
        private final String absolutePath;
        private final String name;
        private final AccessType accessType;
    
        public AbstractFileSystemLocationSnapshot(String absolutePath, String name, AccessType accessType) {
            this.absolutePath = absolutePath;
            this.name = name;
            this.accessType = accessType;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top