small fixs
This commit is contained in:
parent
eedcff978d
commit
aa78127087
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue