Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,473 for test0 (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a SortedSet. Can't be invoked directly; please see
     * {@code SortedSetTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests unconditional {@code setCount()} operations on a multiset. Can't
     * be invoked directly; please see {@link MultisetTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code isEmpty()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract base class for tests that EventBus finds the correct subscribers.
     *
     * <p>The actual tests are distributed among the other classes in this package based on whether they
     * are annotated or abstract in the superclass.
     *
     * <p>This test must be outside the c.g.c.eventbus package to test correctly.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. cmd/erasure-metadata_test.go

    		nonTieredTest(16, 4, 11),
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			if got := listObjectParities(test.metaArr, test.errs); !slices.Equal(got, test.parities) {
    				t.Fatalf("Expected parities %v but got %v", test.parities, got)
    			}
    			if got := commonParity(test.parities, len(test.metaArr)/2); got != test.parity {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. cmd/erasure_test.go

    			t.Errorf("Test %d: test should fail but it passed", i)
    		}
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: test should pass but it failed: %v", i, err)
    		}
    
    		decoded := encoded
    		if !test.shouldFail {
    			if test.reconstructParity {
    				for j := range decoded {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct shard %d", i, j)
    					}
    				}
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6SetTests extends TestsForSetsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6SetTests().allTests();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

    import java.util.TreeSet;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a NavigableSet. Can't be invoked directly; please
     * see {@code NavigableSetTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
      /** Run tests on equals method, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EqualsTester testEquals() {
        RelationshipTester<Object> delegate =
            new RelationshipTester<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top