summaryrefslogtreecommitdiffstats
path: root/dexcomparator/testsource1
diff options
context:
space:
mode:
authorBenoit Lamarche <benoitlamarche@google.com>2014-07-07 15:00:15 +0200
committerBenoit Lamarche <benoitlamarche@google.com>2014-07-07 15:00:15 +0200
commit51ba3e36bbaa6a315d07137b6fb00be139919d18 (patch)
tree6268696f96d6382eb97c8568658cc702452aeb2a /dexcomparator/testsource1
parent31b9d81989d65f2ecdeef7862d69702859d5ad11 (diff)
downloadtoolchain_jack-51ba3e36bbaa6a315d07137b6fb00be139919d18.zip
toolchain_jack-51ba3e36bbaa6a315d07137b6fb00be139919d18.tar.gz
toolchain_jack-51ba3e36bbaa6a315d07137b6fb00be139919d18.tar.bz2
Add DexComparator code binary comparison test
Change-Id: Id5c0c47e8a2a92dbd689d9e418c00a8f9ecbe30f
Diffstat (limited to 'dexcomparator/testsource1')
-rw-r--r--dexcomparator/testsource1/com/android/jack/dexcomparator/test/A.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/dexcomparator/testsource1/com/android/jack/dexcomparator/test/A.java b/dexcomparator/testsource1/com/android/jack/dexcomparator/test/A.java
new file mode 100644
index 0000000..3cad8ce
--- /dev/null
+++ b/dexcomparator/testsource1/com/android/jack/dexcomparator/test/A.java
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ */
+
+package com.android.jack.dexcomparator.test;
+
+public class A {
+
+ private int m(int b) {
+ int a = b + 2;
+ return a * 3;
+ }
+
+}