Move Invoke to a run-test.
Change-Id: I3496e0bc88afb0ff0316b59b01cfc5a2df5aabfb
diff --git a/build/Android.common.mk b/build/Android.common.mk
index 5d9fc4b..11be399 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -431,7 +431,6 @@
ExceptionTest \
GrowthLimit \
IntMath \
- Invoke \
ParallelGC \
ReferenceMap \
StackWalk \
diff --git a/test/105-invoke/expected.txt b/test/105-invoke/expected.txt
new file mode 100644
index 0000000..e0ffebd
--- /dev/null
+++ b/test/105-invoke/expected.txt
@@ -0,0 +1 @@
+invoke PASSED
diff --git a/test/105-invoke/info.txt b/test/105-invoke/info.txt
new file mode 100644
index 0000000..fa794de
--- /dev/null
+++ b/test/105-invoke/info.txt
@@ -0,0 +1 @@
+Tests simple method dispatch.
diff --git a/test/Invoke/Invoke.java b/test/105-invoke/src/Main.java
similarity index 96%
rename from test/Invoke/Invoke.java
rename to test/105-invoke/src/Main.java
index e8c30ef..d5f3b62 100644
--- a/test/Invoke/Invoke.java
+++ b/test/105-invoke/src/Main.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-class Invoke implements InvokeInterface {
+class Main implements InvokeInterface {
int virI_I(int a) {
return a + 123;
@@ -69,7 +69,7 @@
}
static int invoke(int a) {
- Invoke foo = new Invoke();
+ Main foo = new Main();
return foo.virI_I(a) +
foo.virI_II(a, 1) +