/tools/metalava/metalava-testing/src/test/java/com/android/tools/metalava/testing/ |
D | MutableBaselineFileTest.kt | 49 val baseline = BaselineFile.forProject(projectDir, RESOURCE_PATH) in Update file() constant 56 baseline.write() in Update file() 60 baseline.removeExpectedFailure("Class1", "Method1") in Update file() 61 baseline.addExpectedFailure("Class2", "Method1") in Update file() 62 baseline.addExpectedFailure("Class3", "Method3") in Update file() 63 baseline.addExpectedFailure("Class3", "Method1") in Update file() 64 baseline.write() in Update file() 88 val baseline = BaselineFile.forProject(projectDir, RESOURCE_PATH) in Write empty() constant 89 baseline.write() in Write empty() 104 val baseline = BaselineFile.forProject(projectDir, RESOURCE_PATH) in Write empty after removing last failure() constant [all …]
|
/tools/metalava/ |
D | API-LINT.md | 42 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 …]
|
/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/ |
D | BaselineFile.kt | 49 val baseline = MutableBaselineFile(baselineFile = baselineFile) in <lambda>() constant 51 baselineFile.reader().use { baseline.read(it, baselineFile.path) } in <lambda>() 53 return baseline in <lambda>() 62 val baseline = MutableBaselineFile() in <lambda>() constant 65 resource?.openStream()?.reader()?.use { baseline.read(it, resource.toExternalForm()) } in <lambda>() 66 return baseline in <lambda>()
|
D | BaselineTestRule.kt | 40 private val baseline = BaselineFile.fromResource(resourcePath) constant 46 baseline.isExpectedFailure(description.className, description.methodName) in apply()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/ |
D | CompatibilityCheckBaselineTest.kt | 50 fun `Test released-API check, with global baseline`() { in Test released-API check, with global baseline() 82 fun `Test released-API check, with compatibility-released baseline`() { in Test released-API check, with compatibility-released baseline() 114 fun `Test released-API check, with compatibility-released baseline, and update baseline`() { in Test released-API check, with compatibility-released baseline, and update baseline()
|
/tools/metalava/metalava-model-testsuite-cli/src/main/java/com/android/tools/metalava/model/testsuite/cli/ |
D | UpdateBaselineCommand.kt | 77 val baseline = BaselineFile.forFile(baselineFile) in run() constant 82 val failureCollector = FailureCollector(baseline) in run() 94 baseline.write() in run() 97 private class FailureCollector(private val baseline: MutableBaselineFile) : DefaultHandler() { constant in com.android.tools.metalava.model.testsuite.cli.UpdateBaselineCommand.FailureCollector 149 baseline.addExpectedFailure(className, testName) in endElement() 154 baseline.removeExpectedFailure(className, testName) in endElement()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/lint/ |
D | ApiLintBaselineTest.kt | 33 fun `Test with global baseline`() { in Test with global baseline() 61 fun `Test with api-lint specific baseline`() { in Test with api-lint specific baseline() 89 fun `Test with api-lint specific baseline with update`() { in Test with api-lint specific baseline with update() 118 fun `Test with non-api-lint specific baseline`() { in Test with non-api-lint specific baseline()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | GeneralReportingOptions.kt | 63 internal val baseline by baselineOptionsMixin::baseline constant
|
D | Options.kt | 944 val baseline = generalReportingOptions.baseline in parse() constant 949 baseline = baseline, in parse() 957 baseline = apiLintOptions.baseline ?: baseline, in parse() 966 baseline = compatibilityCheckOptions.baseline ?: baseline, in parse() 976 listOfNotNull(baseline, apiLintOptions.baseline, compatibilityCheckOptions.baseline) in parse()
|
D | DefaultReporter.kt | 47 private val baseline: Baseline? = null, constant in com.android.tools.metalava.DefaultReporter 149 if (baseline != null) { in hasErrors() 162 if (baselineKey != null && baseline.mark(baselineKey, message, id)) return false in hasErrors() 307 val file = baseline?.file in getBaselineDescription()
|
D | MainCommand.kt | 154 optionGroup.allBaselines.forEach { baseline -> in <lambda>() method 156 baseline.dumpStats(optionGroup.stdout) in <lambda>() 158 if (baseline.close()) { in <lambda>()
|
/tools/metalava/scripts/ |
D | refresh-baselines.py | 42 baseline = BaselineProject( 46 projects.append(baseline)
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | BaselineTest.kt | 31 fun `Check baseline`() { in <lambda>() 177 fun `Check baseline with show annotations`() { in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/lint/ |
D | ApiLintOptions.kt | 125 internal val baseline by baselineOptionsMixin::baseline constant
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/compatibility/ |
D | CompatibilityCheckOptions.kt | 144 internal val baseline by baselineOptionsMixin::baseline in <lambda>() constant
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/baseline/ |
D | DeviceBaselineSetter.java | 17 package com.android.tradefed.suite.checker.baseline;
|
D | CommandBaselineSetter.java | 17 package com.android.tradefed.suite.checker.baseline;
|
D | SettingsBaselineSetter.java | 17 package com.android.tradefed.suite.checker.baseline;
|
D | LockSettingsBaselineSetter.java | 17 package com.android.tradefed.suite.checker.baseline;
|
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/ |
D | DeviceBaselineCheckerTest.java | 28 import com.android.tradefed.suite.checker.baseline.DeviceBaselineSetter; 29 import com.android.tradefed.suite.checker.baseline.SettingsBaselineSetter;
|
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/baseline/ |
D | DeviceBaselineSetterTest.java | 17 package com.android.tradefed.suite.checker.baseline;
|
D | SettingsBaselineSetterTest.java | 17 package com.android.tradefed.suite.checker.baseline;
|
D | CommandBaselineSetterTest.java | 17 package com.android.tradefed.suite.checker.baseline;
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/ |
D | BaselineOptionsMixin.kt | 85 val baseline by constant
|
/tools/tradefederation/core/javatests/res/testtype/ |
D | gtest_list2.txt | 27 baseline
|