Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 2,185 for test0 (0.02 sec)

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

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Collection;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#removeAll(Object)}.
     *
     * @author Louis Wasserman
     */
    @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 Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

    import java.util.Collection;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tests {@link java.util.Map#hashCode}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapHashCodeTester<K, V> extends AbstractMapTester<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        // 32 characters long
        assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8)));
        // 256 characters long
        assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
      public void testStringsConsistency() {
        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	var wr = NewWriter(writeErrorOnlyWriter{})
    	s := "test1"
    	wantBuffered := len(s)
    	if _, err := wr.WriteString(s); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if err := wr.Flush(); err == nil {
    		t.Error("expected flush error, got nil")
    	}
    	if _, err := wr.ReadFrom(strings.NewReader("test2")); err == nil {
    		t.Fatal("expected error, got nil")
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      public void testRfc2202_hmacSha1_case5() {
        byte[] key = fillByteArray(20, 0x0c);
        String data = "Test With Truncation";
    
        checkSha1("4c1a03424b55e07fe7f27be1d58bb9324a9a5a04", key, data);
      }
    
      public void testRfc2202_hmacSha1_case6() {
        byte[] key = fillByteArray(80, 0xaa);
        String data = "Test Using Larger Than Block-Size Key - Hash Key First";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

    import org.junit.Ignore;
    
    /**
     * Superclass for all {@code ListMultimap} testers.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class AbstractListMultimapTester<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4.
     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
      public void testZeros() {
        // Test 32 byte array of 0x00.
        byte[] zeros = new byte[32];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code ForwardingList}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    public class ForwardingListTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ForwardingSortedMultiset}.
     *
     * @author Louis Wasserman
     */
    public class ForwardingSortedMultisetTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingListTest.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code ForwardingList}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    public class ForwardingListTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top