Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,248 for test_ (0.05 sec)

  1. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link ImmutableValueGraph} . */
    @RunWith(JUnit4.class)
    public class ImmutableValueGraphTest {
    
      @Test
      public void immutableValueGraph() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    			err:            errDiskNotFound,
    			expectedAPIErr: toAPIErrorCode(GlobalContext, errDiskNotFound),
    		},
    	}
    
    	for i, test := range testCases {
    		actualErr := toAdminAPIErrCode(GlobalContext, test.err)
    		if actualErr != test.expectedAPIErr {
    			t.Errorf("Test %d: Expected %v but received %v",
    				i+1, test.expectedAPIErr, actualErr)
    		}
    	}
    }
    
    func TestExtractHealInitParams(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    }
    
    @test "Java library generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/java:libtensorflow_jni.so" \
        "//tensorflow/tools/lib_package:jnilicenses_generate"
    }
    
    # This test ensures that all the targets built into the Python package include
    # their dependencies. It's a rewritten version of the "smoke test", an older
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 14 18:47:44 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @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
    - 5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

        long k1 = 0x0f0e0d0c0b0a0908L;
    
        assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong());
      }
    
      // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs
      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

        long k1 = 0x0f0e0d0c0b0a0908L;
    
        assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong());
      }
    
      // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs
      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

          protected Iterator<E> newTargetIterator() {
            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a collection. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. internal/bucket/versioning/versioning_test.go

    			excluded: false,
    		},
    	}
    
    	for i, test := range tests {
    		if v.PrefixSuspended(test.prefix) != test.excluded {
    			if test.excluded {
    				t.Fatalf("Test %d: Expected prefix %s to be excluded from versioning", i+1, test.prefix)
    			} else {
    				t.Fatalf("Test %d: Expected prefix %s to have versioning enabled", i+1, test.prefix)
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top