Lines Matching refs:test
832 for _, test := range testCases {
833 t.Run(test.name, func(t *testing.T) {
834 testConfig := pathTestConfig(test.buildDir)
836 _, err := f.f(ctx, test.src)
841 if test.err == "" {
843 } else if !strings.Contains(err.Error(), test.err) {
844 t.Fatalf("incorrect error, want substring %q got %q", test.err, err.Error())
847 if test.err != "" {
848 t.Fatalf("missing error %q", test.err)
964 for _, test := range tests {
965 t.Run(test.name, func(t *testing.T) {
989 "foo/Android.bp": []byte(test.bp),
1009 if g, w := m.srcs, test.srcs; !reflect.DeepEqual(g, w) {
1013 if g, w := m.rels, test.rels; !reflect.DeepEqual(g, w) {
1017 if g, w := m.src, test.src; g != w {
1021 if g, w := m.rel, test.rel; g != w {
1033 test {
1043 test {
1056 test {
1066 test {
1076 test {
1086 test {
1096 test {
1111 test {
1128 test {
1138 test {
1148 test {
1158 test {
1168 test {
1178 test {
1192 test {
1199 test {