- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for expectedCount (0.37 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
final AtomicInteger integer = new AtomicInteger(); for (int i = 0; i < 10; i++) { final int expectedCount = i; list.add( new Runnable() { @Override public void run() { integer.compareAndSet(expectedCount, expectedCount + 1); } }, MoreExecutors.directExecutor()); } list.execute();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 4.7K bytes - Viewed (0) -
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) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
final AtomicInteger integer = new AtomicInteger(); for (int i = 0; i < 10; i++) { final int expectedCount = i; list.add( new Runnable() { @Override public void run() { integer.compareAndSet(expectedCount, expectedCount + 1); } }, MoreExecutors.directExecutor()); } list.execute();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 4.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram_test.go
if expectedCount != actualCount { t.Errorf("For i=%d, t0=%s, ddt=%s, t1=%s, expectedCount=%d, actualCount=%d", i, t0, ddt, t1, expectedCount, actualCount) } } } /* getHistogramCount returns the count of the named histogram or an error (if any) */ func getHistogramCount(registry compbasemetrics.KubeRegistry, metricName string) (int64, error) { mfs, err := registry.Gather() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 13 16:03:06 UTC 2022 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
service.shutdown(); } } private ListenerCallQueue.Event<Object> incrementingEvent( Multiset<Object> counters, Object expectedListener, int expectedCount) { return incrementingEvent(counters, multiset(expectedListener, expectedCount)); } private ListenerCallQueue.Event<Object> incrementingEvent( final Multiset<Object> counters, final Multiset<Object> expected) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
service.shutdown(); } } private ListenerCallQueue.Event<Object> incrementingEvent( Multiset<Object> counters, Object expectedListener, int expectedCount) { return incrementingEvent(counters, multiset(expectedListener, expectedCount)); } private ListenerCallQueue.Event<Object> incrementingEvent( final Multiset<Object> counters, final Multiset<Object> expected) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/extract_test.go
if err != nil { t.Fatalf("Unexpected extract error: %v", err) } if !equality.Semantic.DeepEqual(out, tc.expectedOut) { t.Fatalf("Expected output did not match actual output: %s", cmp.Diff(out, tc.expectedOut)) } }) } } func applyFieldsEntry(fieldManager string, fieldsJSON string, subresource string) metav1.ManagedFieldsEntry {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 22 22:32:45 UTC 2021 - 8.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy
assertThat(filesByRelativePath.keySet(), equalTo(relativePaths as Set)) def expectedCounts = ArrayListMultimap.create() for (String fileName : relativePaths) { expectedCounts.put(fileName, fileName) } for (String fileName : relativePaths) { assertEquals(expectedCounts.get(fileName).size(), filesByRelativePath.get(fileName).size()) } this }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.8K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
} defaultFile, err := os.ReadFile(fmt.Sprintf("testdata/waypoint/%s", tt.expectedOutFile)) if err != nil { t.Fatal(err) } expectedOut := string(defaultFile) if len(expectedOut) == 0 { t.Fatal("expected output is empty") } var out bytes.Buffer rootCmd := Cmd(ctx) rootCmd.SetArgs(tt.args) rootCmd.SetOut(&out) rootCmd.SetErr(&out)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 15:53:09 UTC 2024 - 4.4K bytes - Viewed (0) -
operator/pkg/util/yaml_test.go
"abc": "f", }, expectedOut: `abc: f foo: yaml `, }, { desc: "expected-err-nil", inVals: nil, expectedOut: "null\n", }, } for _, tt := range tests { t.Run(tt.desc, func(t *testing.T) { if got := ToYAML(tt.inVals); got != tt.expectedOut { t.Errorf("%s: expected out %v got %s", tt.desc, tt.expectedOut, got) } }) } } func TestOverlayTrees(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 17:00:14 UTC 2024 - 6.7K bytes - Viewed (0)