Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 708 for testDate (0.08 sec)

  1. guava-tests/test/com/google/common/base/ThrowablesTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("deprecation") // tests of numerous deprecated methods
    public class ThrowablesTest extends TestCase {
      public void testThrowIfUnchecked_unchecked() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    public final class MapTestSuiteBuilderTests extends TestCase {
      private MapTestSuiteBuilderTests() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Futures#getChecked(Future, Class)}. */
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
        assertNull(spec.initialCapacity);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Tests for {@link ExecutionSequencer} */
    public class ExecutionSequencerTest extends TestCase {
    
      ExecutorService executor;
    
      private ExecutionSequencer serializer;
      private SettableFuture<@Nullable Void> firstFuture;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test case for {@link ConcurrentHashMultiset}.
     *
     * @author Cliff L. Biffle
     * @author mike nonemacher
     */
    public class ConcurrentHashMultisetTest extends TestCase {
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

    import java.security.Policy;
    import java.security.ProtectionDomain;
    import java.util.concurrent.Callable;
    import java.util.concurrent.Semaphore;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /**
     * Tests that the {@code ClassLoader} of {@link FinalizableReferenceQueue} can be unloaded. These
     * tests are separate from {@link FinalizableReferenceQueueTest} so that they can be excluded from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link PeekingIterator}.
     *
     * @author Mick Killianey
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class PeekingIteratorTest extends TestCase {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/HashBiMapTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@link HashBiMap}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class HashBiMapTest extends TestCase {
    
      public static final class HashBiMapGenerator extends TestStringBiMapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractStreamingHasher.
     *
     * @author Dimitris Andreou
     */
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top