Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitOrTimeout ¶
Types ¶
type TestServer ¶
func NewTestServer ¶
func NewTestServer(t *testing.T, server titan.IServer) *TestServer
func (*TestServer) Start ¶
func (s *TestServer) Start()
func (*TestServer) Stop ¶
func (s *TestServer) Stop()
type TestServers ¶
type TestServers struct {
// contains filtered or unexported fields
}
func (*TestServers) Start ¶
func (s *TestServers) Start()
func (*TestServers) Stop ¶
func (s *TestServers) Stop()
type TestServersInterface ¶
type TestServersInterface interface { Start() Stop() }
func NewTestServers ¶
func NewTestServers(servers ...titan.IServer) TestServersInterface
type TestWaitGroup ¶
func NewTestWaitGroup ¶
func NewTestWaitGroup(t *testing.T) *TestWaitGroup
func (*TestWaitGroup) WaitOrTimeout ¶
func (wg *TestWaitGroup) WaitOrTimeout()
func (*TestWaitGroup) WaitOrTimeoutFor ¶
func (wg *TestWaitGroup) WaitOrTimeoutFor(timeout int)
func (*TestWaitGroup) WaitOrTimeoutForWithMessage ¶
func (wg *TestWaitGroup) WaitOrTimeoutForWithMessage(timeout int, timeoutMessage string)
Click to show internal directories.
Click to hide internal directories.