MCPcopy Create free account
hub / github.com/couchbase/moss / TestOpsDeferredSort

Function TestOpsDeferredSort

collection_test.go:616–628  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

614}
615
616func TestOpsDeferredSort(t *testing.T) {
617 m, err := NewCollection(CollectionOptions{
618 MergeOperator: &MergeOperatorStringAppend{Sep: ":"},
619 DeferredSort: true,
620 })
621 if err != nil || m == nil {
622 t.Errorf("expected moss")
623 }
624
625 m.Start()
626 testOps(t, m)
627 m.Close()
628}
629
630type opTest struct {
631 op string

Callers

nothing calls this directly

Calls 4

StartMethod · 0.95
CloseMethod · 0.95
NewCollectionFunction · 0.85
testOpsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…