commit | 6d89b9bfb0e8b8309e19be675ae54567a5332f85 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Thu Sep 24 15:04:11 2020 -0700 |
committer | Seigo Nonaka <nona@google.com> | Mon Sep 28 20:22:41 2020 +0000 |
tree | ea9134ab346c6f66600094c8ecee6ef18d13501c | |
parent | e8995fddeb54adb5571bec3e1f53843c8d906160 [diff] |
Remove LocaleListTest#testRepeatedArguments Bug: 152410253 Bug: 168854184 Test: N/A Change-Id: I3287c94dd61ad82f5de84896c011b3942e1d2fa9 Merged-In: I8aef447f0c584b0a710d7f139710d40723621544
diff --git a/tests/tests/os/src/android/os/cts/LocaleListTest.java b/tests/tests/os/src/android/os/cts/LocaleListTest.java index bc30e5c..93c81f4 100644 --- a/tests/tests/os/src/android/os/cts/LocaleListTest.java +++ b/tests/tests/os/src/android/os/cts/LocaleListTest.java
@@ -88,17 +88,6 @@ } } - public void testRepeatedArguments() { - final Locale[] la = {Locale.US, Locale.US}; - LocaleList ll = null; - try { - ll = new LocaleList(la); - fail("Initializing a LocaleList with an array containing duplicates should throw."); - } catch (Throwable e) { - assertEquals(IllegalArgumentException.class, e.getClass()); - } - } - public void testIndexOf() { final LocaleList empty = new LocaleList(); assertEquals(-1, empty.indexOf(Locale.US));