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

Function Test_Observable_IgnoreElements_Parallel

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

Source from the content-addressed store, hash-verified

895}
896
897func Test_Observable_IgnoreElements_Parallel(t *testing.T) {
898 defer goleak.VerifyNone(t)
899 ctx, cancel := context.WithCancel(context.Background())
900 defer cancel()
901 obs := testObservable(ctx, 1, 2, 3).IgnoreElements(WithCPUPool())
902 Assert(ctx, t, obs, IsEmpty())
903}
904
905func Test_Observable_IgnoreElements_Parallel_Error(t *testing.T) {
906 defer goleak.VerifyNone(t)

Callers

nothing calls this directly

Calls 5

testObservableFunction · 0.85
WithCPUPoolFunction · 0.85
AssertFunction · 0.85
IsEmptyFunction · 0.85
IgnoreElementsMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…