Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for failureDescriptionStartsWith (0.71 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
    
            and:
            result.assertTaskExecuted(":compileGroovy")
            failureDescriptionStartsWith("Execution failed for task ':compileGroovy'.")
            failureCauseContains("Cannot infer Groovy class path because no Groovy Jar was found on class path")
    
            when:
            configurationCacheFails "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecToolchainIntegrationTest.groovy

            configureLauncher(jdkOther)
            configureExecutable(jdkCurrent)
    
            when:
            withInstallations(jdkCurrent, jdkOther).runAndFail(":run")
    
            then:
            failureDescriptionStartsWith("Execution failed for task ':run'.")
            failureHasCause("Toolchain from `executable` property does not match toolchain from `javaLauncher` property")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskToolchainIntegrationTest.groovy

            configureLauncher(jdkOther)
            configureExecutable(jdkCurrent)
    
            when:
            withInstallations(jdkCurrent, jdkOther).runAndFail(":test")
    
            then:
            failureDescriptionStartsWith("Execution failed for task ':test'.")
            failureHasCause("Toolchain from `executable` property does not match toolchain from `javaLauncher` property")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

                    input1 = 'foo'
                    input2 = 'bar'
                }
            """
    
            when:
            fails('customTask', '--build-cache')
    
            then:
            failureDescriptionStartsWith("Some problems were found with the configuration of task ':customTask' (type 'CustomTask').")
            failureDescriptionContains(implementationUnknown {
                implementationOfTask(':customTask')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

                public class Foo extends Oops {}
            """
    
            when:
            withInstallations(jdkMetadata).fails(task)
            def events = toolchainEvents(task)
            then:
            failureDescriptionStartsWith("Execution failed for task '${task}'.")
            failureHasCause("Compilation failed; see the compiler error output for details.")
            result.assertHasErrorOutput("Foo.java:2: error: cannot find symbol")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy

            failureHasCause "Cannot access the value of 'BuildWorkResult' before it becomes available!"
            if (GradleContextualExecuter.configCache) {
                failureDescriptionStartsWith "Configuration cache problems found in this build"
            }
        }
    
        enum ScriptTarget {
            SETTINGS,
            PROJECT;
    
            String getFileName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            }
    
            when:
            withInstallations(currentJdk, otherJdk).runAndFail(":compileJava")
    
            then:
            failureDescriptionStartsWith("Execution failed for task ':compileJava'.")
            failureHasCause("Toolchain from `${errorFor}` property on `ForkOptions` does not match toolchain from `javaCompiler` property")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            assert keyStoreDir.mkdir()
            fs.chmod(keyStoreDir, 0444)
    
            when:
            fails(*(["help", "--configuration-cache"] + encryptionOptions))
    
            then:
            failureDescriptionStartsWith "Could not open Gradle Configuration Cache keystore (${keyStoreDir}"
    
            cleanup:
            fs.chmod(keyStoreDir, 0666)
        }
    
        void runWithEncryption(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

                    input = file("input.txt")
                    output = file("build/output.txt")
                }
            """
            when:
            fails "customTask"
            then:
            failureDescriptionStartsWith("Some problems were found with the configuration of task ':customTask' (type 'CustomTask').")
            failureDescriptionContains(implementationUnknown {
                implementationOfTask(':customTask')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

                    doLast {
                        println(setPropertyInput.get())
                    }
                }
            """
    
            when:
            fails "verify"
    
            then:
            failureDescriptionStartsWith("Some problems were found with the configuration of task ':verify' (type 'TaskWithInput').")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top