Home
last modified time | relevance | path

Searched refs:expectedErrors (Results 1 – 5 of 5) sorted by relevance

/build/soong/android/
Dpackage_test.go10 expectedErrors []string
22 expectedErrors: []string{
52 expectedErrors: []string{
63 expectedErrors := test.expectedErrors
64 if expectedErrors == nil {
67 for _, expectedError := range expectedErrors {
70 if len(errs) > len(expectedErrors) {
71 t.Errorf("additional errors found, expected %d, found %d", len(expectedErrors), len(errs))
72 for i, expectedError := range expectedErrors {
Dvisibility_test.go13 expectedErrors []string
25 expectedErrors: []string{`visibility: must contain at least one visibility rule`},
36 expectedErrors: []string{`visibility: invalid visibility pattern ""`},
47 expectedErrors: []string{`visibility: invalid visibility pattern "target"`},
58 expectedErrors: []string{`visibility: invalid visibility pattern "//"`},
69 expectedErrors: []string{`visibility: invalid visibility pattern ":"`},
80 expectedErrors: []string{`visibility: invalid visibility pattern "//:"`},
91 expectedErrors: []string{`unrecognized visibility rule "//visibility:unknown"`},
107 expectedErrors: []string{
123 expectedErrors: []string{
[all …]
Dneverallow_test.go36 expectedErrors []string
57 expectedErrors: []string{
74 expectedErrors: []string{
101 expectedErrors: []string{
117 expectedErrors: []string{
156 expectedErrors: []string{
174 expectedErrors: []string{
201 expectedErrors: []string{
214 expectedErrors: []string{
248 expectedErrors: []string{
[all …]
Dnamespace_test.go173 expectedErrors := []error{
180 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
181 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
396 expectedErrors := []error{
399 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
400 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
425 expectedErrors := []error{
430 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
431 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
488 expectedErrors := []error{
[all …]
/build/blueprint/
Dmodule_ctx_test.go199 func expectedErrors(t *testing.T, errs []error, expectedMessages ...string) { func
224 expectedErrors(t, errs)
234 expectedErrors(t, errs, `path/Blueprint:5:1: expected "}", found EOF`)
244 expectedErrors(t, errs, `path/Blueprint:2:1: unrecognized module type "test2"`)
254 expectedErrors(t, errs, `path/Blueprint:3:5: unrecognized property "nam"`)
264 expectedErrors(t, errs, `path/Blueprint:3:8: can't assign bool value to string property "name"`)
278 expectedErrors(t, errs,