aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* release-request-276f9f52-87fd-4915-bd79-9a2f0ee77433-for-git_oc-release-4090 ↵android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-cts-7.1_r18android-8.0.0_r9android-8.0.0_r7android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-cts-releaseandroid-build-team Robot2017-06-1124-429/+571
|\ | | | | | | | | | | 213 snap-temp-L31600000073091223 Change-Id: I000970b5f49fa4d8b7d33342ede87ea55042a579
| * Fix JUnitParamsRunner so it works with CTS sharding am: b03560c325 am: ↵android-vts-8.0_r2android-vts-8.0_r1oreo-devPaul Duffin2017-06-0921-425/+542
| | | | | | | | | | | | | | | | | | | | 2f41cd20c0 am: f58521195e am: 55edd63fa3 Bug:38419944 Change-Id: Idb0cf19a4fb6d7e9b6161a708c8c582f4393fdc4 (cherry picked from commit bf41e5d5462598381b2fe3ce7e0d5303450a4ca6)
| * Ignore tests that no longer work am: 2a75dcb2fd am: f3cfecad10 am: 5a47920cc4Paul Duffin2017-06-085-4/+29
|/ | | | | | | | am: a4bb7ac645 Bug:38419944 Change-Id: If74ffd92284a9254fb8f0df776bf88b36b386558 (cherry picked from commit 20b7a9576f4fdddc13b32e159fb31852d2f50f97)
* Hard code text case name template for AndroidJUnitRunner and CTS am: ↵Paul Duffin2017-03-241-2/+9
|\ | | | | | | | | | | | | | | ab5f9f1d78 am: 67e1cb1101 am: 2ce40971d6 Change-Id: Ib8a42ab6f8d107b9b337219174e84e9cb9db12a9
| * Hard code text case name template for AndroidJUnitRunner and CTS am: ab5f9f1d78Paul Duffin2017-03-241-2/+9
| |\ | | | | | | | | | | | | | | | am: 67e1cb1101 Change-Id: Id51ba0ddae726eb1395353b64738f914aa56f71f
| | * Hard code text case name template for AndroidJUnitRunner and CTSandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-2Paul Duffin2017-03-241-2/+9
| | |\ | | | | | | | | | | | | | | | | | | | | am: ab5f9f1d78 Change-Id: I9ffd6f4c59eee40bd1da192efc803179cd13c8bc
| | | * Hard code text case name template for AndroidJUnitRunner and CTSPaul Duffin2017-03-241-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AndroidJUnitRunner and CTS require test names to be a specific format. The default JUnitParams format is not suitable. This change forces it to one that is suitable and prevents it from being overridden using the @TestCaseName annotation. These are a sample of parameterized and unparameterized test names. The latter two are from a JUnitParamsRunner based test. libcore.java.net.FtpURLConnectionTest#testOutputUrl pass libcore.java.net.IDNTest#test_toUnicode_failures pass libcore.java.net.InetAddressTest#test_getByName_invalid[0] pass libcore.java.net.InetAddressTest#test_getByName_invalid[1] pass Bug: 36074730 Bug: 36541809 Test: run cts -m CtsLibcoreTestCases and check test names of parameterized tests, e.g. those from libcore.java.net.InetAddressTest Change-Id: Id9a8f8ce9affeb85fb2f410d11e764e99d7287b3
* | | | Make sure that filters affect the Description am: 99fe7c3891 am: 6c3f4570e0Paul Duffin2017-03-222-0/+4
|\| | | | | | | | | | | | | | | | | | | | | | | am: 63dd96c6f8 Change-Id: Ia2a7e2ab316c022e19b52ab4fc54ca00490cbf79
| * | | Make sure that filters affect the Description am: 99fe7c3891Paul Duffin2017-03-222-0/+4
| |\| | | | | | | | | | | | | | | | | | | | | | am: 6c3f4570e0 Change-Id: I518a1c3cebf52ba7b46044b61a6aca43235a6ac2
| | * | Make sure that filters affect the DescriptionPaul Duffin2017-03-222-0/+4
| |/| | | | |/ | | | | | | | | | | | | am: 99fe7c3891 Change-Id: Ic1ec1cba072389efda4a4488f1a0bf9ce7d98fb0
| | * Make sure that filters affect the DescriptionPaul Duffin2017-03-222-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JUnitParamsRunner caches the Description on first request but if that happens before applying a filter then the Description never gets updated. This fixes the problem by discarding the cached Description forcing it to be regenerated next time it is requested. Bug: 36074730 Test: run cts -a arm64-v8a -m CtsLibcoreTestCases -t libcore.java.net.InetAddressTest#test_isReachable_by_ICMP Change-Id: Ibc35c013c388f81fd5b69c553b167e3d11af6841
* | | Partially revert "Patch to make it compile against JUnit 4.10 and run on ↵Paul Duffin2016-12-204-20/+6
|\| | | | | | | | | | | | | | | | | | | | | | | Android" am: ea07fbcef7 am: cad05b7095 am: 4f3ba93439 am: 327d6aab06 Change-Id: I73a337bdf0f7788693de2d2d05540566cd06a1e8
| * | Partially revert "Patch to make it compile against JUnit 4.10 and run on ↵Paul Duffin2016-12-204-20/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android" am: ea07fbcef7 am: cad05b7095 am: 4f3ba93439 Change-Id: I700e33a147deee5aae6b933ec84dd5bcd4deeffa
| | * \ Partially revert "Patch to make it compile against JUnit 4.10 and run on ↵Paul Duffin2016-12-204-20/+6
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android" am: ea07fbcef7 am: cad05b7095 Change-Id: If4c1901447ed615342da4e325334aa94668db7f1
| | | * | Partially revert "Patch to make it compile against JUnit 4.10 and run on ↵Paul Duffin2016-12-204-20/+6
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android" am: ea07fbcef7 Change-Id: Ib4b5b7a2071f1f79836d68031aff13af660b754c
| | | | * Partially revert "Patch to make it compile against JUnit 4.10 and run on ↵android-o-preview-1o-previewPaul Duffin2016-12-164-20/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android" This partially reverts commit 6774bdc0447b72a618eab51772685010afd5647a. Bug: 33613916 Test: make checkbuild Change-Id: Iac008952ff1a0e6f89d8862e817a8b2480dcbb28
* | | | | Replace junit-targetdex with junit am: 2eb7ea4dd4 am: b35ab41812 am: f330f31974Paul Duffin2016-12-071-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ad800d890f Change-Id: Id6c2a2d5283a76f86abae303f13643213fb5f8f2
| * | | | Replace junit-targetdex with junit am: 2eb7ea4dd4 am: b35ab41812Paul Duffin2016-12-071-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: f330f31974 Change-Id: Iebda00eb11345447aab8bdec38a6df69d0564bdd
| | * | | Replace junit-targetdex with junit am: 2eb7ea4dd4Paul Duffin2016-12-071-2/+2
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: b35ab41812 Change-Id: I97a6b5a19442abcd1b5b45c866bf8f58fb94c095
| | | * | Replace junit-targetdex with junitPaul Duffin2016-12-071-2/+2
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 2eb7ea4dd4 Change-Id: Ie8c8721248fa803e6baaae77823e233c16a642ed
| | | | * Replace junit-targetdex with junitPaul Duffin2016-12-071-2/+2
| | | |/ | | | | | | | | | | | | | | | | | | | | Bug: 30188076 Test: make checkbuild Change-Id: Iaafeb7aab6d28b4ce2e93a35ea412f234fa21834
* | | | Use junit-host instead of junit am: 92b5e663ad am: e9e6cb4a30 am: 00303d4fa5Paul Duffin2016-11-291-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | am: b03c543b23 Change-Id: Ia2186fb535c3c341ffda59d371e51a7d14539bea
| * | | Use junit-host instead of junit am: 92b5e663ad am: e9e6cb4a30Paul Duffin2016-11-291-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | am: 00303d4fa5 Change-Id: I38c8714666d4bed5fc70321296dac64e3b847039
| | * | Use junit-host instead of junit am: 92b5e663adPaul Duffin2016-11-291-1/+1
| | |\| | | | | | | | | | | | | | | | | | | | | am: e9e6cb4a30 Change-Id: I60308c4903607b007ba2de8d7f1d2f5abd905284
| | | * Use junit-host instead of junitPaul Duffin2016-11-291-1/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | am: 92b5e663ad Change-Id: I9e428e1df9c66a40b6d4f141ee407cbc867528b1
| | | | * Use junit-host instead of junitPaul Duffin2016-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 30188076 Test: make checkbuild Change-Id: I7cb06fd4ebe00601d176fee3b1080c8a46930bbb
* | | | | Use junit-hostdex instead of core-junit-hostdex/junit4-target-hostdex am: ↵Paul Duffin2016-11-281-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe726a1ab7 am: d532dd184b am: 3c0b47b663 am: 0207cc0753 Change-Id: I771ce4f5e68be43aa37cb70191244ab83638a38b
| * | | | Use junit-hostdex instead of core-junit-hostdex/junit4-target-hostdex am: ↵Paul Duffin2016-11-281-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe726a1ab7 am: d532dd184b am: 3c0b47b663 Change-Id: I065ab054c256206aae7bf6452ea11570f8520aff
| | * | | Use junit-hostdex instead of core-junit-hostdex/junit4-target-hostdex am: ↵Paul Duffin2016-11-281-1/+1
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe726a1ab7 am: d532dd184b Change-Id: Ib7120adf775bb93fd74a0e9ec7f3880cb922c76e
| | | * | Use junit-hostdex instead of core-junit-hostdex/junit4-target-hostdexPaul Duffin2016-11-281-1/+1
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: fe726a1ab7 Change-Id: I58535bb28bcc4ef763e48c81db02705a7bb657fd
| | | | * Use junit-hostdex instead of core-junit-hostdex/junit4-target-hostdexPaul Duffin2016-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent change in external/junit changes junit-hostdex so it includes all JUnit classes not just the ones not in core-junit-hostdex and not in junit4-target-hostdex. This change updates this project to use junit-hostdex instead of either of or even both of the other two. Bug: 30188076 Test: make checkbuild and art/tools/run-libcore-tests.sh '--mode=host' '--variant=X32' Change-Id: I046c394b2174567dd933105497d784ca3477ef0f
* | | | | Correct dependencies for junit-param am: 630c32b92b am: bdee35d507 am: ↵Shubham Ajmera2016-11-041-0/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48ccb76667 am: f04dc66f6f Change-Id: Icbfc7a17b51e79ab01df1785a1a3fb388dbf56c3
| * | | | Correct dependencies for junit-param am: 630c32b92b am: bdee35d507Shubham Ajmera2016-11-041-0/+7
|/| | | | | |/ / / | | | | | | | | | | | | | | | | am: 48ccb76667 Change-Id: Ie10ed98c46e922bcd2f8914998691be1bd4dafb5
| * / / Correct dependencies for junit-param am: 630c32b92bShubham Ajmera2016-11-041-0/+7
|/| | | | |/ / | | | | | | | | | | | | am: bdee35d507 Change-Id: Ie00eb1b6932f6ec71c0f9345a303886ec6ab814e
| * / Correct dependencies for junit-paramShubham Ajmera2016-11-041-0/+7
|/| | | |/ | | | | | | | | am: 630c32b92b Change-Id: I9fa60a2f1d9c4f90ae4fc232db4b84c5d7bc8103
| * Correct dependencies for junit-paramShubham Ajmera2016-11-041-0/+7
|/ | | | | | | | | | | | | Set LOCAL_NO_STANDARD_LIBRARIES to true and explicitly listed the dependencies. As LOCAL_NO_STANDARD_LIBRARIES flag was not set to true, some of the modules in frameworks(ext) were added as dependencies. ART bot doesn't support frameworks modules and therefore, it was breaking their build. Test: make junit-params-host junit-params-hostdex junit-params \ junit-params-test Change-Id: I24068aec64cd301ef542ee9dbb9db505eff8b857
* Patch to make it compile against JUnit 4.10 and run on AndroidPaul Duffin2016-07-2112-8/+311
| | | | | | | | | | | | | | | | | | The main issues are: * JUnit 4.10 does not support giving Description instances a unique id, separate to its display name. * JUnit 4.10's BlockJUnit4ClassRunner.validateFields(List) method is private so cannot be overridden. * JUnit 4.10 requires test classes to be static. * JUnit 4.10 has no assertNotEquals() methods. * Some of the tests need to be run from the project's root directory in order to access file system resources. As a result those tests do not work when run on the device and so they are marked with @Ignore. Bug: 30244565 Test: Ran the junit-params-test using vogar Change-Id: I8f1bd602d07bedec1340373ad5747e3565ce617d
* Fix dependency on undefined order of Class.getMethods()Paul Duffin2016-07-201-2/+8
| | | | | | | | | | | | | | | | | The Class.getMethods() returns an array of methods from a class and its interfaces and super class but specifies that the order is undefined. The affected test indexes the array using an index of 0, presumably because it assumes that the method defined in the class comes before methods defined in the super class and interfaces. This is a bug in the upstream repository and is separated out from the other patches to make it easier to push it to the upstream repository. Bug: 30244565 Change-Id: I9e267b53614a46497e04c73841d086b83b536570 Test: Once it compiles the tests will be run.
* Workaround Android's lack of java.beans.PropertyEditor/ManagerPaul Duffin2016-07-203-51/+4
| | | | | | | | | | | | | | | | The classes are used to allow developers to customize JUnitParams' handling of conversion from literal String values to the type of parameters required by the parameterized test methods. This simply removes the code that uses the classes. That means developers who require custom data types will have to accept String parameters in their parameterized test methods and do the conversions manually. Bug: 30244565 Change-Id: I0dd479591d6fb60f0a08025c51ab3c9494c1bda2 Test: Once it compiles the tests will be run.
* Workaround Android's lack of javax.lang.model.type.NullTypePaul Duffin2016-07-205-11/+7
| | | | | | | | | | | | | The NullType class is used as a default value to indicate that the @Parameters source attribute has not been explicitly set. As such while it is externally visible it is not something that clients would be depending upon. Clients are highly unlikely to either check the source attribute themselves, or specify a value of Void.class so this change should be safe. Bug: 30244565 Test: Once it compiles the tests will be run. Change-Id: If2d1c73e81aabc98f1431206279e82e9e043f4c0
* Initial checkin of JUnitParams-1.0.5Paul Duffin2016-07-20157-0/+18632
| | | | | | | | | | | | | | Adds README.version, README.google, MODULE_LICENSE_APACHE2 files as required by the process (see b/30087411). The code does not yet compile; it requires patching to work with Android API and JUnit 4.10. Those patches will be added in separate commits to make it easy to identify the Android specific changes. All the changes will be submitted together. Bug: 30244565 Change-Id: Icf556377478c3afdd644c5e4db0ff18898f496ae Test: Once it compiles the tests will be run.
* Initial empty repositorykuantung2016-07-190-0/+0