Searched refs:expectedError (Results 1 – 3 of 3) sorted by relevance
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TokenizerTest.kt | 33 val expectedError: String? = null, in <lambda>() constant in com.android.tools.metalava.model.text.TokenizerTest.Params 36 if (expectedToken == null && expectedError == null) { in <lambda>() 40 } else if (expectedToken != null && expectedError != null) { in <lambda>() 59 expectedError = """api.txt:1: Unexpected end of file for " starting at 1""", in <lambda>() 63 expectedError = """api.txt:1: Unexpected end of file for " starting at 1""", in <lambda>() 73 expectedError = """api.txt:1: Unexpected end of file for " starting at 1""", in <lambda>() 90 params.expectedError?.let { expectedError -> in <lambda>() method 92 assertEquals(expectedError, exception.message) in <lambda>()
|
D | FileFormatTest.kt | 41 expectedError: String? = null, in checkParseHeader() 48 if (expectedError == null) { in checkParseHeader() 56 assertEquals(expectedError, e.message) in checkParseHeader() 126 expectedError = in Check format parsing (v1)() 158 expectedError = in Check format parsing (unknown version)() 223 expectedError = in Check format parsing, shortened prefix (v2 non-unix newlines)() 234 expectedError = in Check format parsing (invalid)() 263 expectedError = in Check format parsing (not blank, multiple lines of white space, then some text)() 275 expectedError = in Check format parsing (v3 + kotlin-style-nulls=no but no migrating)() 342 expectedError = in Check format parsing (v5) - invalid property()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | AnnotationFilterTest.kt | 43 val expectedError: String? = null, constant in com.android.tools.metalava.AnnotationFilterTest.Params 142 expectedError = 152 expectedError = 190 if (params.expectedError == null) { in testParameters() 197 assertEquals(params.expectedError, error) in testParameters()
|