Merge "Fix AnimationLib Test not running in presubmit" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
18b4a499d8
@@ -44,23 +44,3 @@ android_library {
|
|||||||
manifest: "AndroidManifest.xml",
|
manifest: "AndroidManifest.xml",
|
||||||
kotlincflags: ["-Xjvm-default=all"],
|
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"],
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"presubmit": [
|
|
||||||
{
|
|
||||||
"name": "SystemUIAnimationLibTests"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
package com.android.systemui.animation
|
package com.android.systemui.animation
|
||||||
|
|
||||||
import androidx.test.filters.SmallTest
|
import androidx.test.filters.SmallTest
|
||||||
|
import com.android.systemui.SysuiTestCase
|
||||||
import java.lang.reflect.Modifier
|
import java.lang.reflect.Modifier
|
||||||
import junit.framework.Assert.assertEquals
|
import junit.framework.Assert.assertEquals
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
@@ -25,7 +26,7 @@ import org.junit.runners.JUnit4
|
|||||||
|
|
||||||
@SmallTest
|
@SmallTest
|
||||||
@RunWith(JUnit4::class)
|
@RunWith(JUnit4::class)
|
||||||
class InterpolatorsAndroidXTest {
|
class InterpolatorsAndroidXTest : SysuiTestCase() {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun testInterpolatorsAndInterpolatorsAndroidXPublicMethodsAreEqual() {
|
fun testInterpolatorsAndInterpolatorsAndroidXPublicMethodsAreEqual() {
|
||||||
Reference in New Issue
Block a user