- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 522 for assertThat (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.isDone()).isFalse(); assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } public void testSetFutureNull() throws Exception { assertThrows(NullPointerException.class, () -> future.setFuture(null)); assertThat(future.isDone()).isFalse(); assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
} public void testCount() { assertThat(emptyAccumulator.count()).isEqualTo(0); assertThat(emptyAccumulatorByAddAllEmptyPairedStats.count()).isEqualTo(0); assertThat(oneValueAccumulator.count()).isEqualTo(1); assertThat(oneValueAccumulatorByAddAllEmptyPairedStats.count()).isEqualTo(1); assertThat(twoValuesAccumulator.count()).isEqualTo(2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 21:17:33 UTC 2024 - 23.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Integer.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Number.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Object.class))); assertThat(it.hasNext(), is(not(true))); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java
assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(sameInstance(beanDesc))); } /** * @throws Exception */ @Test public void testClear() throws Exception { final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class); BeanDescFactory.clear();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.3K bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionMultipleInstancesTest.kt
defaultInstancePort = defaultInstance.port instanceAPort = instanceA.port instanceBPort = instanceB.port assertThat(defaultInstance.started).isTrue() assertThat(instanceA.started).isTrue() assertThat(instanceB.started).isTrue() assertThat(defaultInstancePort).isNotEqualTo(instanceAPort) assertThat(defaultInstancePort).isNotEqualTo(instanceBPort) } @AfterEach fun tearDown(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt
} assertThat(pairs).containsExactly("a" to "b", "c" to "d") } @Test fun builderGetOperator() { val builder = Headers.Builder() builder.add("a", "b") builder.add("c", "d") assertThat(builder["a"]).isEqualTo("b") assertThat(builder["c"]).isEqualTo("d") assertThat(builder["e"]).isNull() } @Test fun builderSetOperator() { val builder = Headers.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Dec 21 01:54:49 UTC 2023 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
assertEquals(I18N, Resources.toString(resource, UTF_8)); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N); } public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); } public void testReadLines() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
.build() executeSynchronously(request) .assertFailureMatches("stream was reset: REFUSED_STREAM") assertThat(client.routeDatabase.failedRoutes).isEmpty() assertThat(server1.requestCount).isEqualTo(1) assertThat(server2.requestCount).isEqualTo(0) assertThat(clientTestRule.recordedConnectionEventTypes()).containsExactly( "ConnectStart", "ConnectEnd", "ConnectionAcquired",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue May 14 17:48:07 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getProtocol()).isEqualTo("file"); assertThat(urls.get(0).getAuthority()).isNull(); assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
Stopwatch stopwatch = Stopwatch.createStarted(); String result = proxy.sleepThenReturnInput("x"); assertThat(result).isEqualTo("x"); assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); assertThat(target.finished).isTrue(); } public void testNewProxy_goodMethodWithNotEnoughTime() throws Exception { SampleImpl target = new SampleImpl(9999);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.5K bytes - Viewed (0)