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

Commit 4a1cd8f7 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

No more IME tests from FrameworksServicesTests

This follows up to our previous CL [1], which moved serveral unit
tests from

  FrameworksServicesTests

to

  FrameworksInputMethodSystemServerTests

for better stability and test separatoin.

With tihs CL all the remaining unit tests are also moved.

Fix: 319948502
Test: atest FrameworksInputMethodSystemServerTests
Change-Id: Id01538b02e0768a1f3403cff2fe8095a34bae893
parent 89d5584a
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -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;

+0 −5
Original line number Diff line number Diff line
@@ -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,