Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for expected_ (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
        }
        try {
          ClosingFuture.whenAllSucceed(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
        }
        try {
          ClosingFuture.whenAllSucceed(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		if value := w.Header().Get(key); expectedFS != value {
    			return fmt.Errorf("expected HTTP header %s to have value %q, but got: %q", key, expectedFS, value)
    		}
    
    		key = flowcontrol.ResponseHeaderMatchedPriorityLevelConfigurationUID
    		if value := w.Header().Get(key); expectedPL != value {
    			return fmt.Errorf("expected HTTP header %s to have value %q, but got %q", key, expectedPL, value)
    		}
    		return nil
    	}()
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            List<String> expected = new ArrayList<>();
            expected.add("maven-it-plugin-error");
            expected.add("maven-it-plugin-configuration");
            expected.add("maven-it-plugin-dependency-resolution");
            expected.add("maven-it-plugin-packaging");
            expected.add("maven-it-plugin-log-file");
            expected.add("maven-it-plugin-expression");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  5. pilot/pkg/model/sidecar_test.go

    			got := ilw.selectServices(tt.services, tt.namespace, tt.listenerHosts)
    			if !reflect.DeepEqual(got, tt.expected) {
    				gots, _ := json.MarshalIndent(got, "", "  ")
    				expecteds, _ := json.MarshalIndent(tt.expected, "", "  ")
    				t.Errorf("Got %v, expected %v", string(gots), string(expecteds))
    			}
    		})
    	}
    }
    
    func TestContainsEgressDependencies(t *testing.T) {
    	const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    		y, _ := new(Int).SetString(test.y, 10)
    		expectedQ, _ := new(Int).SetString(test.q, 10)
    		expectedR, _ := new(Int).SetString(test.r, 10)
    
    		r := new(Int)
    		q, r := new(Int).QuoRem(x, y, r)
    
    		if q.Cmp(expectedQ) != 0 || r.Cmp(expectedR) != 0 {
    			t.Errorf("#%d got (%s, %s) want (%s, %s)", i, q, r, expectedQ, expectedR)
    		}
    	}
    }
    
    func TestQuoStepD6(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.replaceAll((k, v) -> v);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.putIfAbsent(3, "three");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    		t.Fatalf("RemoveVolumeFromReportAsAttached failed. Expected: <no error> Actual: <%v>", markDesireToDetachErr)
    	}
    	if addErr != nil {
    		t.Fatalf("AddVolumeNode failed. Expected: <no error> Actual: <%v>", addErr)
    	}
    
    	// Assert
    	attachedVolumes := asw.GetAttachedVolumes()
    	if len(attachedVolumes) != 1 {
    		t.Fatalf("len(attachedVolumes) Expected: <1> Actual: <%v>", len(attachedVolumes))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/defaults_test.go

    	}
    
    	assertImagePullPolicy := func(got, expected *v1.Container) error {
    		if got.ImagePullPolicy != expected.ImagePullPolicy {
    			return fmt.Errorf("different image pull policy: got <%v>, expected <%v>", got.ImagePullPolicy, expected.ImagePullPolicy)
    		}
    		return nil
    	}
    
    	assertContainerPort := func(got, expected *v1.Container) error {
    		if len(got.Ports) != len(expected.Ports) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. pkg/scheduler/internal/cache/cache_test.go

    	if (actual == nil) != (expected == nil) {
    		return errors.New("one of the actual or expected is nil and the other is not")
    	}
    	// Ignore generation field.
    	if actual != nil {
    		actual.info.Generation = 0
    	}
    	if expected != nil {
    		expected.Generation = 0
    	}
    	if actual != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
Back to top