small fixs

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2025-03-24 17:55:46 +01:00
parent eedcff978d
commit aa78127087
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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);
}