Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for failureCauseContains (0.28 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy

            when:
            fails ":compileJava"
    
            then:
            assertConfigCacheDiscarded()
            failureCauseContains("An error happened while verifying 'org:foo:1.0'")
            failureCauseContains("The following trusted GPG IDs are not in a minimum 160-bit fingerprint format")
            failureCauseContains("'${longId}'")
    
            where:
            terse << [true, false]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 75.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

                    stringInput.convention("defaultValue")
                    stringInput = $selfReference
                }
            """
    
            when:
            fails "myTask"
    
            then:
            failureCauseContains("Circular evaluation detected")
    
            where:
            selfReference                                 || _
            "stringInput"                                 || _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorDslIntegrationTest.groovy

                testingCollector(${providerOf(singleString(FOO_GROUP, FOO_NAME, FOO_VERSION))})
            }
            """
    
            when:
            fails("dependencies")
    
            then:
            failureCauseContains(ERROR_MESSAGE_PROVIDER)
        }
    }
    
    class DependencyCollectorKotlinDslIntegrationTest extends DependencyCollectorDslIntegrationTest {
        GradleDsl getDsl() {
            return GradleDsl.KOTLIN
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 16:23:38 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy

                def p = myCollection.map { it.join(", ") }
                myCollection.add(p)
    
                myCollection.get()
            """
    
            when:
            fails "help"
    
            then:
            failureCauseContains("Circular evaluation detected")
    
            where:
            collection | initializer
            "list" | "listProperty"
            "set" | "setProperty"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:57:00 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsIntegrationTest.groovy

                }
            """
            fixture.prepare("conf")
    
            then:
            fails("checkDeps")
            fixture.assertFailurePresent(failure)
            failureCauseContains("Cannot resolve external dependency com.example:included-build")
        }
    
        def "a build can be included both as a plugin build and as regular build and can contribute both plugins and library components"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

            given:
            testDirectory.file('build/classes/java/test/com/example/Foo.class').text = "invalid class file"
    
            when:
            fails('test', '-x', 'compileTestJava')
    
            then:
            failureCauseContains("There were failing tests")
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
            result.testClassStartsWith('Gradle Test Executor')
                .assertTestCount(1, 1, 0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/DisambiguateArtifactTransformIntegrationTest.groovy

            output.count("Transforming test-1.3.jar to test-1.3.jar.txt") == 1
    
            when:
            fails 'resolve', '-PextraAttribute'
    
            then:
            failureCauseContains('Found multiple transforms')
        }
    
        def "transform with two attributes will not confuse"() {
            given:
            buildFile << """
    ${artifactTransform("AarRelease", "release")}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

            when:
            fails "broken"
            then:
            executedAndNotSkipped ":broken"
            failureDescriptionContains("Execution failed for task ':broken'.")
            failureCauseContains(cause)
        }
    
        void assertMissingDependency(String producerTask, String consumerTask, File... producedConsumedLocations) {
            expectReindentedValidationMessage()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                }
                test.${configureTestFramework}
            """
    
            when:
            fails('test', '-x', 'compileTestJava')
    
            then:
            failureCauseContains("There were failing tests")
            DefaultTestExecutionResult testResult = new DefaultTestExecutionResult(testDirectory)
            assertFailedToExecute(testResult, 'com.example.Foo').assertTestCount(1, 1, 0)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy

            // Remove last line
            buildFile.text = buildFile.text.readLines().findAll { !it.trim().startsWith('sourceSets') }.join('\n')
            fails language.compileTaskName
    
            then:
            failureCauseContains('Compilation failed')
        }
    
        @Issue("https://github.com/gradle/gradle/issues/19257")
        def "recompiles classes with \$ in class name after rename"() {
            def firstSource = source "class Class\$Name {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 16.5K bytes
    - Viewed (0)
Back to top