Fix ApplyMappingClassPathInterfaceInheritTest on release branch
1) We do not lookup the class path class from so the class-path class
was not referenced
2) We do not have repackaging so the class is obfuscated to a's
Bug: 181887416
Change-Id: I68b418eb313528f99629932fbbc255115f5e2c47
diff --git a/src/test/java/com/android/tools/r8/naming/applymapping/ApplyMappingClassPathInterfaceInheritTest.java b/src/test/java/com/android/tools/r8/naming/applymapping/ApplyMappingClassPathInterfaceInheritTest.java
index 5270eab..0d26c2b 100644
--- a/src/test/java/com/android/tools/r8/naming/applymapping/ApplyMappingClassPathInterfaceInheritTest.java
+++ b/src/test/java/com/android/tools/r8/naming/applymapping/ApplyMappingClassPathInterfaceInheritTest.java
@@ -63,7 +63,7 @@
.run(parameters.getRuntime(), Main.class)
.applyIf(
minifyLibrary,
- r -> r.assertSuccessWithOutputLines("a.a"),
+ r -> r.assertSuccessWithOutputLines("a.a.a.a.a.a.a"),
r -> r.assertSuccessWithOutputLines(ClassPathI.class.getTypeName()));
}
@@ -74,11 +74,7 @@
public static class Main {
public static void main(String[] args) throws ClassNotFoundException {
- System.out.println(
- Class.forName(
- "com.android.tools.r8.naming.applymapping"
- + ".ApplyMappingClassPathInterfaceInheritTest$ClassPathI")
- .getName());
+ System.out.println(Class.forName(ClassPathI.class.getName()).getName());
}
}
}