| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
New API for getting the revocation reason. Add tests and exceptions
associated with it.
Change-Id: Ifd6444ab966c984312f069a6ee330d255110ea85
|
|
|
|
|
|
|
|
|
|
| |
The tests could not work given the arrangement of classloaders
in Android apps. This also fixes a known failure case in
ClassLoaderTest which was due to missing resources. Also updated
ClassTest.
Change-Id: I114aa9b1a177911aed0aef87819d93a260f0b8d1
Bug: 12491655
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug report states that the behaviour of ZipFile has changed between 4.3 and
4.4 when opening an empty zip file. I did some investigation and it appears as
though the reference implementation also throws an exception in that case so I
decided that 4.4 is working as designed. However, to make it clearer I made a
minor change to explicitly check for an empty zip file so that we can report a
slightly improved message explaining that they are not supported. I added a
test for various forms of empty streams and zip files and removed part of an
older test from harmony tests as it is no longer necessary.
Bug: https://code.google.com/p/android/issues/detail?id=65380
Change-Id: I1f2fcbf6bbaedb7dbccf8dd4f1cec4e330274524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
This makes sure we don't mess up the serialization format in the future.
Change-Id: Ied814b1ae5dedf2865239304d27af5f8388e5a83
|
|
|
|
| |
Change-Id: Id8d0acd77d08ff337b4851ae74a48cc002d66cd9
|
|
|
|
|
|
|
|
|
|
| |
The isRegistered test is still failing. The problem is that icu4c's
convrtrs.txt has names like "windows-1252" that are both the canonical
name for one charset and an alias for another legacy charset. I need
to work out how to resolve that.
Bug: 10210999
Change-Id: If3425321c814622e4f54b2efca95a767bd16c080
|
|
|
|
|
| |
Bug: http://b/5397460
Change-Id: Ic20f4363c8937d5feff0dec89e5de7ccf20f1dac
|
|
|
|
| |
Change-Id: Ife89885ea95de3bb2617172b95cdfd46d586a644
|
|
|
|
| |
Change-Id: I22bbc320536d7f4d862102d3962b521d26e30a9f
|
|
|
|
| |
Change-Id: I98070d03c8b5f5764d54e3d2058c5707bbb954ce
|
|
|
|
| |
Change-Id: I6e9be66b3f4fd4c09b31e2508236af62fa5214e3
|
|
|
|
| |
Change-Id: I28911532a169c763bf52fb95b29f1ade34792d34
|
|
|
|
| |
Change-Id: I25e5fccac4c025e35d45d4920d9f2308c658ec53
|
|
|
|
|
|
| |
This demonstrates that there is an issue with resource handling.
Change-Id: I2a33b6fd6f2be2e1d1879d539c86ecbb8e5b198c
|
|
|
|
|
|
|
| |
* Added a same-loader resource reading test.
* Rearranged the main test class to be a little clearer.
Change-Id: I7e85685245800dbdf6e3925390840d18e5ae4222
|
|
|
|
| |
Change-Id: Icc665b78ab5ecf9ae93cf9301ddc4e26e36b6558
|
|
|
|
|
|
|
| |
It also demonstrates that loading from a raw dex file doesn't yet
work!
Change-Id: I2b0ccd517edd052d374af8d0762c8f1f8734720f
|
|
|
|
|
|
| |
(How do you eat an elephant? One bite at a time.)
Change-Id: Ibf2fd6794e05133642c7426fe4608d2b5a4b7592
|
|
|
|
|
|
| |
To be expanded, soon!
Change-Id: Iecdcc9ff8cc8560c7e3bd9720b2fbe9c1e9ed8a9
|
|
|
|
|
|
|
| |
This is meant to be used in the class loading tests. This change
doesn't include any such tests, but they'll be coming soon!
Change-Id: Ic02a9d0faa572745d1485d6b5c83e70303b31abb
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Adding the 'libcore' prefix broke the test's ability to find
its list of implementations.
Change-Id: I91c6cbf2cebcfe8deb34e755ef5f8f9b5eff8ddb
|
|/
|
|
|
|
|
|
| |
The included .jar file is from Harmony, run through dx to convert
the inner .class files into an inner .dex file. The source for that
file is also in the .jar.
Change-Id: Ib3d4893b0ddc18398c5a7a9b040a68603d9143df
|
|
|
|
|
|
|
|
| |
This removes all tests duplicated in Harmony's test suite, and
moves the rest into the libcore.java.lang package.
Change-Id: Ic2fe12cc1e10513abb721d98e7b9b3a2e00192f5
http://b/3246523
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
duplicated from Harmony" into gingerbread
Merge commit '51a8be20a63718519a5095603e95eee7e71b9090' into dalvik-dev
* commit '51a8be20a63718519a5095603e95eee7e71b9090':
Remove logging tests duplicated from Harmony
|
| |\ |
|
| | |
| | |
| | |
| | | |
Change-Id: I057552b555ee891810d4577b7359ed309d5c1611
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
to fix CertPathBuilder1Test and CertPathTest" into gingerbread
Merge commit 'ecfa0645b680e5f68e90eda5db0413ef72306d3b' into dalvik-dev
* commit 'ecfa0645b680e5f68e90eda5db0413ef72306d3b':
Update TestUtils certificates to fix CertPathBuilder1Test and CertPathTest
|
| |/
| |
| |
| |
| | |
Bug: 2322662
Change-Id: I8ad9a91f4095807bd710045eef3a97a86b560f49
|
|/
|
|
| |
Change-Id: I7edc4348cae3181ead252c0a3f77015451d47826
|
|\
| |
| |
| | |
Change-Id: I711a9afb47d478d75fc26247271eb09bb9aa7b3b
|
| |
| |
| |
| | |
Merge xml except xmlpull and kxml into luni
|
| | |
|
| |
| |
| |
| | |
Change-Id: Ib4356b3cd57490df8ff246ea6a4bc1c269ba848b
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New implementation, documentation, and tests, very loosely based on the harmony
code.
We can't run the harmony or jtreg tests because we don't have the infrastructure.
My test just tests the most obvious use cases, on the assumption that at some
point we'll get the other test suites working; quite possibly before anyone ever
wants to use this stuff on Android.
(We might want to switch over existing META-INF/services/ code to use
ServiceLoader. I've raised http://b/2567593 for this.)
Bug: 2497395
Change-Id: I62b0ac4748204555d3ba9356794a72aff4f4f01e
|
|
|
|
|
|
|
|
|
|
|
|
| |
valgrind doesn't like this because the .so *only* exists for x86 (contrary to
the claim in the @AndroidOnly annotation) but it's broken there, returning
a char* instead of a jstring.
I'm not really sure what they were trying to test here, but let's assume it
was that Runtime.getRuntime().load behaves like System.load, and fix the
tests that way.
Bug: 2223234
|
|
|
|
|
|
|
|
|
|
|
| |
failures.
Original author: jorgp
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143657
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|