Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,248 for test_ (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapPutTester<K, V> extends AbstractListMultimapTester<K, V> {
      // MultimapPutTester tests non-duplicate values, but ignores ordering
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAddsValueAtEnd() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/FunnelsTest.java

      }
    
      public void testForStrings() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.unencodedCharsFunnel().funnel("test", primitiveSink);
        verify(primitiveSink).putUnencodedChars("test");
      }
    
      public void testForStrings_null() {
        assertNullsThrowException(Funnels.unencodedCharsFunnel());
      }
    
      public void testForStringsCharset() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        this.tester = EquivalenceTester.of(equivalenceMock);
      }
    
      /** Test null reference yields error */
      public void testOf_nullPointerException() {
        assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null));
      }
    
      public void testTest_noData() {
        tester.test();
      }
    
      public void testTest() {
        Object group1Item1 = new TestObject(1, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        this.tester = EquivalenceTester.of(equivalenceMock);
      }
    
      /** Test null reference yields error */
      public void testOf_nullPointerException() {
        assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null));
      }
    
      public void testTest_noData() {
        tester.test();
      }
    
      public void testTest() {
        Object group1Item1 = new TestObject(1, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/IoTestCase.java

    import java.util.Set;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Base test case class for I/O tests.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     */
    public abstract class IoTestCase extends TestCase {
    
      private static final Logger logger = Logger.getLogger(IoTestCase.class.getName());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       *
       * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return
       * its input unmodified. Provided that the test suite is built without {@link
       * com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}, the tests will look
       * only at the returned contents without regard for order.
       */
      Iterable<E> order(List<E> insertionOrder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. internal/bucket/encryption/bucket-sse-config_test.go

    		if tc.shouldPass && err != nil {
    			t.Errorf("Test case %d: Expected to succeed but got %s", i+1, err)
    		}
    
    		if !tc.shouldPass {
    			if err == nil || err != nil && err.Error() != tc.expectedErr.Error() {
    				t.Errorf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err)
    			}
    			continue
    		}
    
    		if tc.keyID != "" && tc.keyID != ssec.KeyID() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
     * implementation.
     */
    @GwtIncompatible
    public class SortedMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> SortedMapTestSuiteBuilder<K, V> using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. docs/site-replication/run-ssec-object-replication.sh

    echo "Create bucket in source MinIO instance"
    ./mc mb minio1/test-bucket --insecure
    
    # Load objects to source site
    echo "Loading objects to source MinIO instance"
    set -x
    ./mc cp /tmp/data/plainfile minio1/test-bucket --insecure
    ./mc cp /tmp/data/encrypted minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. tests/preload_test.go

    				"Address.Country": {},
    			},
    			expect: org,
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			actual := Org{}
    			tx := DB.Where("id = ?", org.ID).Session(&gorm.Session{})
    			for name, args := range test.preloads {
    				tx = tx.Preload(name, args...)
    			}
    			if err := tx.Find(&actual).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top