- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,526 for expected (0.07 sec)
-
cmd/copy-part-range_test.go
if err != nil { t.Fatalf("expected: <nil>, got: %s", err) } start, length, err1 := rs.GetOffsetLength(objectSize) if err1 != nil { t.Fatalf("expected: <nil>, got: %s", err1) } if start != successCase.offsetBegin { t.Fatalf("expected: %d, got: %d", successCase.offsetBegin, start) } if start+length-1 != successCase.offsetEnd {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
} @J2ktIncompatible @GwtIncompatible // propagate public void testPropagate_noneDeclared_checked() { RuntimeException expected = assertThrows(RuntimeException.class, () -> propagate(new SomeCheckedException())); assertThat(expected).hasCauseThat().isInstanceOf(SomeCheckedException.class); } @GwtIncompatible // throwIfInstanceOf
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 14.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
+ "expected = " + expected + ", actual = " + actual); } } public static void assertContentsInOrder(Iterable<?> actual, Object... expected) { assertEqualInOrder(asList(expected), actual); } public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
hasher.putInt(intToPut); } for (Sink sink : sinks) { HashCode unused = sink.hash(); } byte[] expected = controlSink.hash().asBytes(); for (Sink sink : sinks) { sink.assertInvariants(expected.length); sink.assertBytes(expected); } } } private static class Sink extends AbstractStreamingHasher { final int chunkSize;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/os-readdir_test.go
// checkResult - checks whether entries are got are same as expected entries. func checkResult(expected []string, got []string) bool { // If length of expected and got slice are different, the test actually failed. if len(expected) != len(got) { return false } for i := range expected { // If entry in expected is not same as entry it got, the test is failed. if expected[i] != got[i] { return false } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* * @param elements expected additional contents of {@link #container} */ protected final void expectAdded(E... elements) { List<E> expected = copyToList(getSampleElements()); expected.addAll(asList(elements)); expectContents(expected); } protected final void expectAdded(int index, E... elements) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
if err != testCase.expectedErr { t.Fatalf("%+v: expected = %s, got: %s", testCase, testCase.expectedErr, err) } if index != testCase.expectedIndex { t.Fatalf("%+v: index: expected = %d, got: %d", testCase, testCase.expectedIndex, index) } if offset != testCase.expectedOffset { t.Fatalf("%+v: offset: expected = %d, got: %d", testCase, testCase.expectedOffset, offset) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:02:50 UTC 2024 - 13.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray(); for (int i = 0; i < expected.length; i++) { if (expected[i].equals(samples.e0())) { expected[i] = samples.e3(); } } expectContents(expected); } @CollectionSize.Require(absent = ZERO) @ListFeature.Require(absent = SUPPORTS_SET)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
public void testEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Map<K, Collection<V>> expected = Maps.newHashMap(); expected.put(k0(), newHashSet(v0(), v3())); expected.put(k1(), newHashSet(v0())); new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals(); } @CollectionSize.Require(SEVERAL) public void testEntrySetEquals() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
internal/config/lambda/event/arn_test.go
} for i, testCase := range testCases { arn, err := ParseARN(testCase.s) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if *arn != *testCase.expectedARN { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedARN, arn) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 2.2K bytes - Viewed (0)