Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 4,880 for failf (0.04 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

                }
            }
        }
    
        @Issue("https://github.com/junit-team/junit5/issues/2028 and https://github.com/gradle/gradle/issues/12073")
        def 'properly fails when engine fails during discovery #scenario'() {
            given:
            createSimpleJupiterTest()
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorIntegrationTest.groovy

                dependencies.implementation 'com:foo:1.0'
    
                assert conf.dependencies*.name == ["foo"]
    
                dependencies.implementation 'com:bar:1.0'
            """
    
            when:
            fails("help")
    
            then:
            failure.assertHasErrorOutput("The value for property 'implementation' property 'dependencies' is final and cannot be changed any further.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy

            'with stacktrace and --warning-mode=summary'    | WarningMode.Summary | 0             | true            | true
            'without stacktrace and --warning-mode=fail'    | WarningMode.Fail    | 5             | false           | false
            'with stacktrace and --warning-mode=fail'       | WarningMode.Fail    | 5             | false           | true
        }
    
        def 'build error and deprecation failure combined'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/PluginClasspathInjectionSupportedCheckModelProducerTest.groovy

        def delegate = Mock(ModelProducer)
    
        def "does not fail when feature is unsupported but classpath is empty"() {
            when:
            run("2.7", false)
    
            then:
            1 * delegate.produceModel(_, _)
        }
    
        def "fails when feature is unsupported and classpath is not empty"() {
            when:
            run("2.7", true)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy

                }
            """
            settingsFile << """
                include 'a', 'b'
            """
    
            expect:
            fails("a:foo", "b:foo", "--parallel")
    
            // We just need to assert that the build fails with the right error message here, it doesn't matter which task is the first to fail,
            // allowing either failure to pass the test should reduce flakiness on CI.
    
            def docLinkMessage = getDocLinkMessage()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cgo_undef.txt

    # because it won't know that it has to link against a/libb.a
    # (because we don't gather the #cgo LDFLAGS from all transitively
    # imported packages).
    #
    # The _cgo_import.go file is only needed for internal linking.
    # When generating _cgo_import.go for package c fails, an ordinary
    # external link should still work. But an internal link is expected
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 22 20:56:07 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBomResolveIntegrationTest.groovy

                    compile "group:main:5.0"
                }
            """
    
            when:
            fails 'checkDep'
    
            then:
            failure.assertHasCause "Could not find group:moduleA:."
        }
    
        def "a parent pom with dependency entries without versions does not fail the build"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_insecure_issue63845.txt

    # Regression test for https://go.dev/issue/63845:
    # If 'git ls-remote' fails for all secure protocols,
    # we should fail instead of falling back to an arbitrary protocol.
    #
    # Note that this test does not use the local vcweb test server
    # (vcs-test.golang.org), because the hook for redirecting to that
    # server bypasses the "ping to determine protocol" logic
    # in cmd/go/internal/vcs.
    
    [!net:golang.org] skip
    [!git] skip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 21:10:03 UTC 2023
    - 908 bytes
    - Viewed (0)
  9. pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go

    			skipOnWindows: true,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.desc, func(t *testing.T) {
    			// Skip tests that fail on Windows, as discussed during the SIG Testing meeting from January 10, 2023
    			if c.skipOnWindows && goruntime.GOOS == "windows" {
    				t.Skip("Skipping test that fails on Windows")
    			}
    
    			fs := utilfs.NewTempFs()
    			fs.MkdirAll(configDir, 0777)
    			path := filepath.Join(configDir, kubeletFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyHandlerProviderIntegrationTest.groovy

                conf lazyDep
            }
            """
    
            when:
            fails ":checkDeps"
    
            then:
            failure.assertHasCause """Cannot convert the provided notation to an object of type Dependency: 42.
    The following types/formats are supported:"""
        }
    
        @Issue("https://github.com/gradle/gradle/issues/13977")
        def "fails with reasonable error message if a Configuration is provided"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top