Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 487 for absolutePaths (1.43 sec)

  1. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

                locations.size() == 1
                with(oneLocation(LineInFileLocation)) {
                    length == -1
                    column == -1
                    line == 11
                    path == "build file '$buildFile.absolutePath'"
                }
            }
        }
    
        def "can emit a problem with minimal configuration"() {
            given:
            withReportProblemTask """
                problems.forNamespace('org.example.plugin').reporting {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/file/BuildLayoutIntegrationTest.groovy

            }
    
            when:
            run("project", "--project-dir", rootBuild.absolutePath)
    
            then:
            outputContains("settings root dir: " + buildB.absolutePath + ".")
            outputContains("settings dir: " + buildB.absolutePath + ".")
            outputContains("settings source file: " + buildB.settingsFile.absolutePath + ".")
        }
    
        def "locations are as expected in buildSrc settings"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 18:31:24 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            javaCompile.options.forkOptions.executable = executableDir.absolutePath
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
            def cause = TestUtil.getRootCause(e) as InvalidUserDataException
            cause.message.contains("The configured executable is a directory")
            cause.message.contains(executableDir.absolutePath)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/VswhereSpec.groovy

        void x64Registry() {
            _ * windowsRegistry.getStringValue(_, _, "ProgramFilesDir") >> programFiles.absolutePath
            _ * windowsRegistry.getStringValue(_, _, "ProgramFilesDir (x86)") >> programFilesX86.absolutePath
        }
    
        void x86Registry() {
            _ * windowsRegistry.getStringValue(_, _, "ProgramFilesDir") >> programFiles.absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandlerTest.groovy

    version: "Swift version 4.0.3 (swift-4.0.3-RELEASE)"
    options: "7890c730e32273cd2686f36d1bd976c0"
    build_time: [1517422583, 339630833]
    inputs:
      "${barSource.absolutePath}": [9223372036, 854775807]
      "${mainSource.absolutePath}": [1517422583, 0]
      "${fooSource.absolutePath}": [1517422583, 0]
    """
            original = swiftDepsHandler.parse(moduleSwiftDeps)
        }
    
        def "missing module.swiftdeps allows incremental compile"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestInputAnnotationFailuresIntegrationTest.groovy

            'RegularFile'         | 'myField'   | "RegularFile myField = project.layout.projectDirectory.file('myFile.txt')"      | 'myField.getAsFile().absolutePath'
            'RegularFileProperty' | 'myProp'    | 'abstract RegularFileProperty getMyProp()'                                      | 'myProp.getAsFile().get().absolutePath'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-jvm-test-fixtures/src/testFixtures/groovy/org/gradle/java/fixtures/AbstractTestFixturesIntegrationTest.groovy

            buildFile << """
                class Utils {
                    static void printClasspathFile(File it) {
                        if (it.absolutePath.contains('intTestHomeDir')) {
                            println it.name
                        } else {
                            println it.absolutePath.substring(it.absolutePath.lastIndexOf('build') + 6).replace(File.separatorChar, (char) '/')
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 13 11:38:02 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitScriptHandlingIntegrationTest.groovy

            then:
            distro1Result.assertOutputContains "from distro 1"
            distro1Result.assertOutputContains "buildSrc: runtime gradle home: ${distro1.absolutePath}"
            distro1Result.assertOutputContains "main build: runtime gradle home: ${distro1.absolutePath}"
    
            when:
            def distro2Result = runWithGradleHome(distro2)
    
            then:
            distro2Result.assertNotOutput "from distro 1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/WindowsKitWindowsSdkLocatorTest.groovy

            windowsRegistryLocal.getStringValue(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, /SOFTWARE\Microsoft\Windows Kits\Installed Roots/, "KitsRoot10") >> dir1.absolutePath
    
            when:
            def result = windowsSdkLocatorLocal.locateComponent(null)
    
            then:
            result.available
            def platformSdk = result.component.forPlatform(arm64())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementDslSpec.groovy

                contextualLabel == "Could not compile build file '${buildFile.absolutePath}'."
            }
        }
    
        def "pluginManagement block is not supported in InitScripts"() {
            given:
            def initScript = file "definePluginRepos.gradle"
            initScript << """
                pluginManagement {}
            """
            args('-I', initScript.absolutePath)
    
            when:
            fails 'help'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top