Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for failureDescriptionStartsWith (0.38 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/execution/ResolveTaskMutationsBuildOperationTypeIntegrationTest.groovy

                // This fails already, so we don't even get to resolving the mutations.
                failureDescriptionStartsWith("BOOM!")
            } else {
                assertResolveTaskMutationsBuildOperationEmitted(":t")
                failureDescriptionStartsWith("Execution failed for task ':t'.")
            }
        }
    
        void assertResolveTaskMutationsBuildOperationEmitted(String taskPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 27 12:00:57 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy

                dependencies {
                    components {
                        all { ${parameters} }
                    }
                }
            """
    
            expect:
            fails 'checkDeps'
            failureDescriptionStartsWith("A problem occurred evaluating root project")
            failure.assertHasFileName("Build file '$buildFile.path'")
            failure.assertHasLineNumber(lines + 3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. 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)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy

            when:
            repositoryInteractions {
                'org.utils:api:1.2' {
                    allowAll()
                }
            }
    
            then:
            fails ':checkDeps'
            failureDescriptionStartsWith("A problem occurred evaluating root project")
            failure.assertHasFileName("Build file '$buildFile.path'")
            failure.assertHasLineNumber(lines + 9)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. 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)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy

            configureJavadocTool(jdkOther)
            configureExecutable(jdkCurrent)
    
            when:
            withInstallations(jdkCurrent, jdkOther).runAndFail(":javadoc")
    
            then:
            failureDescriptionStartsWith("Execution failed for task ':javadoc'.")
            failureHasCause("Toolchain from `executable` property does not match toolchain from `javadocTool` property")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SimpleJavaContinuousIntegrationTest.groovy

            testSourceFile << " broken "
    
            then:
            buildTriggeredAndFailed()
            failureDescriptionStartsWith("Execution failed for task ':compileTestJava'.")
    
            when:
            sourceFile << " broken "
    
            then:
            buildTriggeredAndFailed()
            failureDescriptionStartsWith("Execution failed for task ':compileJava'.")
    
            when:
            testSourceFile.text = "class ThingTest {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/AlreadyOnClasspathPluginUseIntegrationTest.groovy

            buildFile << requestPlugin("my-plugin", "1.0")
            file("a/build.gradle") << requestPlugin("my-plugin", "1.0.1")
    
            when:
            fails "help"
    
            then:
            failureDescriptionStartsWith("Error resolving plugin [id: 'my-plugin', version: '1.0.1']")
            failureHasCause("The request for this plugin could not be satisfied because the plugin is already on the classpath with a different version (1.0).")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top