- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 4,304 for void (0.19 sec)
-
guava-tests/test/com/google/common/collect/ObjectArraysTest.java
} public void testPrependTwoElements() { String[] result = ObjectArrays.concat("foo", new String[] {"bar", "baz"}); assertThat(result).asList().containsExactly("foo", "bar", "baz").inOrder(); } public void testAppendZeroElements() { String[] result = ObjectArrays.concat(new String[] {}, "foo"); assertThat(result).asList().contains("foo"); } public void testAppendOneElement() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} public void testSubmit_runnable_throwsException() throws Exception { final RuntimeException exception = new RuntimeException("Exception for testing"); Runnable runnable = new Runnable() { @Override public void run() { throw exception; } }; ListenableFuture<@Nullable Void> future = submit(runnable, directExecutor());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
// retainAll(empty) @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmpty() { expectReturnsFalse(empty); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmptyUnsupported() { expectReturnsFalseOrThrows(empty); expectUnchanged(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
} @Override protected void doStart() { new Thread() { @Override public void run() { Uninterruptibles.sleepUninterruptibly(delay, TimeUnit.MILLISECONDS); notifyStarted(); } }.start(); } @Override protected void doStop() { new Thread() { @Override public void run() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 02 17:20:27 GMT 2023 - 23.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/StreamsTest.java
.inOrder(); } public void testStream_optionalInt() { assertThat(stream(OptionalInt.empty())).isEmpty(); assertThat(stream(OptionalInt.of(5))).containsExactly(5); } public void testStream_optionalLong() { assertThat(stream(OptionalLong.empty())).isEmpty(); assertThat(stream(OptionalLong.of(5L))).containsExactly(5L); } public void testStream_optionalDouble() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
public class PreconditionsTest extends TestCase { public void testCheckArgument_simple_success() { Preconditions.checkArgument(true); } public void testCheckArgument_simple_failure() { try { Preconditions.checkArgument(false); fail("no exception thrown"); } catch (IllegalArgumentException expected) { } } public void testCheckArgument_simpleMessage_success() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java
} @Override public void projectDiscoveryStarted(ExecutionEvent event) { dispatcher.onEvent(event); delegate.projectDiscoveryStarted(event); } @Override public void sessionStarted(ExecutionEvent event) { dispatcher.onEvent(event); delegate.sessionStarted(event); } @Override public void sessionEnded(ExecutionEvent event) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 3.9K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
public class FuturesGetCheckedTest extends TestCase { // Boring untimed-get tests: public void testGetCheckedUntimed_success() throws TwoArgConstructorException { assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class)); } public void testGetCheckedUntimed_interrupted() { SettableFuture<String> future = SettableFuture.create(); Thread.currentThread().interrupt();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
*/ @Test public abstract void incidentEdges_checkReturnedSetMutability(); @Test public void nodes_oneNode() { addNode(N1); assertThat(graph.nodes()).containsExactly(N1); } @Test public void nodes_noNodes() { assertThat(graph.nodes()).isEmpty(); } @Test public void adjacentNodes_oneEdge() { putEdge(N1, N2);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
} private static void checkSha1(String expected, byte[] key, String data) { checkSha1(expected, key, data.getBytes(UTF_8)); } private static void checkSha1(String expected, byte[] key, byte[] data) { checkHmac(expected, Hashing.hmacSha1(key), data); } private static void checkMd5(String expected, byte[] key, String data) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.8K bytes - Viewed (0)