Merge "Move Invoke to a run-test." into dalvik-dev
diff --git a/build/Android.common.mk b/build/Android.common.mk
index 314b25a..6214adf 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -430,7 +430,6 @@
 	\
 	ExceptionTest \
 	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) +