Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,880 for failf (0.36 sec)

  1. security/pkg/pki/testdata/cert-verify-fail.pem

    Jianfei Hu <******@****.***> 1520814621 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 12 00:30:21 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

            }
    """
    
            when:
            fails "fail"
    
            then:
            failure.assertHasCause('Could not create an instance of type Thing.')
            failure.assertHasCause('Too many parameters provided for constructor for type Thing. Expected 0, received 1.')
        }
    
        def "object creation fails with ObjectInstantiationException when construction parameters provided for interface"() {
            given:
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_run.txt

    stdout FAIL
    stdout 'error here'
    ! stdout 'no tests to run'
    
    ! go test -v -run FuzzFoo/this
    stdout FAIL
    stdout 'error here'
    stdout '=== RUN   FuzzFoo/thisfails'
    stdout '--- FAIL: FuzzFoo/thisfails'
    stdout '=== RUN   FuzzFoo/thispasses'
    stdout '--- PASS: FuzzFoo/thispasses'
    ! stdout 'no tests to run'
    
    ! go test -v -run /this
    stdout FAIL
    stdout 'error here'
    stdout '=== RUN   FuzzFoo/thisfails'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 20:43:02 UTC 2021
    - 3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/InvalidConfigurationResolutionIntegrationTest.groovy

                    }
                }
            """
        }
    
        def "fail if a dependency is declared on a configuration which can not be declared against"() {
            given:
            buildFile << """
                dependencies {
                    compile 'module:foo:1.0'
                }
            """
    
            when:
            fails 'help'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptErrorIntegrationTest.groovy

        def "produces reasonable error message when task execution fails"() {
            externalScript << '''
    task doStuff {
        doLast {
            throw new RuntimeException('fail')
        }
    }
    '''
            when:
            fails 'doStuff'
    
            then:
            failure.assertHasDescription('Execution failed for task \':doStuff\'.')
                    .assertHasCause('fail')
                    .assertHasFileName("Script '${externalScript}'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/mutation/env_test.go

    		})
    	if err != nil {
    		t.Fatalf("fail to create env set: %v", err)
    	}
    	env, err := envSet.Env(environment.StoredExpressions)
    	if err != nil {
    		t.Fatalf("fail to setup env: %v", env)
    	}
    	return env
    }
    
    // mustCreateEnvWithOptional creates the default env for testing, with given option,
    // and set up the optional library with default configuration.
    // it fatally fails the test if the env fails to set up.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		},
    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    			execClientConfig: loggingConfig,
    			args:             strings.Split("bootstrap httpbin-794b576b6c-qx6pf", " "),
    			expectedString:   `config dump has no configuration type`,
    			wantException:    true,
    		},
    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyUnresolvedModuleIntegrationTest.groovy

                        }
    
                        // Try to resolve configuration "fail" - this fails due to the repository being disabled, and the original cause is also printed underneath
                        configurations.fail.files
                    }
                }
            """
    
            when:
            moduleA.pom.expectGetBlocking()
            fails('resolve', '--max-workers=1')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 11:51:18 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_json_panic_exit.txt

    # TODO(golang.org/issue/29062): this should fail in the future.
    go test -json ./exit0main
    stdout '"Action":"pass".*\n\z'
    ! stdout '"Test":.*\n\z'
    
    # 'go test -json' should say a test fails if it exits 1 and prints nothing.
    ! go test -json ./exit1main
    stdout '"Action":"fail".*\n\z'
    ! stdout '"Test":.*\n\z'
    
    # 'go test -json' should say a test fails if it panics.
    ! go test -json ./panic
    stdout '"Action":"fail".*\n\z'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/execution/ExecuteTaskActionBuildOperationTypeIntegrationTest.groovy

            buildScript """
                task t {
                    doLast {
                        throw new RuntimeException("fail")
                    }
                }
            """
            fails "t"
    
            then:
            operations.first(ExecuteTaskActionBuildOperationType).failure == "java.lang.RuntimeException: fail"
        }
    
        def "does not emit operation for non-executed task action"() {
            when:
            buildScript """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 11 12:06:28 UTC 2019
    - 2.2K bytes
    - Viewed (0)
Back to top