- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,188 for Expected (0.21 sec)
-
guava-tests/test/com/google/common/io/CloserTest.java
try { try { throw exception; } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } catch (Throwable expected) { assertSame(exception, expected); } assertTrue(c1.isClosed()); assertTrue(c2.isClosed()); assertTrue(suppressor.suppressions.isEmpty()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
StringBuilder input = new StringBuilder(); StringBuilder expected = new StringBuilder(); for (int i = 256; i < 1024; i++) { input.append((char) i); expected.append("[" + i + "]"); } assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString())); } public void testSurrogatePairs() { UnicodeEscaper e = SIMPLE_ESCAPER;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
StringBuilder input = new StringBuilder(); StringBuilder expected = new StringBuilder(); for (int i = 256; i < 1024; i++) { input.append((char) i); expected.append("[" + i + "]"); } assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString())); } public void testSurrogatePairs() { UnicodeEscaper e = SIMPLE_ESCAPER;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java
Set<Multiset.Entry<E>> expected = getMultiset().entrySet(); assertEquals(expected, SerializableTester.reserialize(expected)); } @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS) public void testElementSetSerialization() { Set<E> expected = getMultiset().elementSet(); assertEquals(expected, SerializableTester.reserialize(expected)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.9K bytes - Viewed (0) -
internal/s3select/jstream/decoder_test.go
) decoder := NewDecoder(mkReader(body), 1) for mv = range decoder.Stream() { if mv.Value != expected[counter].Value { t.Fatalf("got %v, expected: %v", mv.Value, expected[counter]) } if mv.ValueType != expected[counter].ValueType { t.Fatalf("got %v value type, expected: %v value type", mv.ValueType, expected[counter].ValueType) } counter++
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 6.6K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
if err != nil && testCase.shouldPass { t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error()) } if err == nil && !testCase.shouldPass { t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error()) } // Failed as expected, but does it fail for the expected reason. if err != nil && !testCase.shouldPass {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
fail("size mismatch: " + reportContext(expectedList)); } for (int i = 0; i < expectedList.size(); i++) { E expected = expectedList.get(i); E actual = getList().get(i); if (expected != actual && (expected == null || !expected.equals(actual))) { fail("mismatch at index " + i + ": " + reportContext(expectedList)); } } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } try { multiset.add(entry.getElement()); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } try { multiset.addAll(singletonList(entry.getElement())); fail("Expected IllegalArgumentException");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.1K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
"istio-injection": "enabled", }), } client := kube.NewFakeClient(nss...) expected := sets.New[string]("default", "no-ambient") actual, err := getNamespaces(context.TODO(), client, "istio-system") assert.NoError(t, err) for _, ns := range actual { assert.Equal(t, true, expected.Contains(ns.Name)) } } func Test_injectionDisabled(t *testing.T) { cases := []struct {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/handlers/proxy_test.go
package handlers import ( "net/http" "testing" ) type headerTest struct { key string // header key val string // header val expected string // expected result } func TestGetScheme(t *testing.T) { headers := []headerTest{ {xForwardedProto, "https", "https"}, {xForwardedProto, "http", "http"}, {xForwardedProto, "HTTP", "http"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 3.2K bytes - Viewed (0)