- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for expectedCount (0.22 sec)
-
testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/fixtures/KotlinDslCacheFixtures.kt
val expectedCount = if (stage.enabled) count else 0 val logStatement = "${actionDisplayName.uppercaseFirstChar()} ${stage.templateId} from ${stage.source}" val observedCount = output.occurrenceCountOf(logStatement) require(observedCount == expectedCount) { "Expected $expectedCount but got $observedCount\n" + " Looking for statement: $logStatement\n" +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/controller/disruption/disruption.go
if pdb.Spec.MaxUnavailable != nil { expectedCount, unmanagedPods, err = dc.getExpectedScale(ctx, pdb, pods) if err != nil { return } var maxUnavailable int maxUnavailable, err = intstr.GetScaledValueFromIntOrPercent(pdb.Spec.MaxUnavailable, int(expectedCount), true) if err != nil { return } desiredHealthy = expectedCount - int32(maxUnavailable) if desiredHealthy < 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
if (initRight == null) { result[0] = 0; if (expectedCount == 0 && newCount > 0) { return addRightChild(e, newCount); } return this; } right = initRight.setCount(comparator, e, expectedCount, newCount, result); if (result[0] == expectedCount) { if (newCount == 0 && result[0] != 0) { this.distinctElements--;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.2K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
if (initRight == null) { result[0] = 0; if (expectedCount == 0 && newCount > 0) { return addRightChild(e, newCount); } return this; } right = initRight.setCount(comparator, e, expectedCount, newCount, result); if (result[0] == expectedCount) { if (newCount == 0 && result[0] != 0) { this.distinctElements--;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.6K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
func (f *FakeRuntime) AssertCallCounts(funcName string, expectedCount int) bool { f.Lock() defer f.Unlock() actualCount := 0 for _, c := range f.CalledFunctions { if funcName == c { actualCount += 1 } } if expectedCount != actualCount { f.T.Errorf("AssertCallCounts: expected %s to be called %d times, but was actually called %d times.", funcName, expectedCount, actualCount) return false } return true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy
if (project) { path = project + '/' + path } return sampleDir.file(path) } private static void assertTestsRunCount(resultsXml, int expectedCount) { assert resultsXml.@tests == expectedCount } private static void assertTestRun(resultsXml, String testName) { assert resultsXml.testcase.find { it.@name == testName } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 12.8K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util_test.go
}, } for _, test := range tests { t.Run(test.Name, func(t *testing.T) { rs := GetReplicaCountForReplicaSets(test.sets) if rs != test.expectedCount { t.Errorf("In test case %s, expectedCount %+v, got %+v", test.Name, test.expectedCount, rs) } rs = GetActualReplicaCountForReplicaSets(test.sets) if rs != test.expectedActual {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 37.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
tests := []struct { name string pod *v1.Pod expectedCount int32 }{ { name: "nominated pods have lower priority, predicate is called once", pod: st.MakePod().Name("1").UID("1").Priority(highPriority).Obj(), expectedCount: 1, }, { name: "nominated pods have higher priority, predicate is called twice",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0)