Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 440 for test_case (1.29 sec)

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

    import java.util.Map.Entry;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    @NullUnmarked
    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          entry ->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    @NullUnmarked
    public class FakeTimeLimiterTest extends TestCase {
    
      private static final int DELAY_MS = 50;
      private static final String RETURN_VALUE = "abc";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractLoadingCache}.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class AbstractLoadingCacheTest extends TestCase {
    
      public void testGetUnchecked_checked() {
        Exception cause = new Exception();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

    import java.util.SortedMap;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link MultimapBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class MultimapBuilderTest extends TestCase {
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for AbstractStreamingHasher.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test for {@link WrappingExecutorService}
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class WrappingExecutorServiceTest extends TestCase {
      private static final String RESULT_VALUE = "ran";
    
      // Uninteresting delegations
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basher test for {@link AtomicLongMap}.
     *
     * @author mike nonemacher
     */
    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    @NullUnmarked
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/MultiReaderTest.java

    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author ricebin
     */
    @NullUnmarked
    public class MultiReaderTest extends TestCase {
    
      public void testOnlyOneOpen() throws Exception {
        String testString = "abcdefgh";
        CharSource source = newCharSource(testString);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test of {@link MutableClassToInstanceMap}.
     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    public class MutableClassToInstanceMapTest extends TestCase {
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link StandardSystemProperty}.
     *
     * @author Kurt Alfred Kluever
     */
    @GwtIncompatible
    @NullUnmarked
    public class StandardSystemPropertyTest extends TestCase {
    
      public void testGetKeyMatchesString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top