- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 7,815 for expect2 (0.15 sec)
-
tests/integration/pilot/revisions/uninstall_test.go
// for purge case we expect all resources removed if purge { if len(reStrList) != 0 { msg := fmt.Sprintf("resources expected to be pruned but still exist in the cluster: %s", strings.Join(reStrList, " ")) scopes.Framework.Warnf(msg) return fmt.Errorf(msg) } return nil } // for other cases, we expect base component resources to be kept. if len(reStrList) != 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 8.8K bytes - Viewed (0) -
pkg/model/proxy_test.go
func TestStringList(t *testing.T) { cases := []struct { in string expect model.StringList noRoundTrip bool }{ {in: `"a,b,c"`, expect: []string{"a", "b", "c"}}, {in: `"\"a,b,c"`, expect: []string{`"a`, "b", "c"}}, {in: `"a"`, expect: []string{"a"}}, {in: `""`, expect: []string{}}, {in: `"123,@#$#,abcdef"`, expect: []string{"123", "@#$#", "abcdef"}}, } for _, tt := range cases {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 8.2K bytes - Viewed (0) -
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) -
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)