예제 #1
0
func runServer(t *testing.T, setup *taas.ServerSetup) *taas.Server {
	server := taas.NewServer(setup)
	go serverHandler(t, server)
	return server
}
예제 #2
0
파일: rkt_tests.go 프로젝트: topecz/rkt
func runServer(t *testing.T, serverType taas.ServerType, authType taas.AuthType) *taas.Server {
	server := taas.NewServer(serverType, authType, 20)
	go serverHandler(t, server)
	return server
}