blob: 8ebafd2f4a9694a62d5f0ff2713bb8f5856b002c [file] [edit]
// Copyright 2019 Google LLC
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package sktest
import "context"
// TestingT is an interface which is compatible with testing.T and testing.B,
// used so that we don't have to import the "testing" package except in _test.go
// files.
type TestingT interface {
Cleanup(func())
Context() context.Context
Error(...interface{})
Errorf(string, ...interface{})
Fail()
FailNow()
Failed() bool
Fatal(...interface{})
Fatalf(string, ...interface{})
Helper()
Log(...interface{})
Logf(string, ...interface{})
Name() string
Skip(...interface{})
SkipNow()
Skipf(string, ...interface{})
Skipped() bool
TempDir() string
}