- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 7,028 for expect2 (0.19 sec)
-
operator/pkg/util/progress/progress_test.go
bar.ReportError("some error") expect(`❌ ` + cnbo + ` encountered an error: some error`) foo.ReportProgress() expect(`- Processing resources for ` + cnpo + `.`) foo.ReportFinished() expect(`🧠 ` + cnpo + ` installed`) p.SetState(StatePruning) expect(`- Pruning removed resources`) p.SetState(StateComplete) expect(`✅ Installation complete`) p.SetState(StateUninstallComplete) expect(`✅ Uninstall complete`)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/config/schema/collection/schemas_test.go
g := NewWithT(t) actual := c.actual() g.Expect(actual).To(Equal(c.expected)) }) } } func TestSchemas_Remove(t *testing.T) { g := NewWithT(t) schemas := collection.SchemasFor(emptyResource, structResource) g.Expect(schemas.Remove(structResource)).To(Equal(collection.SchemasFor(emptyResource))) g.Expect(schemas.Remove(emptyResource, structResource)).To(Equal(collection.SchemasFor()))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 5.4K bytes - Viewed (0) -
src/runtime/coro_test.go
c := strings.SplitN(output, "\n", 2) if len(c) == 1 { t.Fatalf("expected at least one complete line in the output, got:\n%s", output) } expect, ok := strings.CutPrefix(c[0], "expect: ") if !ok { t.Fatalf("expected first line of output to start with \"expect: \", got: %q", c[0]) } rest := c[1] if expect == "OK" && rest != "OK\n" { t.Fatalf("expected just 'OK' in the output, got:\n%s", rest) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 21:36:37 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/test/util/yml/parts_test.go
parts := yml.SplitString(c.doc) g := NewWithT(t) g.Expect(parts).To(Equal(expected)) }) } } func TestSplitWithNestedDocument(t *testing.T) { doc := ` b b1 --- b2 ` expected := []string{ `b b1 --- b2`, } g := NewWithT(t) parts := yml.SplitString(doc) g.Expect(parts).To(Equal(expected)) } func TestJoinRemovesEmptyParts(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.8K bytes - Viewed (0) -
tools/istio-iptables/pkg/builder/iptables_builder_test.go
goldenFile := filepath.Join("testdata", name+".golden") testutil.CompareContent(t, gotBytes, goldenFile) } func TestBuilder(t *testing.T) { cases := []struct { name string expectV4 bool expectV6 bool config func(builder *IptablesRuleBuilder) sharedGolden bool }{ { "insert-single-v4", true, false, func(builder *IptablesRuleBuilder) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 14:29:54 UTC 2024 - 6.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtMultiplatformInfoProvider.kt
public interface KaMultiplatformInfoProviderMixin : KaSessionMixIn { /** * Gives expect symbol for the actual one if it is available. * * @return a single expect declaration corresponds to the [KaDeclarationSymbol] on valid code or multiple expects in a case of erroneous code with multiple expects. **/ public fun KaDeclarationSymbol.getExpectsForActual(): List<KaDeclarationSymbol> =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 1.2K bytes - Viewed (0) -
pilot/pkg/model/addressmap_test.go
c1ID: c1Addresses, c2ID: c2Addresses, }, } g.Expect(m.GetAddressesFor(c1ID)).To(Equal(c1Addresses)) g.Expect(m.GetAddressesFor(c2ID)).To(Equal(c2Addresses)) } func TestAddressMapSetAddressesFor(t *testing.T) { g := NewWithT(t) m := model.AddressMap{} m.SetAddressesFor(c1ID, c1Addresses) m.SetAddressesFor(c2ID, c2Addresses) g.Expect(m.GetAddressesFor(c1ID)).To(Equal(c1Addresses))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 2.9K bytes - Viewed (0) -
src/runtime/mgclimit_test.go
l.StartGCTransition(true, advance(109*time.Millisecond)) l.FinishGCTransition(advance(2*time.Millisecond + 1*time.Microsecond)) if expect := uint64((2*time.Millisecond + 1*time.Microsecond) * procs); l.Fill() != expect { t.Fatalf("expected fill of %d, got %d cpu-ns", expect, l.Fill()) } // Test passing time without assists during a GC. Specifically, just enough to drain the bucket to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 13 16:02:20 UTC 2022 - 9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
continue } if asDec { got.AsDec() } expected := item.expect desired.Neg(expected.AsDec()) if e, a := expect, got; e.Cmp(a) != 0 { t.Errorf("%v: expected %s, got %s", item.input, e.String(), a.String()) } if e, a := expected.Format, got.Format; e != a { t.Errorf("%v: expected %#v, got %#v", item.input, e, a) } } // Try everything with an explicit +
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util_test.go
{Namespace: "foo", Name: "bar", Username: "foo:bar", Expect: false}, {Namespace: "foo", Name: "bar", Username: "", Expect: false}, {Namespace: "foo2", Name: "bar", Username: "system:serviceaccount:foo:bar", Expect: false}, {Namespace: "foo", Name: "bar2", Username: "system:serviceaccount:foo:bar", Expect: false}, {Namespace: "foo:", Name: "bar", Username: "system:serviceaccount:foo:bar", Expect: false},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 7.7K bytes - Viewed (0)