- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,270 for expectEq (0.07 sec)
-
guava-tests/test/com/google/common/net/PercentEscaperTest.java
String msg = "Alphanumeric characters are always 'safe' " + "and should not be explicitly specified"; IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> new PercentEscaper("-+#abc.!", false)); assertThat(expected).hasMessageThat().isEqualTo(msg); } public void testBadArguments_plusforspace() { // space can be a safe char if plusForSpace is false
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java
Platform.format("remove(%d) should return the element at index %d", index, index), getList().get(index), getList().remove(index)); List<E> expected = copyToList(createSamplesArray()); expected.remove(index); expectContents(expected); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
} public void testFailed() { Exception failureCause = new Exception(); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause))); assertThat(expected).hasCauseThat().isEqualTo(failureCause); } public void testCancelled() throws ExecutionException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
public class MultisetSetCountConditionallyTester<E> extends AbstractMultisetSetCountTester<E> { @Override void setCountCheckReturnValue(E element, int count) { assertTrue( "setCount() with the correct expected present count should return true", setCount(element, count)); } @Override void setCountNoCheckReturnValue(E element, int count) { setCount(element, count); } @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt
.build() }.also { expected -> assertThat(expected.message) .isEqualTo("At least one TLS version is required") } } @Test fun noCipherSuites() { assertFailsWith<IllegalArgumentException> { ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) .cipherSuites(*arrayOf<CipherSuite>()) .build() }.also { expected -> assertThat(expected.message)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java
public void testNoReentrantEvents() { ReentrantEventsHater hater = new ReentrantEventsHater(); bus.register(hater); bus.post(FIRST); assertEquals( "ReentrantEventHater expected 2 events", Lists.<Object>newArrayList(FIRST, SECOND), hater.eventsReceived); } public class ReentrantEventsHater { boolean ready = true;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs_test.go
if err != nil { t.Errorf("Case %d: Unexpected error: %v", i+1, err) continue } if !tval.Equal(tc.t) { t.Errorf("Case %d: Expected %v got %v", i+1, tc.t, tval) continue } tstr := FormatSQLTimestamp(tc.t) if tstr != tc.s { t.Errorf("Case %d: Expected %s got %s", i+1, tc.s, tstr) continue } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.2K bytes - Viewed (0) -
cmd/signature-v4-utils.go
} switch header { case "expect": // Golang http server strips off 'Expect' header, if the // client sent this as part of signed headers we need to // handle otherwise we would see a signature mismatch. // `aws-cli` sets this as part of signed headers. // // According to // http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20 // Expect header is always of form: //
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (0)