diff options
| author | 2024-01-23 23:55:40 +0000 | |
|---|---|---|
| committer | 2024-01-23 23:55:40 +0000 | |
| commit | 144203764fe56819bc85d21452b948845cdf79fb (patch) | |
| tree | 7219a2b5c86e20965c174e7506c274015fa8be7f | |
| parent | 6122227f9a467f479c5611335fabcdf3dec87b42 (diff) | |
| parent | 4a1cd8f77a35fa5426441e93e288ca813928b9da (diff) | |
Merge "No more IME tests from FrameworksServicesTests" into main
| -rw-r--r-- | services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/InputMethodManagerServiceTests.java (renamed from services/tests/servicestests/src/com/android/server/inputmethod/InputMethodManagerServiceTests.java) | 11 | ||||
| -rw-r--r-- | services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/InputMethodSettingsTest.java (renamed from services/tests/servicestests/src/com/android/server/inputmethod/InputMethodSettingsTest.java) | 5 |
2 files changed, 1 insertions, 15 deletions
diff --git a/services/tests/servicestests/src/com/android/server/inputmethod/InputMethodManagerServiceTests.java b/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/InputMethodManagerServiceTests.java index fd65807a1976..a33e52f0dd75 100644 --- a/services/tests/servicestests/src/com/android/server/inputmethod/InputMethodManagerServiceTests.java +++ b/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/InputMethodManagerServiceTests.java @@ -25,23 +25,14 @@ import static android.view.WindowManager.LayoutParams.SOFT_INPUT_STATE_UNSPECIFI import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; -import android.platform.test.annotations.Presubmit; - -import androidx.test.filters.SmallTest; -import androidx.test.runner.AndroidJUnit4; - import com.android.internal.inputmethod.SoftInputShowHideReason; import org.junit.Test; -import org.junit.runner.RunWith; import java.io.PrintWriter; import java.io.StringWriter; -@Presubmit -@SmallTest -@RunWith(AndroidJUnit4.class) -public class InputMethodManagerServiceTests { +public final class InputMethodManagerServiceTests { static final int SYSTEM_DECORATION_SUPPORT_DISPLAY_ID = 2; static final int NO_SYSTEM_DECORATION_SUPPORT_DISPLAY_ID = 3; diff --git a/services/tests/servicestests/src/com/android/server/inputmethod/InputMethodSettingsTest.java b/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/InputMethodSettingsTest.java index a55d1c409fb6..75118ead888a 100644 --- a/services/tests/servicestests/src/com/android/server/inputmethod/InputMethodSettingsTest.java +++ b/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/InputMethodSettingsTest.java @@ -22,14 +22,9 @@ import android.text.TextUtils; import android.util.IntArray; import androidx.annotation.NonNull; -import androidx.test.filters.SmallTest; -import androidx.test.runner.AndroidJUnit4; import org.junit.Test; -import org.junit.runner.RunWith; -@SmallTest -@RunWith(AndroidJUnit4.class) public final class InputMethodSettingsTest { private static void verifyUpdateEnabledImeString(@NonNull String expectedEnabledImeStr, @NonNull String initialEnabledImeStr, @NonNull String imeId, |