- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,382 for BHelper (0.2 sec)
-
pkg/kubelet/server/stats/testing/mock_summary_provider.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/test/util/assert/assert.go
} } // Error asserts the provided err is non-nil func Error(t test.Failer, err error) { t.Helper() if err == nil { t.Fatal("expected error but got nil") } } // NoError asserts the provided err is nil func NoError(t test.Failer, err error) { t.Helper() if err != nil { t.Fatalf("expected no error but got: %v", err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 18 17:21:50 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/sidecar.go
msg := &admin.ServerInfo{} if err := s.adminRequest("server_info", msg); err != nil { return nil, err } return msg, nil } func (s *sidecar) InfoOrFail(t test.Failer) *admin.ServerInfo { t.Helper() info, err := s.Info() if err != nil { t.Fatal(err) } return info } func (s *sidecar) Config() (*admin.ConfigDump, error) { msg := &admin.ConfigDump{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 09 03:49:49 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/basic-dependencies/groovy/api/src/main/java/org/gradle/sample/apiImpl/PersonImpl.java
package org.gradle.sample.apiImpl; import org.gradle.sample.api.Person; import org.gradle.sample.shared.Helper; public class PersonImpl implements Person { private String firstname; private String surname; public PersonImpl(String surname, String firstname) { this.surname = surname; this.firstname = firstname; } public String getFirstname() { return firstname; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 23:29:44 UTC 2024 - 759 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/basic-dependencies/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: Wed Jan 24 23:29:44 UTC 2024 - 360 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-java/groovy/api/src/main/java/org/gradle/sample/apiImpl/PersonImpl.java
package org.gradle.sample.apiImpl; import org.gradle.sample.api.Person; import org.gradle.sample.shared.Helper; public class PersonImpl implements Person { private String firstname; private String surname; public PersonImpl(String surname, String firstname) { this.surname = surname; this.firstname = firstname; } public String getFirstname() { return firstname; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 759 bytes - Viewed (0) -
pilot/pkg/xds/adstest.go
func (a *AdsTest) ExpectError(t test.Failer) error { t.Helper() select { case <-time.After(a.timeout): t.Fatalf("did not get error in time") case err := <-a.error: return err } return nil } // ExpectNoResponse waits a short period of time and ensures no response is received func (a *AdsTest) ExpectNoResponse(t test.Failer) { t.Helper() select { case <-time.After(time.Millisecond * 50):
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 04 03:39:42 UTC 2024 - 6K bytes - Viewed (0) -
pkg/api/service/util_test.go
import ( "strings" "testing" api "k8s.io/kubernetes/pkg/apis/core" utilnet "k8s.io/utils/net" ) func TestGetLoadBalancerSourceRanges(t *testing.T) { checkError := func(v string) { t.Helper() annotations := make(map[string]string) annotations[api.AnnotationLoadBalancerSourceRangesKey] = v svc := api.Service{} svc.Annotations = annotations _, err := GetLoadBalancerSourceRanges(&svc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/test/util/tmpl/evaluate.go
func EvaluateOrFail(t test.Failer, tpl string, data any) string { t.Helper() s, err := Evaluate(tpl, data) if err != nil { t.Fatalf("tmpl.EvaluateOrFail: %v", err) } return s } func EvaluateFileOrFail(t test.Failer, filePath string, data any) string { t.Helper() s, err := EvaluateFile(filePath, data) if err != nil { t.Fatalf("tmpl.EvaluateFileOrFail: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 3.1K bytes - Viewed (0) -
pkg/config/mesh/watcher_test.go
} } func newWatcher(t testing.TB, filename string, multi bool) mesh.Watcher { t.Helper() w, err := mesh.NewFileWatcher(filewatcher.NewWatcher(), filename, multi) if err != nil { t.Fatal(err) } return w } func newTempFile(t testing.TB) string { t.Helper() f, err := os.CreateTemp(t.TempDir(), t.Name()) if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3K bytes - Viewed (0)