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

Commit df5ac0d5 authored by Fangqiu Su's avatar Fangqiu Su
Browse files

Update the imports to androidx.test.filters.*

Bug: 316941721
Test: mmma .
Change-Id: Ie1c62b7eb4a1cb413d41ac94eb2eda9670704057
parent 2bd7c360
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -33,7 +33,10 @@ android_test {
        "android.test.base",
        "android.test.mock",
    ],
    static_libs: ["junit"],
    static_libs: [
        "junit",
        "androidx.test.rules",
    ],

    // Include all test java files.
    srcs: ["src/**/*.java"],
+2 −1
Original line number Diff line number Diff line
@@ -17,7 +17,8 @@
package android.test;

import android.test.mock.MockContext;
import android.test.suitebuilder.annotation.SmallTest;

import androidx.test.filters.SmallTest;

import junit.framework.AssertionFailedError;
import junit.framework.Test;
+2 −1
Original line number Diff line number Diff line
@@ -22,7 +22,8 @@ import android.os.Bundle;
import android.test.mock.MockContext;
import android.test.suitebuilder.ListTestCaseNames;
import android.test.suitebuilder.ListTestCaseNames.TestDescriptor;
import android.test.suitebuilder.annotation.SmallTest;

import androidx.test.filters.SmallTest;

import junit.framework.Test;
import junit.framework.TestCase;
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package android.test.suitebuilder.examples.suppress;

import android.test.suitebuilder.annotation.Suppress;
import androidx.test.filters.Suppress;

import junit.framework.TestCase;

+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package android.test.suitebuilder.examples.suppress;

import android.test.suitebuilder.annotation.Suppress;
import androidx.test.filters.Suppress;

import junit.framework.TestCase;