Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 490 for TestCase (0.05 sec)

  1. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

    import com.google.common.testing.NullPointerTester;
    import java.io.ByteArrayOutputStream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link HashingOutputStream}.
     *
     * @author Zoe Piepmeier
     */
    @NullUnmarked
    public class HashingOutputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.util.Locale;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    @NullUnmarked
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for SortedLists.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class SortedListsTest extends TestCase {
      private static final ImmutableList<Integer> LIST_WITH_DUPS =
          ImmutableList.of(1, 1, 2, 4, 4, 4, 8);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

    import java.util.NoSuchElementException;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Tests for {@link AbstractSequentialIterator}. */
    @GwtCompatible
    @NullMarked
    public class AbstractSequentialIteratorTest extends TestCase {
      @GwtIncompatible // Too slow
      public void testDoublerExhaustive() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for CompactHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    @NullUnmarked
    public class CompactHashSetTest extends TestCase {
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java

    import com.google.common.annotations.GwtCompatible;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Unit test for {@link ComparisonChain}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class ComparisonChainTest extends TestCase {
      private static final DontCompareMe DONT_COMPARE_ME = new DontCompareMe();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format_test.go

    		{5 * humanize.MiByte, 2 * humanize.MiByte, 4, 0},
    	}
    
    	for i, testCase := range testCases {
    		s, err := calculatePartSizeFromIdx(GlobalContext, testCase.totalSize, testCase.partSize, testCase.partIndex)
    		if err != nil {
    			t.Errorf("Test %d: Expected to pass but failed. %s", i+1, err)
    		}
    		if err == nil && s != testCase.expectedSize {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

    import java.io.Serializable;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    @NullUnmarked
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. 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)
Back to top