| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Also add a single FakeCharsetProvider for unit tests that
does nothing by default, so that we can stub it in for tests
that do care about it and none of our other tests are affected.
Change-Id: I03abb8f1aff53c160935b4cdbeaef764d30f240a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also fixes all remaining failures. Most of them were
due to us not setting "user.dir" and "user.home" correctly.
Android has traditionally left those values blank. To fix
these tests, we need to change the default prefs factory
to one rooted at a temporary directory.
Note that this change attempts the minimal possible cleanup
(mainly style, commented code formatting etc.) to these files.
bug: 13881847
Change-Id: I1918ee9af07be9612a7da142b3e584aabc860085
|
|
|
|
|
|
|
| |
EnumMapTest
Bug: 12780442
Change-Id: Ib5fe88a1fad7e181ead68d281c04a22110697d48
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old golden files were referring to the wrong class,
and contained serial version UIDs that didn't match those
generated by any version of android (or the RI).
This change deletes the golden files and switches to
direct assertions in the test. All tests pass on
aosp-master, v4.xx of android and the RI.
bug: 12490445
Change-Id: Ia65b6d65bc9a3d4cbc62a7a0f7bdfc004e7315e2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A previous file move changed the class name for various classes used
in the EnumTest. That broke the tests as they relied on files
containing serialized forms of those classes and so had hard coded
references to the old class names which no longer existed. The fix
was two part:
- Use the correct class names in the serialized files
- Remove duplicate serialized files that are no longer used
Bug: 12491225
Change-Id: I60b503bb2509071ccac5fec7b05dd5160d9dd7d0
|
|
|
|
|
|
|
| |
Also moves a couple of tests from luni/src/test to
harmony-tests/ where they belong.
Change-Id: I0b441b1fcbd355bd3c66551d16732a671fb64f54
|
|
|
|
|
|
|
|
|
|
| |
Mostly missing serialization tests.
Also
- Fix up package names for tests.
- Move tests under the right subpackage where applicable.
Change-Id: If30995f5b62a1dcc9f0150d2c16e29bb1b65a48c
|
|
|
|
|
|
|
| |
This reverts commit d5e281743e55e1daa297fd8043b2d9b6e8e1bed2.
The makefile issue that caused the original build break
has been resolved.
|
|
|
|
|
|
|
|
| |
This reverts commit 81bf28ad31131815d0a36a43a0eca3c29aefdfcd.
Breaks build
Change-Id: I3f1562921ffe8fdbec36971dd65db398c27c92db
|
|
|
|
|
|
|
| |
The vast majority of cleaned up harmony tests
are now in harmony-tests/src/test/org/apache/harmony/tests/
Change-Id: I56c2e484ff434b5618cf6751d602ae9f0db96b30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Harmony was never consistent about where they put their
tests. There's no reason we have to be the same.
Also, there's no need to have separate subtrees for nio,
nio_char etc. etc.
This change makes all existing apache harmony tests
subpackages of "org.apache.harmony.tests" and put them under
libcore/harmony-tests.
We somehow managed to end up with two vastly different
copies of CharsetDecoderTest & CharsetEncoderTest. I've
renamed the copies CharsetDecoder2Test & CharsetEncoder2Test
to avoid having to go in and resolve the complicated
diffs or speculate about the reasons for their
divergence.
Change-Id: Ic34e69c2faab8893edd54e05eccd7091f4a09abd
|
|\ |
|
|
|
|
|
|
| |
The test case with the escaped URL still fails.
Change-Id: Iae3a58fea800d8b981cb09474d1fa77b7c361e4e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ProcessBuilderTest : Don't execute java -version
on the device.
String2Test: Don't make assumptions about the order
of the BOM.
ThreadTest: We don't support Thread#destroy
ControlTest : Fix bogus URL, this test still needs
some work
IdentityHashMap2Test : Fix bogus asserts. Also don't
make assumptions about the implementations of Integer#tostring.
The test was failing because Integer cached string reps of
"small" integers.
SimpleEntryTest / SimpleImmutableEntryTest : Don't rely on
broken harmony TreeMap behaviour that allowed null keys.
TimeZoneTest: Add vogar specific workaround & update display
names.
Change-Id: Ie3204917e1d729b0f4ac3bdcbf61fc6a54ab9387
|
|\ \ |
|
| /
| |
| |
| |
| |
| | |
(Still fails on resources that have a # though)
Change-Id: I41b2657a57dd06ea1fd61de157ff4e8ea8bba7ac
|
|\ \
| |/
|/| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some tests still fail, but they appear to be valid
tests. There are at least two separate issues here :
- ClassLoader#getResource seems to be constructing a
bogus URL (at least in this context). findResource
returns a non null URL, but URL#openStream throws.
- URLs with fragments (#foo) don't appear to work
correctly.
Change-Id: Iabf03e49c56659039feb85a0e528efcaaed0b49d
|
|
- Moves a few golden files from luni/ to harmony-tests/
- Delete dead code in SerializationTester
- Fix a bug in SerializationTest (not sure how this
ever worked for resources with "." in their name)
Change-Id: Ia5b1376f4ada9b9c706a266ae077debeea5b1f29
|