Make ART run-test 001-HelloWorld buildable and runnable with Atest.

Define build module `art-run-test-001-HelloWorld`, producing a JAR
file containing artifacts for ART run-test 001-HelloWorld, along with
its TradeFed test configuration (for on-device testing), using
`com.android.tradefed.testtype.ArtRunTest` as test runner.

Test: atest art-run-test-001-HelloWorld
Bug: 147814778
Bug: 147812905
Change-Id: I7be6207bdd64a0ca62ec94f3891faa0a3c15b194
diff --git a/test/001-HelloWorld/Android.bp b/test/001-HelloWorld/Android.bp
new file mode 100644
index 0000000..0580c4f
--- /dev/null
+++ b/test/001-HelloWorld/Android.bp
@@ -0,0 +1,7 @@
+java_test {
+    name: "art-run-test-001-HelloWorld",
+    srcs: ["src/*.java"],
+    sdk_version: "core_platform",
+    data: ["expected.txt"],
+    test_suites: ["general-tests"],
+}
diff --git a/test/001-HelloWorld/AndroidTest.xml b/test/001-HelloWorld/AndroidTest.xml
new file mode 100644
index 0000000..2be7a87
--- /dev/null
+++ b/test/001-HelloWorld/AndroidTest.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+<configuration description="Test module config for ART run-test 001-HelloWorld">
+    <!-- Root access is needed to push the test JAR file to the device. -->
+    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
+    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
+      <!-- TODO: Place files in a different directory (e.g.
+           /data/local/tmp/art-run-test/001-HelloWorld)? -->
+        <option name="cleanup" value="true" />
+        <!-- TODO: Use option `push-file` instead of deprecated option
+             `push`. -->
+        <option name="push" value="art-run-test-001-HelloWorld.jar->/data/local/tmp/art-run-test-001-HelloWorld/art-run-test-001-HelloWorld.jar" />
+    </target_preparer>
+    <test class="com.android.tradefed.testtype.ArtRunTest">
+        <option name="run-test-name" value="art-run-test-001-HelloWorld" />
+        <option name="classpath" value="/data/local/tmp/art-run-test-001-HelloWorld/art-run-test-001-HelloWorld.jar" />
+    </test>
+</configuration>