Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for failureDescriptionStartsWith (0.43 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/DeployedPortalIntegrationSpec.groovy

                plugins {
                    id "org.gradle.non-existing" version "1.0"
                }
            """
    
            then:
            fails("dependencies")
    
            and:
            failureDescriptionStartsWith("Plugin [id: 'org.gradle.non-existing', version: '1.0'] was not found in any of the following sources:")
            failureDescriptionContains("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. 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)
Back to top