- 29 May, 2014 1 commit
-
-
Neil Fuller authored
Change-Id: I8098a97d9ce59d77dc11793b484497d39884ca3d
-
- 21 May, 2014 9 commits
-
-
Neil Fuller authored
-
Neil Fuller authored
It was re-enabled by If829a83cfcf82cac9a0301733b724716087fea05 but does appear to fail still. Change-Id: If4c4c595856de111be228baaabe0598d102330c3
-
Neil Fuller authored
-
Neil Fuller authored
-
Neil Fuller authored
The test is supposed to be testing afterLast() not beforeFirst(). Change-Id: Ie36c55ec4d5a09e85ba6a6c5e2eeb037f34422ce
-
Neil Fuller authored
Apply changes made as part of I6019441c65b398376d84264f1e4c9776507533eb more widely. Bug: 15105787 Change-Id: I2e44487b1561dd564bfa41d65995a61091b011eb
-
Neil Fuller authored
-
Brett Chabot authored
Use expectations files instead. (cherry picked from commit 6a6b6122) Bug: 12924356 Change-Id: I9b7e71805a80176c873cffe46bed65f81de1903d
-
Neil Fuller authored
-
- 20 May, 2014 12 commits
-
-
Kenny Root authored
-
Kenny Root authored
If a class couldn't be cloned, it would throw its own exception. Instead, rely on the default implementation of "clone" to give a better error message when the target class isn't cloneable. Change-Id: I2cae9cdad9b4a7cf7fe50f7ad37fd22c1a97c825
-
Kenny Root authored
-
Kenny Root authored
If a class couldn't be cloned, it would throw its own exception. Instead, rely on the default implementation of "clone" to give a better error message when the target class isn't cloneable. Change-Id: Id37013515d49cb69b5683a0632cfddb0fb325dc0
-
Elliott Hughes authored
-
Elliott Hughes authored
This was already fixed last year by 3909f6db under a different bug, but this extends the testing to all methods that could take a null argument. Bug: https://code.google.com/p/android/issues/detail?id=62269 Bug: 15081434 Change-Id: I30c97360a868e412649850109e24f2707c072a30
-
Neil Fuller authored
-
Neil Fuller authored
The test broke because Support_TestWebData was changed to provide the /test3 URL for a different test (Ib43e68a2536c2602b4c7ee0cda68fa1f90045f57). Changing the URL to test9999 fixes it. The OldURLClassLoaderTest is unpleasant but I haven't touched it beyond correcting the test and fixing some of the more obvious style / import problems that my IDE pointed out. Change-Id: I42b3e8ab69cdef65ee381efbf1988cfdfa359868
-
Serguei Katkov authored
According to contract NET_FAILURE_RETRY / IO_FAILURE_RETRY should return -1 and set pending exception in case of an error. Not setting -1 was leading callers to assume a success. Change-Id: I995fa97f8ee8993a379f21582a14567818ea64bd Signed-off-by:
Serguei Katkov <serguei.i.katkov@intel.com>
-
Neil Fuller authored
-
Neil Fuller authored
ICU4C and the RI disagree about one character. Add the special case to the test so it can pass. Also fix isSpaceChar_against_icu4c so it asserts something, and add the special case there too. Bug: 9690863 Change-Id: I389690e5c598b9e2f04015b0bc14799b163a6adf
-
Neil Fuller authored
-
- 19 May, 2014 5 commits
-
-
Lajos Molnar authored
-
Neil Fuller authored
Fixes: test_getByName test_isNumeric test_parseNumericAddress Change Ic42173b7b06e8536e8c4331087720d7df1e1681a (made in early 2011) modified handling of "obsolete" numeric IP addresses. At least since then, Octal addresses (those with leading 0's) have been parsed as decimal values. The tests were written to expect Octal values to be rejected and 0177.00.00.01 was expected to be treated as an invalid address. If interpreted as a decimal (177.0.0.1) it is fine. The tests have been updated to test a more obviously incorrect value and the docs have been updated to document how Android and the RI differ. Bug: 4539262 Change-Id: I5f9dce6b1accd81dda1348718fe0c74b03c27c29
-
Ian Rogers authored
-
Neil Fuller authored
-
Neil Fuller authored
The reasons I can do this are: 1) Fixes for other bugs / updates, etc. have made tests pass. 2) Bugs were fixed without removing suppressions. 3) Tests may have been suppressed by accident. Tested on a local device running a master build. Bug: 14808340 Change-Id: I7c6600c89ff1cc4ca5337ee952c972bdbf5467e8
-
- 18 May, 2014 1 commit
-
-
Ian Rogers authored
NoClassDefFoundError is the RI behavior. Change-Id: Ia03b585def9f772aeb17f1cdec4da2d0c807ede3
-
- 17 May, 2014 1 commit
-
-
Lajos Molnar authored
Bug: 14297827 Change-Id: I53ae796f9a59c70cc8250477ab51c57ea728e43b
-
- 16 May, 2014 3 commits
-
-
Calin Juravle authored
-
Calin Juravle authored
Tests specified as static inner classes were failing because the CTS runner does not support them. The temporary fix is to promote all static inner test classes to top level classes. This should be reverted once the CTS runner is fixed. Bug: 13877168 Change-Id: Icb64d7d7fcf6202d54d6fe31d9e1c9a6a43a233b
-
Neil Fuller authored
-
- 15 May, 2014 6 commits
-
-
Neil Fuller authored
Most removals fit into these categories: 1) Test classes or methods that no longer exist / have been renamed 2) Various odd entries that are not for Junit tests. Some appear to correspond with some Open-JDK tests so may share a common heritage. Bug: 14808340 Change-Id: If829a83cfcf82cac9a0301733b724716087fea05
-
Neil Fuller authored
-
Neil Fuller authored
-
Neil Fuller authored
-
Neil Fuller authored
-
Neil Fuller authored
This is a removal of tests from org.apache.harmony.luni.tests that no longer exist (under that package name). Bug: 14808340 Change-Id: I99e87fc43018596e4be0f4b352cc9a7cc33da4cc
-
- 14 May, 2014 2 commits
-
-
Neil Fuller authored
If the device is set to non-English locale this fails. Setting the default locale explicitly makes the tests clearer (the CtsTestRunner / vogar) sets it back again. Change-Id: I4c197f4823115f178acc51a62a64855b790011b4
-
Neil Fuller authored
Previously, the upstream ICU data was modified to support special short codes (e.g. PST, CET) so that they were recognized when parsing/formatting in all locales with SimpleDateFormat.parse()/format(). In an effort to more-closely replicate ICU this change does *not* introduce special casing for short / abbreviated names from Java APIs. This may have impact for applications that use Date.toString() (but not Date.parse()), SimpleDateFormat.parse(), SimpleDateFormat.format(), and anything that uses TimeZone methods that deal in formatting and zone strings (e.g. getZoneStrings(), getDisplayName()). Details: Date.parse() is unaffected because it handles abbreviated names only, is not internationalized and contains a set of recognized strings. Date.toString() is affected because it relies on SimpleDateFormat for formatting. ICU still supports abbreviated / short names for locales where those terms are considered unambiguous for residents of that locale. For example, "PST" is still parsed / formatted in Locale.US when using SimpleDateFormat. However, with this change "PST" will not be parsed/formatted other locales such as Locale.FRANCE, Locale.UK. If SimpleDateFormat.format() / TimeZone.getDisplayName() cannot find a short / abbreviated name for a timezone in the specified/defaulted locale, then a GMT offset is output as per the docs. Of particular note are methods that rely on Locale.getDefault() and/or Locale.getTimeZone(). Most user-facing usecases are expected to be unaffected. For example, US users will continue to see / enter PST. Applications that were previously parsing a date string containing (for example) PST but relying on the default locale will start seeing failures. Most of the changes are in tests that were hardcoding expected strings or relying on the default locale. This change is associated with a change in external/icu4c: I04acd15c62d49c0cf30cc63f60db320bdb8e22e9 This commit also includes minor test changes related to parsing/formatting dates where the default device locale is assumed to be US (or other English-speaking locale). Date-related tests that were relying on the default locale and broke when it was set to a non-English script are now explicitly setting it. Note: The tests all rely on the CtsTestRunner / Vogar resetting the default Locale / TimeZone between each test. Bug: 11413756 Change-Id: I9ae6397cf5335ef325aedb6472d0d66a6127e1dd
-