Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 3,883 for void (0.03 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                .createTestSuite());
    
        return suite;
      }
    
      // Creation tests
    
      public void testEmptyBuilder() {
        ImmutableMap<String, Integer> map = new Builder<String, Integer>().buildOrThrow();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testSingletonBuilder() {
        ImmutableMap<String, Integer> map = new Builder<String, Integer>().put("one", 1).buildOrThrow();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        }
      }
    
      public void testPriority_tooLow() {
        assertThrows(
            IllegalArgumentException.class, () -> builder.setPriority(Thread.MIN_PRIORITY - 1));
      }
    
      public void testPriority_tooHigh() {
        assertThrows(
            IllegalArgumentException.class, () -> builder.setPriority(Thread.MAX_PRIORITY + 1));
      }
    
      public void testUncaughtExceptionHandler_custom() {
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      public void testMemoize() {
        memoizeTest(new CountingSupplier());
        memoizeTest(new SerializableCountingSupplier());
      }
    
      private void memoizeTest(CountingSupplier countingSupplier) {
        Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
        checkMemoize(countingSupplier, memoizedSupplier);
      }
    
      public void testMemoize_redudantly() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      public void testMemoize() {
        memoizeTest(new CountingSupplier());
        memoizeTest(new SerializableCountingSupplier());
      }
    
      private void memoizeTest(CountingSupplier countingSupplier) {
        Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
        checkMemoize(countingSupplier, memoizedSupplier);
      }
    
      public void testMemoize_redudantly() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAbsent() {
        assertFalse(multimap().remove(k0(), v1()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemovePresent() {
        assertTrue(multimap().remove(k0(), v0()));
    
        assertFalse(multimap().containsEntry(k0(), v0()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAbsent() {
        assertFalse(multimap().remove(k0(), v1()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemovePresent() {
        assertTrue(multimap().remove(k0(), v0()));
    
        assertFalse(multimap().containsEntry(k0(), v0()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        extends AbstractCollectionTester<E> {
      public void testIterator() {
        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        assertEqualIgnoringOrder(asList(createSamplesArray()), iteratorElements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testIterationOrdering() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractEntity.java

            return __modifiedProperties.getPropertyNames();
        }
    
        public void mymodifyProperty(String propertyName) {
            registerModifiedProperty(propertyName);
        }
    
        public void mymodifyPropertyCancel(String propertyName) {
            __modifiedProperties.remove(propertyName);
        }
    
        public void clearModifiedInfo() {
            __modifiedProperties.clear();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      public void testInitialState() {
        assertFalse(stopwatch.isRunning());
        assertEquals(0, stopwatch.elapsed(NANOSECONDS));
      }
    
      public void testStart() {
        assertSame(stopwatch, stopwatch.start());
        assertTrue(stopwatch.isRunning());
      }
    
      public void testStart_whileRunning() {
        stopwatch.start();
        assertThrows(IllegalStateException.class, stopwatch::start);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/FunnelsTest.java

    public class FunnelsTest extends TestCase {
      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink);
        verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1});
      }
    
      public void testForBytes_null() {
        assertNullsThrowException(Funnels.byteArrayFunnel());
      }
    
      public void testForStrings() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top