MCPcopy Create free account
hub / github.com/foxcpp/maddy / DoTestDeliveryMeta

Function DoTestDeliveryMeta

internal/testutils/target.go:198–206  ·  view source on GitHub ↗
(t *testing.T, tgt module.DeliveryTarget, from string, to []string, msgMeta *module.MsgMetadata)

Source from the content-addressed store, hash-verified

196}
197
198func DoTestDeliveryMeta(t *testing.T, tgt module.DeliveryTarget, from string, to []string, msgMeta *module.MsgMetadata) string {
199 t.Helper()
200
201 id, err := DoTestDeliveryErrMeta(t, tgt, from, to, msgMeta)
202 if err != nil {
203 t.Fatalf("Unexpected error: %v", err)
204 }
205 return id
206}
207
208func DoTestDeliveryNonAtomic(t *testing.T, c module.StatusCollector, tgt module.DeliveryTarget, from string, to []string) string {
209 t.Helper()

Callers 1

DoTestDeliveryFunction · 0.85

Calls 1

DoTestDeliveryErrMetaFunction · 0.85

Tested by

no test coverage detected