Align handling of ParameterizedTest annotations in Java and Python code
The following rules are applied:
-- all annotations are merged down starting from the topmost superclass and
finally updated with method annotations (thus, method annotations override
class annotations);
-- if the test method ends up having both @ParameterizedTest.Set and
@ParameterizedTest annotations, the set "wins" (but that also means, if the
method has defined @ParameterizedTest on itself, but there is
@ParameterizedTest.Set coming from the class, the latter "wins", as the
method receives both annotations due to the first rule).
BUG=
526885
Committed:
https://crrev.com/ee07229c554d9e028c60df336cc6792a426eee64
Cr-Commit-Position: refs/heads/master@{#360158}