diff options
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 |