Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 866a935c authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Fix AnimationLib Test not running in presubmit

Test: atest InterpolatorsAndroidXTest
Bug: 259063937
Change-Id: I25c4eef9bf489a944ed692147a43e486db14433e
parent 64e177c0
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -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"],
}
+0 −7
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "SystemUIAnimationLibTests"
    }
  ]
}
+2 −1
Original line number Diff line number Diff line
@@ -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() {