| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit '21d8bd1227a8b877adeca3062dc5a427753156e2':
Adding more tests around System properties
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is in preparation for clearing all system properties
between CTS tests to reduce test leakage. The code in the test
runner that explicitly sets certain values can also be removed
now that those properties have been made immutable.
Note: As part of this I discovered that java.io.tmpdir
is still mutable under the Zygote and immutable under
vogar (where it is set as a command-line arg). This means
that calling System.getProperties().clear() or
System.setProperties(null) removes the property entirely
under an Android app but not under vogar.
Change-Id: If0361b138666909b21de9d6b8a73a584e9390550
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '392ca3acf5ba48d315fc5469f286446a9cb217a1':
Change exception priority for ByteBuffer.put(null)
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Commit 7e02765b7ada4e85f941f0a6b0fc60a8a76301f3
made ByteBuffer.put(null) throw a NullPointerException
if the ByteBuffer was read only. Previously it would
throw a ReadOnlyBufferException. The priority
of exceptions is unclear, but this returns the behavior
to what it was before and fixes 3 CTS tests:
ReadOnlyWrappedByteBufferTest.testPutByteBuffer
ReadOnlyHeapByteBufferTest.testPutByteBuffer
ReadOnlyDirectByteBufferTest.testPutByteBuffer
Change-Id: I90dd4b6969a4f31a26651d7b35758f899cc020b4
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'bba4d1ca4b7099f52cd598d14e33c4d2211f2ccb':
Remove libdvm VMRuntime.vmFlags
|
| |\ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I9305e3d350997a82f1caf2b2f0f30521920b2f62
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'b7c97ec6be8fa92c5593b1ab49b4a952a741c9fd':
Provide more information about the runtime
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds methods vmInstructionSet, is64Bit and isCheckJniEnabled to the VMRuntime
class. They are used by DdmHandleHello class in the framework to report new
information about the runtime to DDMS.
Bug: 14888999
Bug: 14888124
Change-Id: I8a2d3f22f84a093be2fbc74464af6aa7b2a2bebb
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'ce478bec95ecb87fcdc25cfaaf917f13180f4660':
DigestTest: reduce flakiness by having more iterations
|
| |\ \ \
| | |_|/
| |/| | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fails every once in a while sinch this isn't a rigorous benchmark,
but try to combat it by having more iterations so the measurement
has more time to stabilize.
Change-Id: I4336d0d670e1e666e5bb75788228651f563eb59a
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '324665480d3bf34b724d9a25a589a89379394139':
Suppress OldResultSetTest#testAfterLast
|
| |\ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It was re-enabled by
If829a83cfcf82cac9a0301733b724716087fea05
but does appear to fail still.
Change-Id: If4c4c595856de111be228baaabe0598d102330c3
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'a2138c1f0dc6f319062d4d09f6e0223f83340709':
Fix typo in test
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The test is supposed to be testing
afterLast() not beforeFirst().
Change-Id: Ie36c55ec4d5a09e85ba6a6c5e2eeb037f34422ce
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '321dec9ceb27ebf4effa8db47e02fe25c38aebe8':
Keep Preferences tests working
|
| |\ \ \
| | |/ /
| |/| | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Apply changes made as part of I6019441c65b398376d84264f1e4c9776507533eb
more widely.
Bug: 15105787
Change-Id: I2e44487b1561dd564bfa41d65995a61091b011eb
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '49c2fa00ff36308903f8021c56e608325f8c21ee':
Deprecate use of BrokenTest and SideEffect
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use expectations files instead.
(cherry picked from commit 6a6b612286976cc185c898803fe51e4e062bd9eb)
Bug: 12924356
Change-Id: I9b7e71805a80176c873cffe46bed65f81de1903d
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '8e34bfb3d94388670de3d2be5bc575508d309e86':
Ensure NET_FAILURE_RETRY return -1 in case of an error
|
| |\ \ \ |
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '96817bc38a0fb644b95dfb73a6fb5c273708b8f3':
Signature: remove unnecessary throw on clone
|
| |\ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'f7a15ff43004414e1eaa35872e9307383bdf84e4':
MessageDigest: remove unnecessary throw on clone
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'a1ece7ecd8d1803dc568807ed677079716d6556d':
Add regression tests for null arguments to DecimalFormat.
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This was already fixed last year by 3909f6dba0812caee25a8779dcbf4c50ce9b19c7
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
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit 'f315df1cb0768bec10ada80d30d7069d15ac76ba':
Fix OldURLClassLoaderTest#test_findResource_String
|
| |\ \ \ \ \ |
|
| | | |_|/ /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '34ea986122cf6641d4d93500830524302621d15a':
Fix test_isWhitespace_against_icu4c
|
| |\ \ \ \ \ |
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '0e78f0642104c599abb9fd4fb24092a6afb25510':
Fix InetAddressTest
|
| |\ \ \ \ \
| | |_|/ / /
| |/| | | | |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
starting at NULL"
* commit '6b9a7d3e754ab5588aee4ae54579cf6838bb7e0c':
DirectByteBuffer: allow 0-size MappedByteBuffers starting at NULL
|
| |\ \ \ \
| | |_|/ /
| |/| | | |
|