summaryrefslogtreecommitdiff
path: root/test/MultiDex
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2015-03-10 15:03:37 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-10 15:03:37 +0000
commit7d4dde85e3d4f8594d140580b337c59679aae26c (patch)
treeae1c2f7c520050dda51b579448359e185f5dc5fa /test/MultiDex
parentffd1b0d3b543af324667edfc527ae0d92b09f6d7 (diff)
parent072e48ed63aa4f99bec1dbbe8a7872a4bcc03e41 (diff)
am 072e48ed: Merge "Create OatFileAssistant class for assisting with oat files."
* commit '072e48ed63aa4f99bec1dbbe8a7872a4bcc03e41': Create OatFileAssistant class for assisting with oat files.
Diffstat (limited to 'test/MultiDex')
-rw-r--r--test/MultiDex/Main.java22
-rw-r--r--test/MultiDex/Second.java21
-rw-r--r--test/MultiDex/main.list1
3 files changed, 44 insertions, 0 deletions
diff --git a/test/MultiDex/Main.java b/test/MultiDex/Main.java
new file mode 100644
index 0000000000..659dba9af6
--- /dev/null
+++ b/test/MultiDex/Main.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2014 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.
+ */
+
+class Main {
+ public static void main(String args[]) {
+ Second second = new Second();
+ System.out.println(second.getSecond());
+ }
+}
diff --git a/test/MultiDex/Second.java b/test/MultiDex/Second.java
new file mode 100644
index 0000000000..540aedbb1a
--- /dev/null
+++ b/test/MultiDex/Second.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2014 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.
+ */
+
+class Second {
+ public String getSecond() {
+ return "I Second That.";
+ }
+}
diff --git a/test/MultiDex/main.list b/test/MultiDex/main.list
new file mode 100644
index 0000000000..44ba78ead5
--- /dev/null
+++ b/test/MultiDex/main.list
@@ -0,0 +1 @@
+Main.class