From dec4261ab02c7c55b24e2f03c83efdd888200d94 Mon Sep 17 00:00:00 2001 From: Hal Eisen Date: Wed, 17 Jun 2026 08:52:19 -0400 Subject: [PATCH] ADFA-4313 Fix CompilerTest missing activity_layouteditor.xml fixture Point both CompilerTest tests at the existing activity_editor.xml fixture instead of activity_layouteditor.xml, which was removed along with the deleted layouteditor/ module during the LayoutEditor refactor. The renamed fixture already exists in both referenced locations (app/src/main/res/layout and src/test/resources/layout). Surfaced by the nightly Jacoco/SonarQube analyze.yml run after ADFA-4306. --- .../java/com/itsaky/androidide/aaptcompiler/CompilerTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/aaptcompiler/src/test/java/com/itsaky/androidide/aaptcompiler/CompilerTest.kt b/subprojects/aaptcompiler/src/test/java/com/itsaky/androidide/aaptcompiler/CompilerTest.kt index 72cc457b54..b6346a1f5f 100644 --- a/subprojects/aaptcompiler/src/test/java/com/itsaky/androidide/aaptcompiler/CompilerTest.kt +++ b/subprojects/aaptcompiler/src/test/java/com/itsaky/androidide/aaptcompiler/CompilerTest.kt @@ -40,7 +40,7 @@ class CompilerTest { @Test fun `test simple compilatation`() { val input = - FileProvider.projectRoot().resolve("app/src/main/res/layout/activity_layouteditor.xml").toFile() + FileProvider.projectRoot().resolve("app/src/main/res/layout/activity_editor.xml").toFile() val output = Paths.get("./build").absolute().normalize().toFile() println(input) println(output) @@ -53,7 +53,7 @@ class CompilerTest { @Test fun `test xml processor`() { val input = - Paths.get(".", "src/test/resources/layout/activity_layouteditor.xml").absolute().normalize().toFile() + Paths.get(".", "src/test/resources/layout/activity_editor.xml").absolute().normalize().toFile() val pathData = extractPathData(input, input.absolutePath) val resFile = ResourceFile( ResourceName("", pathData.type!!, pathData.name),