Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,420 for void (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testNewBuilder() {
        CacheLoader<Object, Integer> loader = constantLoader(1);
    
        LoadingCache<String, Integer> cache =
            CacheBuilder.newBuilder().removalListener(countingRemovalListener()).build(loader);
    
        assertEquals(Integer.valueOf(1), cache.getUnchecked("one"));
        assertEquals(1, cache.size());
      }
    
      public void testInitialCapacity_negative() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      public void testOf0() {
        assertThat(ImmutableLongArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L);
      }
    
      public void testOf2() {
        assertThat(ImmutableLongArray.of(0, 1).asList()).containsExactly(0L, 1L).inOrder();
      }
    
      public void testOf3() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
Back to top