diff --git a/tests/Android.mk b/tests/Android.mk deleted file mode 100644 index 7a0b6002..00000000 --- a/tests/Android.mk +++ /dev/null @@ -1,57 +0,0 @@ -# -# Copyright (C) 2015 The CyanogenMod 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. -# -LOCAL_PATH:= $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_MODULE_TAGS := tests - -LOCAL_STATIC_JAVA_LIBRARIES := \ - org.lineageos.platform.internal \ - android-support-test \ - mockito-target - -LOCAL_DEX_PREOPT := false - -LOCAL_SRC_FILES := $(call all-subdir-java-files, src/) - -LOCAL_PACKAGE_NAME := LineagePlatformTests -LOCAL_CERTIFICATE := platform -LOCAL_JAVA_LIBRARIES := android.test.runner -LOCAL_PROGUARD_ENABLED := optimization -LOCAL_PROGUARD_FLAG_FILES := proguard.flags -LOCAL_PRIVATE_PLATFORM_APIS := true - -include $(BUILD_PACKAGE) - -# Register as LineageTS -include $(CLEAR_VARS) -LOCAL_MODULE_TAGS := tests - -LOCAL_STATIC_JAVA_LIBRARIES := \ - org.lineageos.platform.internal \ - android-support-test \ - mockito-target - -LOCAL_DEX_PREOPT := false - -LOCAL_SRC_FILES := $(call all-subdir-java-files, src/) - -LOCAL_PACKAGE_NAME := CmtsPlatformSDKTests -LOCAL_CERTIFICATE := platform -LOCAL_JAVA_LIBRARIES := android.test.runner -LOCAL_PROGUARD_ENABLED := optimization -LOCAL_PROGUARD_FLAG_FILES := proguard.flags -include $(BUILD_LineageTS_PACKAGE) diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml deleted file mode 100644 index 614d2946..00000000 --- a/tests/AndroidManifest.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tests/README.md b/tests/README.md deleted file mode 100644 index 6e077dde..00000000 --- a/tests/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## Lineage Platform SDK Tests -The tests package contains both functional manual tests as well as unit -tests which can be ran utilizing the InstrumentationTestRunner from android. - -To run the tests (on a live device): - - ```adb shell am instrument -w org.lineageos.tests/androidx.test.runner.AndroidJUnitRunner``` diff --git a/tests/proguard.flags b/tests/proguard.flags deleted file mode 100644 index 86ec0505..00000000 --- a/tests/proguard.flags +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright (C) 2016 The CyanogenMod 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. - -# Don't skip non public library classes, make sure we're not keeping anything which will get mapped against api verification. --dontskipnonpubliclibraryclasses - -# Do the same with class members --dontskipnonpubliclibraryclassmembers - -# Keep test packages --keep class androidx.** { *; } --keep class android.test.** { *; } --keep public class * extends androidx.** { *; } --keep public class * extends android.test.** { *; } --keep interface androidx.** { *; } --keep interface android.test.** { *; } - -# Keep all junit classes --keep class junit.** { *; } --keep class org.junit.** { *; } --keep interface junit.** { *; } --keep interface org.junit.** { *; } - -# Keep compiled java classes from declared aidl's within the test package --keep public class * extends android.os.IInterface { *; } - -# Don't warn about the Android Support Test JUnit Runner --dontwarn androidx.** --dontwarn android.test.** - -# Don't warn about junit --dontwarn junit.** --dontwarn org.junit.** - -# keep mockito methods --keep class org.mockito.** { *; } --keep interface org.mockito.** { *; } --keep class com.google.dexmaker.** { *; } --keep interface com.google.dexmaker.** { *; } - -# Always process --forceprocessing - -# Make sure not to obfuscate the output --dontobfuscate diff --git a/tests/res/drawable-hdpi/ic_launcher.png b/tests/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index cde69bcc..00000000 Binary files a/tests/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/tests/res/drawable-hdpi/ic_whatshot_white_24dp.png b/tests/res/drawable-hdpi/ic_whatshot_white_24dp.png deleted file mode 100644 index 46ed1f8b..00000000 Binary files a/tests/res/drawable-hdpi/ic_whatshot_white_24dp.png and /dev/null differ diff --git a/tests/res/drawable-mdpi/ic_launcher.png b/tests/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index c133a0cb..00000000 Binary files a/tests/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/tests/res/drawable-mdpi/ic_whatshot_white_24dp.png b/tests/res/drawable-mdpi/ic_whatshot_white_24dp.png deleted file mode 100644 index 4cf6f85f..00000000 Binary files a/tests/res/drawable-mdpi/ic_whatshot_white_24dp.png and /dev/null differ diff --git a/tests/res/drawable-xhdpi/ic_launcher.png b/tests/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index bfa42f0e..00000000 Binary files a/tests/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/tests/res/drawable-xhdpi/ic_whatshot_white_24dp.png b/tests/res/drawable-xhdpi/ic_whatshot_white_24dp.png deleted file mode 100644 index 3651d061..00000000 Binary files a/tests/res/drawable-xhdpi/ic_whatshot_white_24dp.png and /dev/null differ diff --git a/tests/res/drawable-xxhdpi/ic_launcher.png b/tests/res/drawable-xxhdpi/ic_launcher.png deleted file mode 100644 index 324e72cd..00000000 Binary files a/tests/res/drawable-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/tests/res/drawable-xxhdpi/ic_whatshot_white_24dp.png b/tests/res/drawable-xxhdpi/ic_whatshot_white_24dp.png deleted file mode 100644 index 8eaf3755..00000000 Binary files a/tests/res/drawable-xxhdpi/ic_whatshot_white_24dp.png and /dev/null differ diff --git a/tests/res/drawable-xxxhdpi/ic_whatshot_white_24dp.png b/tests/res/drawable-xxxhdpi/ic_whatshot_white_24dp.png deleted file mode 100644 index 5c5d8687..00000000 Binary files a/tests/res/drawable-xxxhdpi/ic_whatshot_white_24dp.png and /dev/null differ diff --git a/tests/res/layout/main.xml b/tests/res/layout/main.xml deleted file mode 100644 index 15b422cd..00000000 --- a/tests/res/layout/main.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - -