Home
last modified time | relevance | path

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

/tools/metalava/src/test/java/com/android/tools/metalava/
DOptionsTest.kt508 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_LOWER)) in Test issue severity options()
509 assertEquals(Severity.LINT, defaultConfiguration.getSeverity(Issues.ENDS_WITH_IMPL)) in Test issue severity options()
510 assertEquals(Severity.WARNING, defaultConfiguration.getSeverity(Issues.START_WITH_UPPER)) in Test issue severity options()
511 assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test issue severity options()
519 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_LOWER)) in Test multiple issue severity options()
520 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_UPPER)) in Test multiple issue severity options()
521 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test multiple issue severity options()
529 assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.REMOVED_CLASS)) in Test issue severity options with inheriting issues()
530 … assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.REMOVED_DEPRECATED_CLASS)) in Test issue severity options with inheriting issues()
539 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test issue severity options by numeric id()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt105 val severity = configuration.getSeverity(id) in hasErrors()
120 val severity = configuration.getSeverity(id) in report()
135 val severity = configuration.getSeverity(id) in report()
180 val severity = configuration.getSeverity(id) in isSuppressed()
DBaseline.kt91 … if (options.baselineErrorsOnly && configuration.getSeverity(issue) != Severity.ERROR) { in <lambda>()
DCompatibilityCheck.kt859 … if (reporter.report(issue, item, message) && configuration.getSeverity(issue) == Severity.ERROR) { in report()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DIssueConfiguration.kt28 fun getSeverity(issue: Issues.Issue): Severity { in getSeverity() method
31 return getSeverity(issue.parent!!) in getSeverity()