Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,240 for testu (0.05 sec)

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

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code add} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @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
    - 5.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code add} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @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
    - 5.9K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle_test.go

    		actual, err := parseRestoreObjStatus(tc.String())
    		if err != nil {
    			t.Fatalf("Test %d: parse restore object failed: %v", i+1, err)
    		}
    		if actual.ongoing != tc.ongoing || actual.expiry.Format(http.TimeFormat) != tc.expiry.Format(http.TimeFormat) {
    			t.Fatalf("Test %d: got %v expected %v", i+1, actual, tc)
    		}
    	}
    }
    
    // TestRestoreObjOnDisk tests restoreObjStatus' OnDisk method
    func TestRestoreObjOnDisk(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils_test.go

    		if got != testCase.expected {
    			t.Errorf("Test %d: got:%s expected:%s", i+1, got, testCase.expected)
    		}
    	}
    }
    
    // Test TestCheckMetaHeaders tests the logic of checkMetaHeaders() function
    func TestCheckMetaHeaders(t *testing.T) {
    	signedHeadersMap := map[string][]string{
    		"X-Amz-Meta-Test":      {"test"},
    		"X-Amz-Meta-Extension": {"png"},
    		"X-Amz-Meta-Name":      {"imagepng"},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.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 ImmutableNetwork}. */
    @RunWith(JUnit4.class)
    public class ImmutableNetworkTest {
    
      @Test
      public void immutableNetwork() {
        MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.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 ImmutableNetwork}. */
    @RunWith(JUnit4.class)
    public class ImmutableNetworkTest {
    
      @Test
      public void immutableNetwork() {
        MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *   <li>These tests are "conformance tests", and do not attempt to test throughput, latency,
     *       scalability or other performance factors (see the separate "jtreg" tests for a set intended
     *       to check these for the most central aspects of functionality.) So, most tests use the
     *       smallest sensible numbers of threads, collection sizes, etc needed to check basic
     *       conformance.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. mockwebserver-junit4/README.md

    MockWebServer for JUnit 4
    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 4.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:4.12.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 707 bytes
    - Viewed (0)
  10. cmd/object-api-putobject_test.go

    func md5Header(data []byte) map[string]string {
    	return map[string]string{"etag": getMD5Hash(data)}
    }
    
    // Wrapper for calling PutObject tests for both Erasure multiple disks and single node setup.
    func TestObjectAPIPutObjectSingle(t *testing.T) {
    	ExecExtendedObjectLayerTest(t, testObjectAPIPutObject)
    }
    
    // Tests validate correctness of PutObject.
    func testObjectAPIPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top