diff options
Diffstat (limited to 'core/tests/coretests/src/android/util/LocaleUtilTest.java')
-rw-r--r-- | core/tests/coretests/src/android/util/LocaleUtilTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/tests/coretests/src/android/util/LocaleUtilTest.java b/core/tests/coretests/src/android/util/LocaleUtilTest.java index 203781f..ff3d539 100644 --- a/core/tests/coretests/src/android/util/LocaleUtilTest.java +++ b/core/tests/coretests/src/android/util/LocaleUtilTest.java @@ -23,7 +23,6 @@ import dalvik.annotation.TestLevel; import dalvik.annotation.TestTargetNew; import static android.util.LocaleUtil.TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE; -import static android.util.LocaleUtil.TEXT_LAYOUT_DIRECTION_UNDEFINED_DO_NOT_USE; public class LocaleUtilTest extends AndroidTestCase { @@ -33,7 +32,7 @@ public class LocaleUtilTest extends AndroidTestCase { args = {Locale.class} ) public void testGetLayoutDirectionFromLocale() { - assertEquals(TEXT_LAYOUT_DIRECTION_UNDEFINED_DO_NOT_USE, + assertEquals(TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE, LocaleUtil.getLayoutDirectionFromLocale(null)); assertEquals(TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE, @@ -59,7 +58,7 @@ public class LocaleUtilTest extends AndroidTestCase { assertEquals(LocaleUtil.TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE, LocaleUtil.getLayoutDirectionFromLocale(Locale.US)); - assertEquals(LocaleUtil.TEXT_LAYOUT_DIRECTION_UNDEFINED_DO_NOT_USE, + assertEquals(LocaleUtil.TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE, LocaleUtil.getLayoutDirectionFromLocale(Locale.ROOT)); assertEquals(LocaleUtil.TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE, |