summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-04 17:21:12 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-04 17:21:12 -0800
commitd183d9f24bf0e9b2b59330a6fa1346bbbef7b1ce (patch)
treeeed8ec9c5f59c920b02e7274e3ae9da21a61a302 /java/java_test.go
parentcc7b3016fabe07a9b0ab92d47f9325d77d48d43d (diff)
parent50243ae1ec6e9b3b0c5429c975ee78a7a1f293be (diff)
Merge "Replace --revert-annotation with a flags config file" into main
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java_test.go b/java/java_test.go
index a6290a628..6df81e595 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -2912,12 +2912,12 @@ func TestApiLibraryAconfigDeclarations(t *testing.T) {
m := result.ModuleForTests(t, "foo", "android_common")
android.AssertStringDoesContain(t, "foo generates revert annotations file",
- strings.Join(m.AllOutputs(), ""), "revert-annotations-exportable.txt")
+ strings.Join(m.AllOutputs(), ""), "flags-config-exportable.xml")
// revert-annotations.txt passed to exportable stubs generation metalava command
manifest := m.Output("metalava.sbox.textproto")
cmdline := String(android.RuleBuilderSboxProtoForTests(t, result.TestContext, manifest).Commands[0].Command)
- android.AssertStringDoesContain(t, "flagged api hide command not included", cmdline, "revert-annotations-exportable.txt")
+ android.AssertStringDoesContain(t, "flagged api hide command not included", cmdline, "flags-config-exportable.xml")
}
func TestTestOnly(t *testing.T) {