MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / Test_Observable_All_Parallel_Error

Function Test_Observable_All_Parallel_Error

observable_operator_test.go:59–65  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

57}
58
59func Test_Observable_All_Parallel_Error(t *testing.T) {
60 defer goleak.VerifyNone(t)
61 ctx, cancel := context.WithCancel(context.Background())
62 defer cancel()
63 Assert(ctx, t, testObservable(ctx, 1, errFoo, 3).All(predicateAllInt, WithContext(ctx), WithCPUPool()),
64 HasError(errFoo))
65}
66
67func Test_Observable_AverageFloat32(t *testing.T) {
68 defer goleak.VerifyNone(t)

Callers

nothing calls this directly

Calls 6

AssertFunction · 0.85
testObservableFunction · 0.85
WithContextFunction · 0.85
WithCPUPoolFunction · 0.85
HasErrorFunction · 0.85
AllMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…