- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for genericList (0.14 sec)
-
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
Method m = Baz.class.getMethod("rawList", List.class); assertThat(MethodUtil.getElementTypeOfCollectionFromParameterType(m, 0), is(nullValue())); m = Baz.class.getMethod("genericList", List.class); assertThat(MethodUtil.getElementTypeOfCollectionFromParameterType(m, 0), is(sameClass(Integer.class))); } /** * @throws Exception */ @Test
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/registry/core/pod/rest/log.go
if err != nil { return nil, err } return &genericrest.LocationStreamer{ Location: location, Transport: transport, ContentType: "text/plain", Flush: logOpts.Follow, ResponseChecker: genericrest.NewGenericHttpResponseChecker(api.Resource("pods/log"), name),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 24 10:50:43 UTC 2023 - 4.4K bytes - Viewed (0) -
src/testing/helperfuncs_test.go
// Check that helper-ness propagates up through panic/recover. // See https://golang.org/issue/31154. recoverHelper(t, "12") genericHelper[float64](t, "GenericFloat64") genericIntHelper(t, "GenericInt") } func parallelTestHelper(t *testing.T) { var wg sync.WaitGroup for i := 0; i < 5; i++ { wg.Add(1) go func() { notHelperCallingHelper(t, "parallel") wg.Done() }() } wg.Wait()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:24:47 UTC 2023 - 2.4K bytes - Viewed (0) -
src/testing/helper_test.go
helperfuncs_test.go:58: 7 --- FAIL: TestTBHelper/sub2 \([^)]+\) helperfuncs_test.go:80: 11 helperfuncs_test.go:84: recover 12 helperfuncs_test.go:86: GenericFloat64 helperfuncs_test.go:87: GenericInt helper_test.go:22: 8 helperfuncs_test.go:73: 9 helperfuncs_test.go:69: 10 ` if !regexp.MustCompile(want).Match(out) { t.Errorf("got output:\n\n%s\nwant matching:\n\n%s", out, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:24:47 UTC 2023 - 2.6K bytes - Viewed (0)