Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for testcalls (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

      @J2ktIncompatible
      @GwtIncompatible("NullPointerTester")
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/MoreObjectsTest.java

      @J2ktIncompatible
      @GwtIncompatible("NullPointerTester")
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle_test.go

    		}
    	}
    }
    
    // TestRestoreObjStatusRoundTrip restoreObjStatus roundtrip
    func TestRestoreObjStatusRoundTrip(t *testing.T) {
    	testCases := []restoreObjStatus{
    		ongoingRestoreObj(),
    		completedRestoreObj(time.Now().UTC()),
    	}
    	for i, tc := range testCases {
    		actual, err := parseRestoreObjStatus(tc.String())
    		if err != nil {
    			t.Fatalf("Test %d: parse restore object failed: %v", i+1, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. internal/event/targetidset_test.go

    )
    
    func TestTargetIDSetClone(t *testing.T) {
    	testCases := []struct {
    		set           TargetIDSet
    		targetIDToAdd TargetID
    	}{
    		{NewTargetIDSet(), TargetID{"1", "webhook"}},
    		{NewTargetIDSet(TargetID{"1", "webhook"}), TargetID{"2", "webhook"}},
    		{NewTargetIDSet(TargetID{"1", "webhook"}, TargetID{"2", "amqp"}), TargetID{"2", "webhook"}},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.set.Clone()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  5. internal/config/lambda/event/targetidset_test.go

    )
    
    func TestTargetIDSetClone(t *testing.T) {
    	testCases := []struct {
    		set           TargetIDSet
    		targetIDToAdd TargetID
    	}{
    		{NewTargetIDSet(), TargetID{"1", "webhook"}},
    		{NewTargetIDSet(TargetID{"1", "webhook"}), TargetID{"2", "webhook"}},
    		{NewTargetIDSet(TargetID{"1", "webhook"}, TargetID{"2", "amqp"}), TargetID{"2", "webhook"}},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.set.Clone()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. cmd/net_test.go

    )
    
    func TestMustSplitHostPort(t *testing.T) {
    	testCases := []struct {
    		hostPort     string
    		expectedHost string
    		expectedPort string
    	}{
    		{":54321", "", "54321"},
    		{"server:54321", "server", "54321"},
    		{":0", "", "0"},
    		{"server:https", "server", "443"},
    		{"server:http", "server", "80"},
    	}
    
    	for _, testCase := range testCases {
    		host, port := mustSplitHostPort(testCase.hostPort)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils_test.go

    			},
    			nil, nil,
    		},
    		// Checks if wrapped context cancellation errors are grouped as one.
    		{canceledErrs, nil, context.Canceled},
    	}
    	// Validates list of all the testcases for returning valid errors.
    	for i, testCase := range testCases {
    		gotErr := reduceReadQuorumErrs(context.Background(), testCase.errs, testCase.ignoredErrs, 5)
    		if gotErr != testCase.err {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

        val knownTestFile = File("src/main/resources/testlist.txt").absoluteFile
        knownTestFile.readLines().forEach {
          try {
            val testClass = access.findClassByName(it)
    
            if (testClass != null) {
              access.registerAsUsed(testClass)
              registerTest(access, testClass)
            }
          } catch (e: Exception) {
            // If you throw an exception here then native image building fails half way through
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. internal/event/rules_test.go

    	rulesCase3.Add(NewPattern("", "*.jpg"), TargetID{"1", "webhook"})
    
    	testCases := []struct {
    		rules    Rules
    		prefix   string
    		targetID TargetID
    	}{
    		{rulesCase1, "2010*", TargetID{"1", "webhook"}},
    		{rulesCase2, "2000*", TargetID{"2", "amqp"}},
    		{rulesCase3, "2010*", TargetID{"1", "webhook"}},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.rules.Clone()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  10. internal/event/name_test.go

    	}
    
    	for i, testCase := range testCases {
    		result := testCase.name.Expand()
    
    		if !reflect.DeepEqual(result, testCase.expectedResult) {
    			t.Errorf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestNameString(t *testing.T) {
    	var blankName Name
    
    	testCases := []struct {
    		name           Name
    		expectedResult string
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top