Merge "Fix AnimationLib Test not running in presubmit" into tm-qpr-dev am: 18b4a499d8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20609552

Change-Id: I4915b238918298ab26730e72dc3eaff34533489e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Johannes Gallmann
2022-12-07 10:14:11 +00:00
committed by Automerger Merge Worker
3 changed files with 2 additions and 28 deletions

View File

@@ -44,23 +44,3 @@ android_library {
manifest: "AndroidManifest.xml",
kotlincflags: ["-Xjvm-default=all"],
}
android_test {
name: "SystemUIAnimationLibTests",
static_libs: [
"SystemUIAnimationLib",
"androidx.test.ext.junit",
"androidx.test.rules",
"testables",
],
libs: [
"android.test.base",
],
srcs: [
"**/*.java",
"**/*.kt",
],
kotlincflags: ["-Xjvm-default=all"],
test_suites: ["general-tests"],
}

View File

@@ -1,7 +0,0 @@
{
"presubmit": [
{
"name": "SystemUIAnimationLibTests"
}
]
}

View File

@@ -17,6 +17,7 @@
package com.android.systemui.animation
import androidx.test.filters.SmallTest
import com.android.systemui.SysuiTestCase
import java.lang.reflect.Modifier
import junit.framework.Assert.assertEquals
import org.junit.Test
@@ -25,7 +26,7 @@ import org.junit.runners.JUnit4
@SmallTest
@RunWith(JUnit4::class)
class InterpolatorsAndroidXTest {
class InterpolatorsAndroidXTest : SysuiTestCase() {
@Test
fun testInterpolatorsAndInterpolatorsAndroidXPublicMethodsAreEqual() {