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

Commit a61b7ac6 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Mark com.android.server.textservices.LocaleUtilsTest as @SmallTest

This is a follow up CL to my previous CL [1] that extracted a utility
method getSuitableLocalesForSpellChecker() from InputMethodUtils to a
newly created LocaleUtils class.

One thing I forgot was copying @SmallTest from the previous test case
to the new test case.  Other than restoring @SmallTest, this CL
changes nothing.

 [1]: If6cd051aa0ae7780631d5bec5b7d01faac4a83a0
      3781ca8c

Bug: 115516399
Test: atest FrameworksServicesTests:com.android.server.textservices
Change-Id: Iad12aa2a022e8c41150c6b2d52bea670981c4446
parent 442b49d9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -19,11 +19,17 @@ package com.android.server.textservices;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;

import androidx.test.filters.SmallTest;
import androidx.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import java.util.ArrayList;
import java.util.Locale;

@SmallTest
@RunWith(AndroidJUnit4.class)
public class LocaleUtilsTest {
    private static final Locale LOCALE_EN = new Locale("en");
    private static final Locale LOCALE_EN_US = new Locale("en", "US");