Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for assertThatCause (0.28 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

            fails 'printResolvedValues'
    
            and:
            failure.assertHasLineNumber(111)
            failure.assertHasCause("Cannot set property: $varname for class: Props to value: java.lang.Object")
            failure.assertThatCause(containsString('''The following types/formats are supported:
      - A String or CharSequence
      - Any Number'''))
    
            where:
            // not including char, Character, and String since Groovy auto-coerces to String,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/HttpProxyScriptPluginIntegrationSpec.groovy

            and:
            failure.assertHasDescription("A problem occurred evaluating root project 'project'.")
                    .assertHasCause("Could not get resource '${server.uri}/external.gradle'.")
                    .assertThatCause(CoreMatchers.containsString("Proxy Authentication Required"))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/DeprecatedTLSVersionDependencyResolutionIntegrationTest.groovy

            executer.withStackTraceChecksDisabled()
            fails('checkDeps')
    
            and:
            failedResolve.assertFailurePresent(failure)
            failure.assertHasCause("Could not GET '$server.uri")
            failure.assertThatCause(
                allOf(
                    anyOf(
                        startsWith("The server does not support the client's requested TLS protocol versions:"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

    """
    
            expect:
            fails "assemble"
            failure.assertHasDescription("Execution failed for task ':compileDebugCpp'.")
            failure.assertHasCause("A build operation failed.")
            failure.assertThatCause(containsText("C++ compiler failed while compiling broken.cpp"))
        }
    
        @ToBeFixedForConfigurationCache
        def "finds C and C++ standard library headers"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/AbstractSwiftIntegrationTest.groovy

            expect:
            fails "assemble"
            failure.assertHasDescription("Execution failed for task '$developmentBinaryCompileTask'.")
            failure.assertHasCause("A build operation failed.")
            failure.assertThatCause(Matchers.containsText("Swift compiler failed while compiling swift file(s)"))
        }
    
        // TODO Move this to AbstractSwiftComponentIntegrationTest when xcode test works properly with architecture
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java

            }
            return this;
        }
    
        @Override
        public ExecutionFailure assertHasCause(String description) {
            assertThatCause(startsWith(description));
            return this;
        }
    
        @Override
        public ExecutionFailure assertThatCause(Matcher<? super String> matcher) {
            Set<String> seen = new LinkedHashSet<>();
            for (Problem problem : problems) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy

            then:
            failure.assertThatCause(containsText("""
    2 artifacts failed verification:
      - monitor-1.0.jar (org:monitor:1.0) from repository maven
      - monitor-1.0.pom (org:monitor:1.0) from repository maven"""))
    
            when:
            executer.requireIsolatedDaemons()
            fails "resolveCompileClasspath"
    
            then:
            failure.assertThatCause(containsText("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageIntegrationTest.groovy

            expect:
            fails "mainExecutable"
            failure.assertHasDescription("Execution failed for task ':compileMainExecutableMainCpp'.")
            failure.assertHasCause("A build operation failed.")
            failure.assertThatCause(containsText("C++ compiler failed while compiling broken.cpp"))
        }
    
        @ToBeFixedForConfigurationCache
        def "finds C and C++ standard library headers"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

                .withPluginClasspath(plugin.implClasspath)
                .buildAndFail()
    
            then:
            // This is how the class not being visible will manifest
            execFailure(result).assertThatCause(
                anyOf(
                    containsString("Could not get unknown property 'org' for task ':echo1' of type org.gradle.api.DefaultTask."),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesIntegrationTest.groovy

            expect:
            fails "mainExecutable"
            failure.assertHasDescription("Execution failed for task ':compileMainExecutableMainRc'.")
            failure.assertHasCause("A build operation failed.")
            failure.assertThatCause(containsText("Windows resource compiler failed while compiling broken.rc"))
        }
    
        def "can create resources-only shared library"() {
            given:
            buildFile << """
    model {
        components {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top