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

Function Test_Connectable_IterableSlice_Single

factory_connectable_test.go:215–222  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

213}
214
215func Test_Connectable_IterableSlice_Single(t *testing.T) {
216 defer goleak.VerifyNone(t)
217 ctx, cancel := context.WithCancel(context.Background())
218 defer cancel()
219 obs := &ObservableImpl{iterable: newSliceIterable([]Item{Of(1), Of(2), Of(3)},
220 WithPublishStrategy(), WithContext(ctx))}
221 testConnectableSingle(t, obs)
222}
223
224func Test_Connectable_IterableSlice_Composed(t *testing.T) {
225 defer goleak.VerifyNone(t)

Callers

nothing calls this directly

Calls 5

newSliceIterableFunction · 0.85
OfFunction · 0.85
WithPublishStrategyFunction · 0.85
WithContextFunction · 0.85
testConnectableSingleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…