diff --git a/test_apks/dynloading/Makefile b/test_apks/dynloading/Makefile index e6a946b..bcaa9fe 100644 --- a/test_apks/dynloading/Makefile +++ b/test_apks/dynloading/Makefile @@ -4,7 +4,7 @@ JAVA_PATH=/usr/lib/jvm/java-17-openjdk/bin JAVAC=/usr/lib/jvm/java-17-openjdk/bin/javac JAR=/usr/lib/jvm/java-17-openjdk/bin/jar PYTHON=python3 -APP=test_reflection +APP=test_dynloading PACKAGE=com.example.theseus.dynloading MAIN_ACTIVITY=MainActivity diff --git a/test_apks/dynloading/java/classes/com/example/theseus/dynloading/MainActivity.java b/test_apks/dynloading/java/classes/com/example/theseus/dynloading/MainActivity.java index f9bb1cd..06da369 100644 --- a/test_apks/dynloading/java/classes/com/example/theseus/dynloading/MainActivity.java +++ b/test_apks/dynloading/java/classes/com/example/theseus/dynloading/MainActivity.java @@ -170,7 +170,7 @@ public class MainActivity extends Activity { //Utils.popup(this, "Result", id); String expectedId = "MainAPK"; if (id.equals(expectedId)) { - Utils.popup(this, "OK", "The right class was loaded"); + Utils.popup(this, "OK", "The right class was loaded: " + id); } else { Utils.popup(this, "BAD", "The wrong class was loaded: id = " + id + " expected id = " + expectedId); } @@ -197,7 +197,7 @@ public class MainActivity extends Activity { //Utils.popup(this, "Result", id); String expectedId = "A"; if (id.equals(expectedId)) { - Utils.popup(this, "OK", "The right class was loaded"); + Utils.popup(this, "OK", "The right class was loaded: " + id); } else { Utils.popup(this, "BAD", "The wrong class was loaded: id = " + id + " expected id = " + expectedId); } @@ -224,7 +224,7 @@ public class MainActivity extends Activity { //Utils.popup(this, "Result", id); String expectedId = "MainAPK"; if (id.equals(expectedId)) { - Utils.popup(this, "OK", "The right class was loaded"); + Utils.popup(this, "OK", "The right class was loaded: " + id); } else { Utils.popup(this, "BAD", "The wrong class was loaded: id = " + id + " expected id = " + expectedId); } @@ -251,7 +251,7 @@ public class MainActivity extends Activity { //Utils.popup(this, "Result", id); String expectedId = "A"; if (id.equals(expectedId)) { - Utils.popup(this, "OK", "The right class was loaded"); + Utils.popup(this, "OK", "The right class was loaded: " + id); } else { Utils.popup(this, "BAD", "The wrong class was loaded: id = " + id + " expected id = " + expectedId); }