- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,190 for expectEq (0.07 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
assertFailsWith<IllegalArgumentException> { windowUpdate(0) }.also { expected -> assertThat(expected.message) .isEqualTo("windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: 0") } assertFailsWith<IllegalArgumentException> { windowUpdate(0x80000000L) }.also { expected -> assertThat(expected.message)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K 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) -
internal/event/arn_test.go
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 !reflect.DeepEqual(data, testCase.expectedData) { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data)) } } } } func TestARNUnmarshalXML(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.8K 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/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) -
internal/lsync/lrwmutex_test.go
locked := testSimpleWriteLock(t, 5*time.Second) expected := true if locked != expected { t.Errorf("TestSimpleWriteLockAcquired(): \nexpected %#v\ngot %#v", expected, locked) } } func TestSimpleWriteLockTimedOut(t *testing.T) { locked := testSimpleWriteLock(t, time.Second) expected := false if locked != expected {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 7.9K bytes - Viewed (0) -
internal/store/store_test.go
t.Fatalf("case[%v]: Expected key.Name: %v, got %v", i, testCase.expectedKey.Name, key.Name) } if testCase.expectedKey.Compress != key.Compress { t.Fatalf("case[%v]: Expected key.Compress: %v, got %v", i, testCase.expectedKey.Compress, key.Compress) } if testCase.expectedKey.Extension != key.Extension {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
.build() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("timeout") assertThat(call.isCanceled()).isTrue() } } @Test fun timeoutWritingRequestWithEnqueue() { server.enqueue(MockResponse()) val request =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long value : TEST_LONGS) { BigInteger expected = (value >= 0) ? BigInteger.valueOf(value) : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64)); assertWithMessage(UnsignedLongs.toString(value)) .that(UnsignedLong.fromLongBits(value).bigIntegerValue()) .isEqualTo(expected); } } public void testValueOfLong() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
public void testValues() { List<V> expected = Lists.newArrayList(); for (Entry<K, V> entry : getSampleElements()) { expected.add(entry.getValue()); } assertEqualIgnoringOrder(expected, multimap().values()); } @CollectionFeature.Require(KNOWN_ORDER) public void testValuesInOrder() { List<V> expected = Lists.newArrayList(); for (Entry<K, V> entry : getOrderedElements()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0)