summaryrefslogtreecommitdiffstats
path: root/tests/CoreTests
Commit message (Collapse)AuthorAgeFilesLines
* Move apache specific portions of android.net.http to external/apache-http.Narayan Kamath2015-02-122-1/+2
| | | | | | | | | | | | | | | | | | | We continue to compile external/apache-http into ext.jar. This contains a few changes apart fom the classes moving around : - Makefile changes to build docs and api-stubs for now. A future change will revert these changes and remove these classes from stubs and docs. - Hardcode event IDs in legacyerrorstrings to avoid a dependency between the frameworks and apache. These strings are on their way out and will never change anyway. - Remove imports due to {@link} tags and use {@code} instead. - Remove an accidental(?) dependency on apache commons code that's a part of apache-http. bug: 18027885 Change-Id: I51cd038d846ec7d02c283a4541b10a6a9cf62ecf
* Remove some crufty "core" tests.Narayan Kamath2014-12-103-1488/+0
| | | | | | | nobody runs these, and these things are well tested elsewhere and a part of CTS. Change-Id: I1ec00f2a085fc82f902f538ace692ac989ca03df
* am b0cb0734: Merge "Track change to Conscrypt"Kenny Root2014-11-031-2/+2
|\ | | | | | | | | * commit 'b0cb07348e6320ce51d0e8b88d240ecf834850d1': Track change to Conscrypt
| * Merge "Track change to Conscrypt"Kenny Root2014-11-031-2/+2
| |\
| | * Track change to ConscryptKenny Root2014-10-311-2/+2
| | | | | | | | | | | | | | | | | | | | | Change way in which an outside caller can get the preferred SSLContext. Bug: 17136008 Change-Id: Ide578664bcb605304322bfddd2e640a63042fa09
* | | am ef5d43a7: Merge "Revert "Revert "Remove unused apache related API."""Narayan Kamath2014-11-031-93/+0
|\ \ \ | |/ / | | | | | | | | | * commit 'ef5d43a7cf694ffac8b0069aa5026862d6b32735': Revert "Revert "Remove unused apache related API.""
| * | Revert "Revert "Remove unused apache related API.""Narayan Kamath2014-11-031-93/+0
| |/ | | | | | | | | | | This reverts commit 31f54ef8150019e4a8c501181806199ef7699fea. Change-Id: Ib8fc22e3a23b2c06400cd687e8ed9cef9a11d09b
* | am e87d36f8: Merge "Revert "Remove unused apache related API.""Narayan Kamath2014-10-291-0/+93
|\ \ | |/ | | | | | | * commit 'e87d36f8925a34f85ba80c886757d07ad03fed42': Revert "Remove unused apache related API."
| * Revert "Remove unused apache related API."Narayan Kamath2014-10-271-0/+93
| | | | | | | | | | | | This reverts commit 3f2714e18bfd979aefefa1d45c50a69fca21cf14. Change-Id: Ie0e51897ab509d112dc37ca7b90b4139b0a82d8d
* | resolved conflicts for merge of 9834af9c to stage-aosp-masterNarayan Kamath2014-10-291-93/+0
|\ \ | |/ | | | | Change-Id: Ibdada14406f49684cf345162204b9810452f25a2
| * Remove unused apache related API.Narayan Kamath2014-10-241-93/+0
| | | | | | | | | | | | Hidden and used only in unit tests. Change-Id: I492b735f0f7e129946e28c31ad9d91c98aacf987
* | Add support for custom TXT records in NSDChristopher Lane2014-04-141-0/+163
|/ | | | Change-Id: I8e6dc9852ad4d273c71ad6a63a7fbd28a206806d
* Delete HttpHeaderTest.testCacheControlMultipleArguments.Torne (Richard Coles)2013-10-151-38/+0
| | | | | | | | This test depends on internals of the old WebView to work which have already been removed. It doesn't appear to be testing anything useful. Bug: 10427705 Change-Id: I5e93b212c33f22776050b6e1ec639e23f41a1d4a
* Track change to JSSE providerKenny Root2013-04-292-4/+4
| | | | Change-Id: I35e824e47ad758ab6408e91e2ba5dcda053a82f5
* Track libcore tests moving from frameworks/base to libcore.Jesse Wilson2011-12-135-1365/+2
| | | | | Bug: http://b/3073226 Change-Id: I07076e6ed74fcae5482dff477ed102c770c197c9
* WifiWatchdogService - disable bad connectionsIsaac Levy2011-06-241-0/+0
| | | | | | Complete rewrite of WifiWatchdogService.java. Checking for connectivity and managing wifi upon failure detection. Change-Id: Ifcb8b5d7e0112cbc2f2282d76fdc93ea15527a44
* Remove the deprecated things from Config.java. These haven't been working ↵Joe Onorato2011-04-071-10/+9
| | | | | | since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
* am f7a9b869: am 1e7fb7ae: Merge "Error in compound cache-control header."Brad Fitzpatrick2011-03-301-0/+42
|\ | | | | | | | | * commit 'f7a9b8691918642db74a667a71028c0a77b527ff': Error in compound cache-control header.
| * Error in compound cache-control header.Henrik Baard2011-03-291-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | A cache control header containing both no-cache and max-age attribute does not behave as expected. Cache-Control: no-cache, max-age=200000 Will set expired to 20000ms seconds, ignoring the no-cache header. My interpretation is that the no-cache header should not be ignored in this case. Change-Id: Iadd1900e4d2c6c0dacc6bb3e7b944cf78ca9b266
* | Remove SSLPerformanceTest and DatabaseSessionCache.Jesse Wilson2011-02-102-744/+0
| | | | | | | | | | | | These aren't being run. Change-Id: I9afc617a424c675578185ac66a4f6ac3af9afacf
* | Removing android.security.MessageDigestBrian Carlstrom2011-02-011-1/+1
| | | | | | | | | | Bug: 3392028 Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
* | Move URLTest tests to libcore.Jesse Wilson2011-01-211-228/+0
| | | | | | | | | | | | These tests were migrated to libcore in change ID I5a6bcdf1c03d0c36b11552ae086d0dece0440f64. Change-Id: Idc2d8fc3681b77c9a4c19a192a202bc556a48d23
* | Remove minimum heap size test now that the underlying interface is gone.Carl Shapiro2011-01-121-67/+0
| | | | | | | | Change-Id: I4431247286dfd93ad0c3af9ebbba2ece92c35308
* | Remove tests for dead API.Elliott Hughes2011-01-101-90/+0
| | | | | | | | | | | | | | | | We removed the implementation, so there's no point trying to test it. (The methods are still there for binary compatibility, which is why this still compiled.) Change-Id: I51f392f3dab542fca0c80fab4974354e2c689b9e
* | Remove unused performance tests.Jesse Wilson2010-12-2113-4559/+0
| | | | | | | | Change-Id: I5a252e314831716f99ce5fbb32d983c7473ee787
* | Merge "Move 41 tests to libcore, closer to the tested code. (2nd half)"Jesse Wilson2010-12-1442-6703/+0
|\ \
| * | Move 41 tests to libcore, closer to the tested code. (2nd half)Jesse Wilson2010-12-1442-6703/+0
| | | | | | | | | | | | | | | Change-Id: I18650718a7e49c84a0cc3c5b0c1172c71d2d54cf http://b/3073226
* | | Move HashMapTest from frameworks/base to libcore (second half)Jesse Wilson2010-12-141-281/+0
|/ / | | | | | | | | Change-Id: I178e376ab12d82e23a8b0ddd267a6c150c9bbddf http://b/3073226
* | Merge "NIOTest fixes."Elliott Hughes2010-10-081-19/+32
|\ \ | |/ |/|
| * NIOTest fixes.Elliott Hughes2010-10-071-19/+32
| | | | | | | | | | | | | | | | | | I've also broken the test up a bit, so it's easier to see what's failing. (For the particular bug I'm investigating, only heap byte[]-backed Buffers are broken.) Bug: 3066167 Change-Id: I2f747414bd48eb8c666da5b31870bf39601911e2
* | am b9a40068: Merge "Failing test cleanup." into gingerbreadBrett Chabot2010-10-051-31/+0
|\ \ | |/ |/| | | | | | | | | Merge commit 'b9a40068b590b86904b40bf466571b140d0f94b4' into gingerbread-plus-aosp * commit 'b9a40068b590b86904b40bf466571b140d0f94b4': Failing test cleanup.
| * Failing test cleanup.Brett Chabot2010-10-041-31/+0
| | | | | | | | Change-Id: I7cabc6ff2ec1fcb80dede5da03b03622a5bae021
* | am 94126238: Merge "Remove SSLContextImpl.engineInit(..) that takes ↵Brian Carlstrom2010-09-142-11/+16
|\ \ | |/ | | | | | | | | | | | | | | persistent cache arguments" into gingerbread Merge commit '94126238427f04ecb86fe6832113afb2f04e89b5' into gingerbread-plus-aosp * commit '94126238427f04ecb86fe6832113afb2f04e89b5': Remove SSLContextImpl.engineInit(..) that takes persistent cache arguments
| * Remove SSLContextImpl.engineInit(..) that takes persistent cache argumentsBrian Carlstrom2010-09-142-11/+16
| | | | | | | | | | | | Bug: 2672817 Change-Id: If5f10fa16eaf5676a0c1540463759cd4e0e837de
* | am 4d672988: Merge "Remove "StringTest.java"." into gingerbreadBrian Carlstrom2010-08-252-952/+0
|\ \ | |/ | | | | | | | | | | Merge commit '4d672988fed7fbdd887fe78603fa2eaf713031ad' into gingerbread-plus-aosp * commit '4d672988fed7fbdd887fe78603fa2eaf713031ad': Remove "StringTest.java".
| * Remove "StringTest.java".Brian Carlstrom2010-08-242-952/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This only tests stuff that's already better tested in dalvik/libcore, plus private ICU API (RuleBasedNumberFormat) we'd like to remove, and that this is the only caller of. Conflicts: tests/CoreTests/android/core/StringTest.java git cherry-pick -e 935022a99dac5454fc478e221b6392f3ba467009 Change-Id: I0bd172f2703bbcd6381920d40244165234fef4a1
* | am 4ae1e382: Merge "Tracking merge of dalvik-dev to gingerbread" into ↵Brian Carlstrom2010-08-054-137/+11
|\ \ | |/ | | | | | | | | | | | | | | gingerbread Merge commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af' into gingerbread-plus-aosp * commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af': Tracking merge of dalvik-dev to gingerbread
| * Tracking merge of dalvik-dev to gingerbreadBrian Carlstrom2010-08-044-137/+11
| | | | | | | | | | | | | | | | | | | | | | git cherry-pick --no-commit f77cf7f0 git cherry-pick --no-commit c8f503b5285e30c1a881d0ba860ba9021f57d113 git cherry-pick --no-commit 570bb561 git cherry-pick --no-commit e2417541 git cherry-pick --no-commit e4d81f25bd4dc1a5c909b56ab56a56406290da30 git cherry-pick --no-commit 5e8a587d Change-Id: I101a385d43f3e0f4ce5352217f92ef67a3908c88
* | Merge "Added method getPreferredHttpHost"Romain Guy2010-07-152-0/+94
|\ \
| * | Added method getPreferredHttpHostAndreas Sandblad2010-07-142-0/+94
| |/ | | | | | | | | | | | | | | | | | | | | Added method for returning preferred proxy which takes both localhost and Wi-Fi into account. This is a convenient method to clients which only wants to set a correct proxy and don't want to build in dependency to if Wi-Fi is active or not. Currently no Wi-Fi proxy is supported by the system, but once added, this method could return a suitable proxy for Wi-Fi. Change-Id: I8c9c2879351fd25a20ea82a2cb000f226248c357
* | Make HTTP Header class handle multiple cache-control fields.Henrik Baard2010-07-141-0/+62
|/ | | | | | | | | | | | | | | | The HTTP specification states the following about the fields: Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value for that header field is defined as a comma-separated list [i.e., #(values)]. It MUST be possible to combine the multiple header fields into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field-value to the first, each separated by a comma. The order in which header fields with the same field-name are received is therefore significant to the interpretation of the combined field value, and thus a proxy MUST NOT change the order of these field values when a message is forwarded. Change-Id: I1a6fe5cc8f541f8e80d559641d270d09eac9d85c
* More framework tests cleanup.Brett Chabot2010-04-0125-398/+6863
| | | | | | | | | | | | Move all tests for android.* classes from tests/AndroidTests and tests/CoreTests into framework/base/<core|graphics>/tests. Consolidate all tests for java.* classes to tests/CoreTests. Eventually hopefully these will be moved to dalvik/ somewhere. Remove tests/AndroidTests entirely. Change-Id: I86584d086ab7bd045bb38a10b699907805298a95
* Issue 5697: getContextClassLoader returns a non-application classloaderBrian Carlstrom2010-02-231-0/+10
| | | | | | | | | | | | | | | | | | | | | ActivityThread should try to set the value for Java Thread.getContextClassLoader to the PathClassLoader that loaded the APK's classes so that Java frameworks that use the Java context class loader, which is not to be confused with the android.content.Context.getClassLoader which serves a similar purpose in the Android framework. However, we avoid setting the Java context ClassLoader to the APK's PathClassLoader if there is a static indication that multiple packages may share the VM, since they could load in an unpredictable order leading to different values for the thread local Java context ClassLoader. In this case, we instead use a specially created WarningContextClassLoader that warns the user the first time the Java context ClassLoader. Currently the static indications that a package might share a VM with other packages are the presence in the AndroidManifest of a sharedUserId or requesting a non-default application process name.
* Retry test-runner tests move.Brett Chabot2010-02-2031-2388/+0
| | | | | This time change the frameworks makefile so it only includes test-runner/src in the public API.
* Revert "Move framework test-runner unit tests to be closer to their source."Brett Chabot2010-02-1931-0/+2388
| | | | This reverts commit 12093976a4842a795491cfd2b1d3b71e18503f2d.
* Move framework test-runner unit tests to be closer to their source.Brett Chabot2010-02-1931-2388/+0
| | | | | Move the test-runner source into a separate src folder to accommodate the test move.
* add sync pollingFred Quintana2010-02-051-15/+15
| | | | | | | | | - added the ability to specify that a sync (of account/authority/extras) should occur at a given frequency - the existing daily poll code was replaced with seeding each account/authority with a 24 hour periodic sync - enhanced the "adb shell dumpsys content" output to show the periodic syncs and when they will next run
* Remove "StringTest.java".Elliott Hughes2010-02-031-149/+0
| | | | | | This only tests stuff that's already better tested in dalvik/libcore, plus private ICU API (RuleBasedNumberFormat) we'd like to remove, and that this is the only caller of.
* There is no ../com directory and the build (find) agrees.Patrick Scott2010-01-281-2/+0
|
* Moving framework core tests closer to their source files.Neal Nguyen2010-01-2733-7056/+0
| | | | Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.