Home
last modified time | relevance | path

Searched refs:getSeverity (Results 1 – 4 of 4) sorted by relevance

/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/common/
DIssueReportingOptionsTest.kt138 assertEquals(Severity.HIDDEN, issueConfiguration.getSeverity(Issues.START_WITH_LOWER)) in createOptions()
139 assertEquals(Severity.WARNING, issueConfiguration.getSeverity(Issues.START_WITH_UPPER)) in createOptions()
140 assertEquals(Severity.ERROR, issueConfiguration.getSeverity(Issues.ARRAY_RETURN)) in createOptions()
149 assertEquals(Severity.HIDDEN, issueConfiguration.getSeverity(Issues.START_WITH_LOWER)) in Test multiple issue severity options()
150 assertEquals(Severity.HIDDEN, issueConfiguration.getSeverity(Issues.START_WITH_UPPER)) in Test multiple issue severity options()
151 assertEquals(Severity.HIDDEN, issueConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test multiple issue severity options()
159 assertEquals(Severity.ERROR, issueConfiguration.getSeverity(Issues.REMOVED_CLASS)) in Test issue severity options with inheriting issues()
162 issueConfiguration.getSeverity(Issues.REMOVED_DEPRECATED_CLASS) in Test issue severity options with inheriting issues()
175 assertEquals(Severity.HIDDEN, issueConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test issue severity options with case insensitive names()
203 assertEquals(Severity.WARNING, baseConfiguration.getSeverity(Issues.HIDDEN_SUPERCLASS)) in Test options process in order()
[all …]
/tools/metalava/metalava-reporter/src/main/java/com/android/tools/metalava/reporter/
DIssueConfiguration.kt24 fun getSeverity(issue: Issues.Issue): Severity { in getSeverity() method
29 return getSeverity(issue.parent!!) in getSeverity()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDefaultReporter.kt98 val severity = issueConfiguration.getSeverity(id) in hasErrors()
173 val severity = issueConfiguration.getSeverity(id) in isSuppressed()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt981 val severity = minOf(maximumSeverity, issueConfiguration.getSeverity(issue)) in report()