- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,096 for failf (0.11 sec)
-
src/flag/flag.go
// errParse is returned by Set if a flag's value fails to parse, such as with an invalid integer for Int. // It then gets wrapped through failf to provide more information. var errParse = errors.New("parse error") // errRange is returned by Set if a flag's value is out of range. // It then gets wrapped through failf to provide more information. var errRange = errors.New("value out of range")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 39.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy
Failed tests: Test example.MyFailingTest#fail (Task: :secondTest) Test example.MyFailingTest#fail2 (Task: :secondTest) Test example.MyFailingTest#fail (Task: :test) Test example.MyFailingTest#fail2 (Task: :test)""" when: launchTests { TestLauncher testLauncher -> testLauncher.withJvmTestMethods("example.MyFailingTest", "fail") } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-fail-first-gen-first.go
// Write an invalid batch event for the next generation. t.RawEvent(go122.EvEventBatch, nil, 2 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 50 /*batch length (invalid)*/) // We should fail at the first issue, not the second one. t.ExpectFailure("expected a proc but didn't have one")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.7K bytes - Viewed (0) -
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) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFlowScopeIntegrationTest.groovy
when: 'task fails' buildFile ''' tasks.register('fail') { doLast { assert false } } ''' configurationCacheFails 'fail' then: 'flow action reacts to build failure' outputContains '(red)' configCache.assertStateStored() when: 'task from cache fails' configurationCacheFails 'fail'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginEndOfBuildCallbackIntegrationTest.groovy
} def "end of build listener may fail with an exception"() { when: fails succeedingTaskName, "-Dbuild-listener-failure" then: plugin.assertEndOfBuildWithFailure(output, null) failure.assertHasDescription("broken") when: fails succeedingTaskName, "-Dbuild-listener-failure" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy
} """ when: fails ':help' then: result.assertTaskExecuted(':buildSrc:jar') result.assertTaskNotExecuted(':help') failure.assertHasCause('Cannot resolve external dependency org:module:1.0 because no repositories are defined.') } // fails to delete directory under Windows otherwise
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:56:27 UTC 2024 - 25.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy
""" expect: fails() failure.assertHasLineNumber(4) failure.assertHasCause("Could not set unknown property 'p1' for root project 'test' of type ${Project.name}.") } def failsWhenInvokingUnknownMethodOnProject() { buildFile """ unknown(12, "things") """ expect: fails() failure.assertHasLineNumber(2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} assertTrue(millisElapsedSince(startTime) >= timeoutMillis); } /** Fails with message "should throw exception". */ public void shouldThrow() { fail("Should throw exception"); } /** Fails with message "should throw " + exceptionName. */ public void shouldThrow(String exceptionName) { fail("Should throw " + exceptionName); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 37.7K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-fail-first-gen-first.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 256 bytes - Viewed (0)