- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,382 for BHelper (0.11 sec)
-
pkg/test/framework/testcontext.go
c.Helper() return c.T.Name() } func (c *testContext) Skip(args ...any) { c.Helper() c.T.Skip(args...) } func (c *testContext) SkipNow() { c.Helper() c.T.SkipNow() } func (c *testContext) Skipf(format string, args ...any) { c.Helper() c.T.Skipf(format, args...) } func (c *testContext) Skipped() bool { c.Helper() return c.T.Skipped() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/kube/krt/krttest/helpers.go
t test.Failer inputs []any } // NewMock creates a helper to build Collections of static inputs for use with testing. // Example usage: // // mock := krttest.NewMock(t, []any{serviceFoo, podBar, namespaceBaz}) // pods := krttest.GetMockCollection[Pod](mock) // makes a collection of all Pod types from inputs func NewMock(t test.Failer, inputs []any) *MockCollection { t.Helper() mc := &MockCollection{t: t, inputs: inputs}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 19:33:01 UTC 2024 - 2.1K bytes - Viewed (0) -
src/testing/helper_test.go
"regexp" "strings" "testing" ) func TestTBHelper(t *testing.T) { if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" { testTestHelper(t) // Check that calling Helper from inside a top-level test function // has no effect. t.Helper() t.Error("8") return } testenv.MustHaveExec(t) t.Parallel() exe, err := os.Executable() if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:24:47 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-java/kotlin/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java
package org.gradle.sample.services; import org.gradle.sample.api.Person; import org.gradle.sample.shared.Helper; public class PersonService { boolean checkPerson(Person person) { System.out.println(Helper.prettyPrint("Checking")); if (person.getFirstname().length() < 2) { return false; } return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 360 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/basic-dependencies/kotlin/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java
package org.gradle.sample.services; import org.gradle.sample.api.Person; import org.gradle.sample.shared.Helper; public class PersonService { boolean checkPerson(Person person) { System.out.println(Helper.prettyPrint("Checking")); if (person.getFirstname().length() < 2) { return false; } return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 23:29:44 UTC 2024 - 360 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-java/groovy/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java
package org.gradle.sample.services; import org.gradle.sample.api.Person; import org.gradle.sample.shared.Helper; public class PersonService { boolean checkPerson(Person person) { System.out.println(Helper.prettyPrint("Checking")); if (person.getFirstname().length() < 2) { return false; } return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 360 bytes - Viewed (0) -
pilot/pkg/xds/deltaadstest.go
func (a *DeltaAdsTest) DrainResponses() { a.t.Helper() for { select { case <-a.context.Done(): return case r := <-a.responses: log.Infof("drained response %v", r.TypeUrl) } } } // ExpectResponse waits until a response is received and returns it func (a *DeltaAdsTest) ExpectResponse() *discovery.DeltaDiscoveryResponse { a.t.Helper() select { case <-time.After(a.timeout):
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 04 03:39:42 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/api/v1/service/util_test.go
package service import ( "strings" "testing" v1 "k8s.io/api/core/v1" utilnet "k8s.io/utils/net" ) func TestGetLoadBalancerSourceRanges(t *testing.T) { checkError := func(v string) { t.Helper() annotations := make(map[string]string) annotations[v1.AnnotationLoadBalancerSourceRangesKey] = v svc := v1.Service{} svc.Annotations = annotations _, err := GetLoadBalancerSourceRanges(&svc) if err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 8.8K bytes - Viewed (0) -
plugin/pkg/admission/extendedresourcetoleration/admission.go
for _, container := range pod.Spec.Containers { for resourceName := range container.Resources.Requests { if helper.IsExtendedResourceName(resourceName) { resources.Insert(string(resourceName)) } } } for _, container := range pod.Spec.InitContainers { for resourceName := range container.Resources.Requests { if helper.IsExtendedResourceName(resourceName) { resources.Insert(string(resourceName)) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 3.1K bytes - Viewed (0) -
pkg/kube/kclient/clienttest/test_helpers.go
return t.c.List(namespace, selector) } func (t TestWriter[T]) Create(object T) T { t.t.Helper() res, err := t.c.Create(object) if err != nil { t.t.Fatalf("create %v/%v: %v", object.GetNamespace(), object.GetName(), err) } return res } func (t TestWriter[T]) Update(object T) T { t.t.Helper() res, err := t.c.Update(object) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 3.9K bytes - Viewed (0)