summaryrefslogtreecommitdiffstats
path: root/luni/src/test/java/com
Commit message (Collapse)AuthorAgeFilesLines
* Add more debugging to the DigestTestKenny Root2015-10-271-12/+21
| | | | | | | | | | | | This test sometimes fails, but we don't know what the coefficient of variation is on the test results. Add this to the debug output so we can see if there is just some wild swing during testing. Also add a few rounds of warm-up as well. Bug: 24011092 Change-Id: Ic58f106f68eb93976e3f030e2f23e0156fe84be8 (cherry picked from commit 5fe1cd001f38fba460ac0ce5c15b85250e400f25)
* Do not blacklist serial numbers that are too shortKenny Root2015-06-151-15/+0
| | | | | | | | | | | | Baseline Requirements say the serial number must have 20-bits of entropy, but some certificates are issued not in compliance. This causes issues where they are falsely marked as blacklisted. Until there is issuer + serial number matching, we can just use the pubkey matching for the certificates that are blacklisted with non-compliant serial numbers. Bug: 21736046 Bug: 21816853 Change-Id: I44e6d490099fbe1da2f5afb5ef61196a4593e04f
* Track change to bouncycastleKenny Root2014-10-171-6/+4
| | | | | | | (cherry picked from commit 218699c1451b91c24d6f65c8b25cf7ac8fffbf7f) Bug: 18013422 Change-Id: Ia5cfe6bf4678048e521c28cfc5f375929379070c
* am 9a7c39c0: am 72947ffb: am ce478bec: Merge "DigestTest: reduce flakiness ↵Kenny Root2014-05-211-1/+1
|\ | | | | | | | | | | | | by having more iterations" * commit '9a7c39c0f1a370a5604bb84b94e36267b20f29c2': DigestTest: reduce flakiness by having more iterations
| * DigestTest: reduce flakiness by having more iterationsKenny Root2014-05-211-1/+1
| | | | | | | | | | | | | | | | 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
* | Add revoked ANSSI intermediate to the blacklist test.Geremy Condra2013-12-091-0/+32
|/ | | | | | | Serial is: 31da7 Pubkey hash is: 3ecf4bbbe46096d514bb539bb913d77aa4ef31bf Change-Id: I530033075a33de10d202cd8fe0850a9473b9ae19
* Address comments from Ibc0763f1688b9ac448990abf48c534f7fcf5056aGeremy Condra2013-01-081-5/+5
| | | | Change-Id: I3949c1b2bb55d945011003e2f10f6e8b1b52a065
* Add blacklist tests for TURKTRUST.Geremy Condra2013-01-041-0/+93
| | | | Change-Id: Ibc0763f1688b9ac448990abf48c534f7fcf5056a
* Add test for isPubkeyBlacklistedGeremy Condra2012-07-271-1/+71
| | | | | | This adds a negative and positive test for pubkey blacklisting. Change-Id: I20b23e041db624354f4b4eeab83c6fc51e3222b6
* Tests for the CertBlacklist.Geremy Condra2012-07-261-1/+1
| | | | Change-Id: Id453884228d10374b03f06c5fc795b68811ecc56
* Added tests for the CertBlacklister.Geremy Condra2012-05-101-0/+262
| | | | Change-Id: I56f80e52b5974a6953e89d54d84f020d41117b2a
* Replacing ↵Brian Carlstrom2011-05-081-79/+0
| | | | | | | | | | | | | | | | PKIXCertPathValidatorSpiTest.testTrustAndRemoteCertificatesWithDifferentEncodings testTrustAndRemoteCertificatesWithDifferentEncodings was failing for two reasons: 1.) it improperly included the root CA which was causing a CertPathValidatorException this started with the fix 60f1dce097d78928597a5d057577596162e825fd in external/bouncycastle 2.) the certificate expired on May 5th After rewriting, it was clear the test had nothing to do with PKIXCertPathValidatorSpi, so the revised test has been moved to X500PrincipalTest. Bug: 3474648 Change-Id: Ie9e0c5799f591a48f4ee337f6abd24968daab2d7
* Remove all the remaining AllTests cruft.Elliott Hughes2011-02-281-28/+0
| | | | Change-Id: Ie61022069e597d9c5c6e7ea4659fd614efe31852
* Tracking jarjar of org.bouncycastle to com.android.org.bouncycastleBrian Carlstrom2011-01-243-0/+243
| | | | | Bug: 3086427 Change-Id: I026f80bfa5e963a8e988ecd6f91c9732a4afc70c
* Remove a dead test runner.Elliott Hughes2010-10-1215-2722/+0
| | | | | Bug: 3087671 Change-Id: I23b90567408f34e9f6da89ee7ad49dbeb551ce1c
* Move more stuff out of icu4jni; ICU and LocaleData.Elliott Hughes2010-10-011-56/+0
| | | | | Bug: 3045778 Change-Id: I59fd27920a2da9a42b29fd79b8d81bdaabdef8cd
* Fix build.Elliott Hughes2010-06-232-76/+0
| | | | Change-Id: I468ea840f098f3c119ce01227151e86ba3fb5d90
* Add support for ICU's PluralRules.Elliott Hughes2010-06-181-0/+58
| | | | | | | | | | Note that this doesn't address the original submitter's complaint: ICU agrees that zero isn't a special case in English. What this does is allow us to fix getQuantityString to work with languages other than English and Czech (which currently have hard-coded implementations in frameworks/base). Bug: 2663392 Change-Id: I4cf80a61cd5183636381511d6b860d2059f788ee
* Scrubbing broken tests and removing unnecessary organization AllTests.java ↵Jesse Wilson2010-06-041-28/+0
| | | | | | | | | | | | | | | files. I've deleted as many tests as possible that duplicated coverage in Harmony. We're now running their tests directly against our codebase and having two copies of every test is quite painful; particularly when the tests need maintenance. The AllTests files aren't necessary, our test harness can automatically find tests and run them without external organization. This strategy is also more reliable, since often the AllTests files are out of sync. Change-Id: I3ee052f8839e9b146ba47f945812f5937d878110
* Remove all trailing whitespace from the dalvik team-maintained parts of libcore.Elliott Hughes2010-05-1313-175/+175
| | | | | | Gentlemen, you may now set your editors to "strip trailing whitespace"... Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
* Merge LocaleData and Resources, rename Resources to ICU.Elliott Hughes2010-04-162-0/+102
| | | | | | | Also move our ICU tests into our little tree of tests. Bug: 2596471 Change-Id: I73b53d74c26ef9bf670f12cac58b51ba61eefead
* Escape ASCII NUL before trying to put it in XML, because XML can't cope.Elliott Hughes2010-03-101-1/+8
| | | | | | | | | Our sholes continuous build is having XML trouble with a FormatterTest failure that outputs ASCII NUL. Ideally, our junit test runner would escape all non-printable ASCII as \u escapes, but this seems like a minimal change, and it's one we already have in the equivalent jtreg code. Change-Id: Ib9b3219c25515fb358c204d45cb5064293a85b9f
* Print errors encountered while writing XML reportsJesse Wilson2010-03-091-1/+2
| | | | Change-Id: I7fdf9f6989c94a3f0fd3ff93db3426a4d080120f
* Make run-core-tests with no arguments equivalent to tests.AllTests.Elliott Hughes2009-10-281-1/+1
| | | | | | Previous behavior would run the same set of tests, but without going through the regular pre- and post-processing, and without initializing the command-line flags to their default values.
* Fix CoreTestRunner to not run filtered-out tests.Elliott Hughes2009-10-122-10/+6
| | | | | https://android-git.corp.google.com/g/29284 broke test filtering by accidentally passing the unfiltered test suite to super.doRun.
* Fixing the JUnit runner to output Ant-compatible XML.Jesse Wilson2009-10-083-10/+286
| | | | | We can use this with our continuous build to track test failure changes over time.
* Improve run-core-tests.Elliott Hughes2009-09-291-20/+29
| | | | | | | | | Allow multiple tests to be specified on the command-line, and recognize syntax errors. (Previously, as long as the arguments ended in a test name, invalid arguments that didn't start "--" would be silently ignored. The new test for "-" is strictly unnecessary -- the other changes are sufficient -- but the explicit early test allows for clearer error reporting.)
* Merge change 7550Android (Google) Code Review2009-07-161-7/+7
|\ | | | | | | | | * changes: Fixing wakeups caused by Thread.join() interacting with LockSupport.unpark.
| * Fixing wakeups caused by Thread.join() interacting with LockSupport.unpark.Jesse Wilson2009-07-161-7/+7
| | | | | | | | | | | | | | | | This caused several concurrency tests to fail when run with timeouts, since the tests cause park and unpark to happen frequently. Also fixing a tiny issue with CoreTestRunnable to use the proper tmp directory and to include the program of a failed external execution.
* | Include the full stacktrace when a test times out.Jesse Wilson2009-07-131-2/+5
|/
* AI 144842: am: CL 144841 am: CL 144839 First version of new test runner for ↵Jorg Pleumann2009-04-089-1/+1398
| | | | | | | | | | | | | | the core tests that is able to filter tests, treat known failures, isolate tests and (experimentally) find side effects between tests. It also make it easy to run the core tests on the RI, in order to validate the suite. Original author: jorgp Merged from: //branches/cupcake/... Original author: android-build Automated import of CL 144842
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-036-0/+1033
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-036-1033/+0
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-75/+8
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-8/+75
|
* Initial ContributionThe Android Open Source Project2008-10-216-0/+1033