| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: Id613c053fc4493773bbb7f938bb7f0e1c10d49c9
|
| |\
| |/
|/|
| | |
Change-Id: I2c8758b7103408abd52895f0f3def3f3b423e92c
|
|\ \
| |/
|/|
| | |
Change-Id: If132c2badda5a8d8bd53579c10c834f6b84473fd
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: 2f41cd20c0 am: f58521195e am: 55edd63fa3 am: c27747cb91 am: 3422818d91" into oc-dr1-dev-plus-aosp
am: 1eda771728
Change-Id: I44551434bc0c9197b106770c761ff4026fedbf26
|
| | |\
| | | |
| | | |
| | | | |
am: 2f41cd20c0 am: f58521195e am: 55edd63fa3 am: c27747cb91 am: 3422818d91" into oc-dr1-dev-plus-aosp
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
2f41cd20c0 am: f58521195e am: 55edd63fa3 am: c27747cb91
am: 3422818d91
Change-Id: I7e0837f5b98260b4fde44ee4dfca9a971e40964c
|
| | | | |\
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
2f41cd20c0 am: f58521195e am: 55edd63fa3
am: c27747cb91
Change-Id: I342667526228eff6b871ee33baa94b71d8cc420d
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
2f41cd20c0 am: f58521195e am: 55edd63fa3 am: c27747cb91 am: ad285d8a17
am: 72bb3341d9
Change-Id: I7ed286fa9a95f0b757f57b96dc552c13ee6bc56f
|
| | |\ \ \ \
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
2f41cd20c0 am: f58521195e am: 55edd63fa3 am: c27747cb91
am: ad285d8a17
Change-Id: I8796c14dd51c0e0774638a3199f2f352107e60fd
|
| | | |\ \ \
| | | | | |/
| | | | |/|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
2f41cd20c0 am: f58521195e am: 55edd63fa3
am: c27747cb91
Change-Id: Idb87e45cee9a8a984457da776a97ab4e17e6fa34
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
2f41cd20c0 am: f58521195e
am: 55edd63fa3
Bug:38419944
Change-Id: Idb0cf19a4fb6d7e9b6161a708c8c582f4393fdc4
(cherry picked from commit bf41e5d5462598381b2fe3ce7e0d5303450a4ca6)
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
5a47920cc4 am: a4bb7ac645 am: a0c00d58b7 -s ours am: 03f179b987" into oc-dr1-dev-plus-aosp
am: 2594f7b833
Change-Id: I04079a7aa28e655ced5074ca452a1feca724b385
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
5a47920cc4 am: a4bb7ac645 am: a0c00d58b7 -s ours am: 03f179b987" into oc-dr1-dev-plus-aosp
|
| | | |\| | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
5a47920cc4 am: a4bb7ac645 am: a0c00d58b7 -s ours
am: 03f179b987
Change-Id: I4870acbadbae554b9e6fdc8e3e6e719c975e281a
|
| | | |/| | |
| | | | |/ /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
5a47920cc4 am: a4bb7ac645
am: a0c00d58b7 -s ours
Change-Id: I5b0212871aa8febc4551e0808509b3ce3654a2f3
|
| |\| | | |
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
5a47920cc4 am: a4bb7ac645 am: a0c00d58b7 -s ours am: e0269077c5
am: b83c1c74b5
Change-Id: Ia414efebd04570f3cac7f8a056129d4f8a75dab4
|
| |/| | |
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | | |
5a47920cc4 am: a4bb7ac645 am: a0c00d58b7 -s ours
am: e0269077c5
Change-Id: Ie22f4286f4bac234f176b1546852fbd1a5ee77bc
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
5a47920cc4 am: a4bb7ac645
am: a0c00d58b7 -s ours
Change-Id: I6a12f8ac2dded936997d51e0e57fcba8832cda6f
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: a4bb7ac645
Bug:38419944
Change-Id: If74ffd92284a9254fb8f0df776bf88b36b386558
(cherry picked from commit 20b7a9576f4fdddc13b32e159fb31852d2f50f97)
|
|\| | |
| |_|/
|/| |
| | |
| | |
| | | |
4050000 snap-temp-L22200000068540971
Change-Id: I1e730a6ce8a6289cda7927e8168c018a5b3f1709
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2f41cd20c0 am: f58521195e
am: 55edd63fa3
Change-Id: Idb0cf19a4fb6d7e9b6161a708c8c582f4393fdc4
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
2f41cd20c0
am: f58521195e
Change-Id: I63c6e87ba97733c1b233e4283c86b4d1180686c9
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 2f41cd20c0
Change-Id: Idcf24600dea537fa1cfe3eb925d3ff82a586453f
|
| | | | |\
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: b03560c325
Change-Id: I755190fc7c11a89ff1a26b639e43d718ba4d6373
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
CTS uses the Android Test Support Library's
TestRequestBuilder.ShardingFilter to spread changes across a
number of devices in order to parallelize testing.
CTS runs the tests in two modes, in the first it collects the
set of tests that will be run - the list of tests returned by
Runner.getDescription() (after filtering) and in the second it
actually runs the tests as returned by
ParentRunner.getFilteredChildren().
JUnitParams does not work in that situation because it applies
the filter in a different way for parameterized methods
depending on whether it is collecting or running which leads
to inconsistent methods in each phase which causes CTS problems.
When collecting it creates a flat list of FrameworkMethod
instances, one for each method, whether parameterized or
not and applies the filter to that. Once it has filtered it
iterates over to create the Description and during that
process it creates N Description objects for each parameterized
method and 1 Description object for each non-parameterized
method. That means that for each parameterized method either
every instance is collected or none of them are.
When running it creates a flat list of FrameworkMethod
instances, one for each non-parameterized method and N for each
parameterized method (where N is the number of parameter sets
supplied for the method). They are then filtered individually.
That means that for each parameterized method some of its
instances are run but not necessarily all.
This fixes it by making the running and describing parts
completely consistent in how they apply the filters.
This change will be pushed upstream if possible.
Tested by running the two commands given in the bug and ensuring
that they produce the correct set of tests. Added target to
build the test on host and ran selected tests from there. Ran
all tests on the device as per instructions in Android.mk file.
Bug: 38419944
Test: See above
Change-Id: I25b4d4130ffdc71c77992abf592662ba1e1432db
|
|/| | | | |
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
am: a4bb7ac645
Change-Id: If74ffd92284a9254fb8f0df776bf88b36b386558
|
|/| | | |
| |/ / /
| | | |
| | | |
| | | |
| | | | |
am: 5a47920cc4
Change-Id: I46f89b6c7c199b48a1c8f9eadd5221fe783f4075
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: f3cfecad10
Change-Id: Ie9a463a530cb6282ff928698a5c420e9ea31d937
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 2a75dcb2fd
Change-Id: Ie1b660f401e9ea9c301b11ad8976dbd25b737c8c
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previous changes caused tests that use @TestCaseName to start to
fail but did not update the tests to ensure that they still run.
Bug: 38419944
Test: run tests as described in Android.mk
Change-Id: I2d5ed10bcf49fa114f73292bbe06fd70c158ae99
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ab5f9f1d78 am: 67e1cb1101
am: 2ce40971d6
Change-Id: Ib8a42ab6f8d107b9b337219174e84e9cb9db12a9
|
| |\|
| | |
| | |
| | |
| | |
| | | |
am: 67e1cb1101
Change-Id: Id51ba0ddae726eb1395353b64738f914aa56f71f
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: ab5f9f1d78
Change-Id: I9ffd6f4c59eee40bd1da192efc803179cd13c8bc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 63dd96c6f8
Change-Id: Ia2a7e2ab316c022e19b52ab4fc54ca00490cbf79
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 6c3f4570e0
Change-Id: I518a1c3cebf52ba7b46044b61a6aca43235a6ac2
|
| |/| |
| | |/
| | |
| | |
| | |
| | | |
am: 99fe7c3891
Change-Id: Ic1ec1cba072389efda4a4488f1a0bf9ce7d98fb0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Android" am: ea07fbcef7 am: cad05b7095 am: 4f3ba93439
am: 327d6aab06
Change-Id: I73a337bdf0f7788693de2d2d05540566cd06a1e8
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Android" am: ea07fbcef7 am: cad05b7095
am: 4f3ba93439
Change-Id: I700e33a147deee5aae6b933ec84dd5bcd4deeffa
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Android" am: ea07fbcef7
am: cad05b7095
Change-Id: If4c1901447ed615342da4e325334aa94668db7f1
|
| | | |\|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Android"
am: ea07fbcef7
Change-Id: Ib4b5b7a2071f1f79836d68031aff13af660b754c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Android"
This partially reverts commit 6774bdc0447b72a618eab51772685010afd5647a.
Bug: 33613916
Test: make checkbuild
Change-Id: Iac008952ff1a0e6f89d8862e817a8b2480dcbb28
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: ad800d890f
Change-Id: Id6c2a2d5283a76f86abae303f13643213fb5f8f2
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: f330f31974
Change-Id: Iebda00eb11345447aab8bdec38a6df69d0564bdd
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: b35ab41812
Change-Id: I97a6b5a19442abcd1b5b45c866bf8f58fb94c095
|
| | | |\|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 2eb7ea4dd4
Change-Id: Ie8c8721248fa803e6baaae77823e233c16a642ed
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 30188076
Test: make checkbuild
Change-Id: Iaafeb7aab6d28b4ce2e93a35ea412f234fa21834
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: b03c543b23
Change-Id: Ia2186fb535c3c341ffda59d371e51a7d14539bea
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 00303d4fa5
Change-Id: I38c8714666d4bed5fc70321296dac64e3b847039
|