- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 3,316 for nfail (0.07 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) { try { // fine because the call is going to fail without modifying the entry @SuppressWarnings("unchecked") Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry; nullableValueEntry.setValue(null); fail("setValue on unmodifiable Map.Entry succeeded"); } catch (UnsupportedOperationException expected) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 20:31:37 UTC 2024 - 14.7K bytes - Viewed (0) -
pkg/credentialprovider/config_test.go
if (err != nil) != tt.fail { t.Errorf("case %d: expected fail=%t, got err=%v", i, tt.fail, err) } if !reflect.DeepEqual(tt.expect, output) { t.Errorf("case %d: expected output %#v, got %#v", i, tt.expect, output) } } } func TestDecodeDockerConfigFieldAuth(t *testing.T) { tests := []struct { input string username string password string fail bool }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 19 15:11:57 UTC 2023 - 10.7K bytes - Viewed (0) -
src/testing/example.go
fail = fmt.Sprintf("got:\n%s\nwant (unordered):\n%s\n", stdout, eg.Output) } } else { if got != want && recovered == nil { fail = fmt.Sprintf("got:\n%s\nwant:\n%s\n", got, want) } } if fail != "" || !finished || recovered != nil { fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail) passed = false } else if chatty.on {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher_test.go
returnedName: "test1", }, { name: "test error, no fail policy", evaluations: []cel.EvaluationResult{ { EvalResult: celtypes.True, ExpressionAccessor: &MatchCondition{}, }, }, shouldMatch: true, throwError: true, expectError: "test error", }, { name: "test error, fail policy fail", evaluations: []cel.EvaluationResult{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 00:53:08 UTC 2023 - 8.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt
fail("Encoding $component $codePoint using $encoding") } return } // Check that the URI and HttpURL have the exact same escaping. if (toAndFromUri != httpUrl) { fail("Encoding $component $codePoint using $encoding") } if (uri.toString() != httpUrl.toString()) { fail("Encoding $component $codePoint using $encoding") }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
test/typeparam/issue51522b.go
// license that can be found in the LICENSE file. package main func f[T comparable](i any) { var t T switch i { case t: // ok default: println("FAIL: switch i") } switch t { case i: // ok default: println("FAIL: switch t") } } type myint int func (m myint) foo() { } type fooer interface { foo() } type comparableFoo interface { comparable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 10 19:30:33 UTC 2022 - 730 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
Preconditions.checkArgument(false); fail("no exception thrown"); } catch (IllegalArgumentException expected) { } } public void testCheckArgument_simpleMessage_success() { Preconditions.checkArgument(true, IGNORE_ME); } public void testCheckArgument_simpleMessage_failure() { try { Preconditions.checkArgument(false, new Message()); fail("no exception thrown");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 19.8K bytes - Viewed (0) -
test/const4.go
println("BUG:", n1, n2, n3, n4, n5, n6, n7) panic("fail") } if !calledF { println("BUG: did not call f") panic("fail") } if <-c == nil { println("BUG: did not receive from c") panic("fail") } if !calledG { println("BUG: did not call g") panic("fail") } if <-c1 == nil { println("BUG: did not receive from c1") panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 11 14:36:33 UTC 2015 - 1.3K bytes - Viewed (0) -
src/go/doc/testdata/testing.2.golden
N int // contains filtered or unexported fields } // Error is equivalent to Log() followed by Fail(). func (c *B) Error(args ...any) // Errorf is equivalent to Logf() followed by Fail(). func (c *B) Errorf(format string, args ...any) // Fail marks the function as having failed but continues ... func (c *B) Fail() // FailNow marks the function as having failed and stops its ... func (c *B) FailNow()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 4.1K 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)