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

Function Test_Observable_First_Parallel_Empty

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

Source from the content-addressed store, hash-verified

724}
725
726func Test_Observable_First_Parallel_Empty(t *testing.T) {
727 defer goleak.VerifyNone(t)
728 ctx, cancel := context.WithCancel(context.Background())
729 defer cancel()
730 obs := Empty().First(WithCPUPool())
731 Assert(ctx, t, obs, IsEmpty())
732}
733
734func Test_Observable_FirstOrDefault_NotEmpty(t *testing.T) {
735 defer goleak.VerifyNone(t)

Callers

nothing calls this directly

Calls 5

EmptyFunction · 0.85
WithCPUPoolFunction · 0.85
AssertFunction · 0.85
IsEmptyFunction · 0.85
FirstMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…