diff options
author | Yohann Roussel <yroussel@google.com> | 2014-04-07 11:55:23 +0200 |
---|---|---|
committer | Yohann Roussel <yroussel@google.com> | 2014-04-07 11:55:23 +0200 |
commit | 07a55f2c401c7bab42db8b1fb83abe3f980d364f (patch) | |
tree | a9937e2a054922e0288300d0c16d83742538183f /jack-tests/tests/com/android/jack/resource | |
parent | de9fa866925ccc0eac235184b7fb122e333e223e (diff) | |
download | toolchain_jack-07a55f2c401c7bab42db8b1fb83abe3f980d364f.tar.gz toolchain_jack-07a55f2c401c7bab42db8b1fb83abe3f980d364f.tar.bz2 toolchain_jack-07a55f2c401c7bab42db8b1fb83abe3f980d364f.zip |
Initial Jack import part 2.
Change-Id: Ic439604a1f030700d9049800fbf62422e0004d35
Diffstat (limited to 'jack-tests/tests/com/android/jack/resource')
6 files changed, 33 insertions, 0 deletions
diff --git a/jack-tests/tests/com/android/jack/resource/test001/jack/IrrelevantForTest.java b/jack-tests/tests/com/android/jack/resource/test001/jack/IrrelevantForTest.java new file mode 100644 index 00000000..fc67d002 --- /dev/null +++ b/jack-tests/tests/com/android/jack/resource/test001/jack/IrrelevantForTest.java @@ -0,0 +1,28 @@ +/* + * 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.resource.test001.jack; + +/** + * This class is irrelevant for the test, since what we test here is the handling of resources. + */ +public class IrrelevantForTest { + + public int getInt() { + return 4; + } + +} diff --git a/jack-tests/tests/com/android/jack/resource/test001/jack/Resource1 b/jack-tests/tests/com/android/jack/resource/test001/jack/Resource1 new file mode 100644 index 00000000..b98ccd93 --- /dev/null +++ b/jack-tests/tests/com/android/jack/resource/test001/jack/Resource1 @@ -0,0 +1 @@ +Res1 diff --git a/jack-tests/tests/com/android/jack/resource/test001/jack/Resource2 b/jack-tests/tests/com/android/jack/resource/test001/jack/Resource2 new file mode 100644 index 00000000..1bcdbc06 --- /dev/null +++ b/jack-tests/tests/com/android/jack/resource/test001/jack/Resource2 @@ -0,0 +1 @@ +Res2 diff --git a/jack-tests/tests/com/android/jack/resource/test001/jack/pack/Resource3 b/jack-tests/tests/com/android/jack/resource/test001/jack/pack/Resource3 new file mode 100644 index 00000000..d0da24e9 --- /dev/null +++ b/jack-tests/tests/com/android/jack/resource/test001/jack/pack/Resource3 @@ -0,0 +1 @@ +Res3 diff --git a/jack-tests/tests/com/android/jack/resource/test001/jack/pack/Resource4 b/jack-tests/tests/com/android/jack/resource/test001/jack/pack/Resource4 new file mode 100644 index 00000000..cf382571 --- /dev/null +++ b/jack-tests/tests/com/android/jack/resource/test001/jack/pack/Resource4 @@ -0,0 +1 @@ +Res4 diff --git a/jack-tests/tests/com/android/jack/resource/test001/jack/proguard.flags b/jack-tests/tests/com/android/jack/resource/test001/jack/proguard.flags new file mode 100644 index 00000000..a8d845ef --- /dev/null +++ b/jack-tests/tests/com/android/jack/resource/test001/jack/proguard.flags @@ -0,0 +1 @@ +-keep class com.android.jack.resource.test001.jack.IrrelevantForTest |