Documentation ¶
Index ¶
- Constants
- Variables
- func GRPCServer(t *testing.T, useTLS bool) *grpcstub.Server
- func HTTPServer(t *testing.T) *httptest.Server
- func HTTPServerAndRouter(t *testing.T) (*httptest.Server, *httpstub.Router)
- func Root() string
- func SQLite(t *testing.T) (*sql.DB, string)
- func SkipCDPTest(t *testing.T) bool
- func Testdata() string
Constants ¶
View Source
const MultipartBoundary = "123456789012345678901234567890abcdefghijklmnopqrstuvwxyz"
Variables ¶
View Source
var Cacert = func() []byte { b, err := os.ReadFile(filepath.Join(Testdata(), "cacert.pem")) if err != nil { panic(err) } return b }()
Functions ¶
func HTTPServerAndRouter ¶ added in v0.47.0
func SkipCDPTest ¶ added in v0.47.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.