Skip to content

Commit

Permalink
Update the imports to androidx.test.filters.*
Browse files Browse the repository at this point in the history
Bug: 316941721
Test: mmma .
Change-Id: Ie1c62b7eb4a1cb413d41ac94eb2eda9670704057
  • Loading branch information
Fangqiu Su committed Apr 21, 2024
1 parent 2bd7c36 commit df5ac0d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
5 changes: 4 additions & 1 deletion test-runner/tests/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit df5ac0d

Please sign in to comment.