This repository was archived by the owner on Jan 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
ql/test/query-tests/filters/ClassifyFiles Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11| hello2.go:0:0:0:0 | hello2.go | generated |
22| hello.go:0:0:0:0 | hello.go | generated |
3+ | httptest.go:0:0:0:0 | httptest.go | test |
4+ | test1.go:0:0:0:0 | test1.go | test |
Original file line number Diff line number Diff line change 1+ | test1.go:5:1:5:26 | function declaration |
2+ | test1.go:7:1:7:27 | function declaration |
3+ | test1.go:15:1:15:31 | function declaration |
4+ | test1.go:17:1:17:32 | function declaration |
5+ | test1.go:25:1:25:17 | function declaration |
6+ | test1.go:27:1:27:18 | function declaration |
Original file line number Diff line number Diff line change 1+ import go
2+
3+ from TestCase tc
4+ select tc
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import "net/http/httptest"
4+
5+ func setup (server * httptest.Server ) {}
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import "testing"
4+
5+ func Test (t * testing.T ) {} // test case
6+
7+ func Test2 (t * testing.T ) {} // test case
8+
9+ func TestMustHaveSingleParameter (t * testing.T , b bool ) {} // not a test case
10+
11+ func TestParameterMustHaveCorrectType (b * testing.B ) {} // not a test case
12+
13+ func TestsDoNotLookLikeThis (t * testing.T ) {} // not a test case
14+
15+ func Benchmark (b * testing.B ) {} // test case
16+
17+ func Benchmark2 (b * testing.B ) {} // test case
18+
19+ func BenchmarkMustHaveSingleParameter (b * testing.B , flag bool ) {} // not a test case
20+
21+ func BenchmarkParameterMustHaveCorrectType (t * testing.T ) {} // not a test case
22+
23+ func BenchmarksDoNotLookLikeThis (b * testing.B ) {} // not a test case
24+
25+ func Example () {} // test case
26+
27+ func Example2 () {} // test case
28+
29+ func ExampleMustNotHaveParameter (t * testing.T ) {} // not a test case
30+
31+ func ExamplesDoNotLookLikeThis () {} // not a test case
You can’t perform that action at this time.
0 commit comments