Searched refs:getSeverity (Results 1 – 5 of 5) sorted by relevance
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | OptionsTest.kt | 508 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/ |
D | Reporter.kt | 105 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()
|
D | Baseline.kt | 91 … if (options.baselineErrorsOnly && configuration.getSeverity(issue) != Severity.ERROR) { in <lambda>()
|
D | CompatibilityCheck.kt | 859 … if (reporter.report(issue, item, message) && configuration.getSeverity(issue) == Severity.ERROR) { in report()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | IssueConfiguration.kt | 28 fun getSeverity(issue: Issues.Issue): Severity { in getSeverity() method 31 return getSeverity(issue.parent!!) in getSeverity()
|