Home
last modified time | relevance | path

Searched refs:baseline (Results 1 – 7 of 7) sorted by relevance

/tools/metalava/src/test/java/com/android/tools/metalava/
DCompatibilityCheckBaselineTest.kt73 fun `Test released-API check, with global baseline`() { in Test released-API check, with global baseline()
79 baseline = """ in Test released-API check, with global baseline()
100 fun `Test current-API check, with global baseline`() { in Test current-API check, with global baseline()
106 baseline = """ in Test current-API check, with global baseline()
127 fun `Test released-API check, with compatibility-released baseline`() { in Test released-API check, with compatibility-released baseline()
154 fun `Test released-API check, with compatibility-released baseline, and update baseline`() { in Test released-API check, with compatibility-released baseline, and update baseline()
183 fun `Test current-API check, but with compatibility-released baseline`() { in Test current-API check, but with compatibility-released baseline()
DApiLintBaselineTest.kt26 fun `Test with global baseline`() { in Test with global baseline()
30 baseline = """ in Test with global baseline()
50 fun `Test with api-lint specific baseline`() { in Test with api-lint specific baseline()
74 fun `Test with api-lint specific baseline with update`() { in Test with api-lint specific baseline with update()
100 fun `Test with non-api-lint specific baseline`() { in Test with non-api-lint specific baseline()
DBaselineTest.kt25 fun `Check baseline`() { in <lambda>()
37 baseline = """ in <lambda>()
158 fun `Check baseline with show annotations`() { in <lambda>()
168 baseline = """ in <lambda>()
252 baseline = """ in <lambda>()
/tools/metalava/
DAPI-LINT.md42 baseline to see if a given issue is already listed in the baseline, and if so,
45 You can pass a flag to metalava ("--update-baseline") to tell it to update the
46 baseline files with any new errors it comes across instead of reporting
47 them. With soong, if you specify the baseline explicitly, like this:
55 ==> baseline_filename: "api/baseline.txt", <==
60 then the build system will automatically supply `--update-baseline` on your
62 will tell you where to find the updated baseline which you can then copy into
72 2. You can update the baseline by executing the following
75 …soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/api/system-baseline.txt \
76 frameworks/base/api/system-baseline.txt
[all …]
DREADME.md191 * Baselines: Metalava can report all of its issues into a "baseline" file, which
194 baseline. This lets you enforce new issues going forward without having to
196 regenerate the baseline. For issues with some false positives, such as API
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt101 fun getBaseline(): Baseline? = customBaseline ?: options.baseline in getBaseline()
110 val baseline = getBaseline() in getBaseline() constant
111 if (element != null && baseline != null && baseline.mark(element, message, id)) { in getBaseline()
125 val baseline = getBaseline() in report() constant
126 if (file != null && baseline != null && baseline.mark(file, message, id)) { in report()
168 val baseline = getBaseline() in report() constant
169 if (item != null && baseline != null && baseline.mark(item, message, id)) { in report()
171 } else if (psi != null && baseline != null && baseline.mark(psi, message, id)) { in report()
/tools/tradefederation/core/tests/res/testtype/
Dgtest_list2.txt27 baseline