MCPcopy Index your code
hub / github.com/foxcpp/maddy / Conn

Method Conn

tests/t.go:486–493  ·  view source on GitHub ↗
(portName string)

Source from the content-addressed store, hash-verified

484}
485
486func (t *T) Conn(portName string) Conn {
487 port := t.ports[portName]
488 if port == 0 {
489 panic("tests: connection for the unused port name is requested")
490 }
491
492 return t.ConnUnnamed(port)
493}
494
495func (t *T) Subtest(name string, f func(t *T)) {
496 t.T.Run(name, func(subTT *testing.T) {

Callers 15

TestConcurrencyLimitFunction · 0.95
TestPerIPConcurrencyFunction · 0.95
TestImapsqlDeliveryFunction · 0.95
TestImapsqlDeliveryMapFunction · 0.95
TestImapsqlAuthMapFunction · 0.95
TestLMTPClient_Issue308Function · 0.95
TestLDAPInjectionFilterFunction · 0.95
TestDovecotSASLClientFunction · 0.95

Calls 1

ConnUnnamedMethod · 0.95

Tested by 15

TestConcurrencyLimitFunction · 0.76
TestPerIPConcurrencyFunction · 0.76
TestImapsqlDeliveryFunction · 0.76
TestImapsqlDeliveryMapFunction · 0.76
TestImapsqlAuthMapFunction · 0.76
TestLMTPClient_Issue308Function · 0.76
TestLDAPInjectionFilterFunction · 0.76
TestDovecotSASLClientFunction · 0.76