Home
last modified time | relevance | path

Searched defs:testCase (Results 1 – 8 of 8) sorted by relevance

/prebuilts/go/linux-x86/src/cmd/fix/
Dmain_test.go17 type testCase struct { struct
18 Name string
19 Fn func(*ast.File) bool
20 Version string
21 In string
22 Out string
27 func addTestCases(t []testCase, fn func(*ast.File) bool) {
/prebuilts/go/linux-x86/src/net/http/
Drouting_tree_test.go97 type testCase struct { struct
98 method, host, path string
99 wantPat string // "" for nil (no match)
100 wantMatches []string
/prebuilts/go/linux-x86/src/html/template/
Dtemplate_test.go179 type testCase struct { struct
180 t *testing.T
181 root *Template
191 func (c *testCase) lookup(name string) *Template {
195 func (c *testCase) mustParse(t *Template, text string) {
202 func (c *testCase) mustNotParse(t *Template, text string) {
209 func (c *testCase) mustExecute(t *Template, val any, want string) {
/prebuilts/go/linux-x86/src/testing/slogtest/
Dslogtest.go19 type testCase struct { struct
21 name string
23 explanation string
28 f func(*slog.Logger)
31 mod func(*slog.Record)
33 checks []check
/prebuilts/go/linux-x86/src/index/suffixarray/
Dsuffixarray_test.go21 type testCase struct { struct
22 name string // name of test case
23 source string // source to index
24 patterns []string // patterns to lookup
130 func testLookup(t *testing.T, tc *testCase, x *Index, s string, n int) {
168 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) {
203 func testLookups(t *testing.T, tc *testCase, x *Index, n int) {
229 func testConstruction(t *testing.T, tc *testCase, x *Index) {
252 func testSaveRestore(t *testing.T, tc *testCase, x *Index) int {
/prebuilts/go/linux-x86/src/image/jpeg/
Dwriter_test.go101 var testCase = []struct { var
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
DSDL_test_harness.h77 SDLTest_TestCaseFp testCase; member
/prebuilts/go/linux-x86/src/image/gif/
Dwriter_test.go78 var testCase = []struct { var