Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestServer ¶
type TestServer interface {
// Get the host and port under which the server can be accessed
Address(t *testing.T) (host string, port int)
UUID(t *testing.T) xid.ID
// shutdown the server
Shutdown(t *testing.T)
// start previously shut down server
Start(t *testing.T)
}
TestServer is an abstract representation of a TestServer
type TestServerProvider ¶
type TestServerProvider interface {
AddServer(t *testing.T) TestServer
}
TestServerProvider is a provider of server instances
Click to show internal directories.
Click to hide internal directories.