• Nicolas Dossou-gbete's avatar
    🔬 Add utility for processing annotations in tests · 67a6d728
    Nicolas Dossou-gbete authored
    Introduces AnnotationProcessingUtils, which provides:
    - AnnotationExtractor, a class allowing to retrieve one or many
    annotations in reverse declaration order from a class or a test
    description
    - AnnotationProcessor, a rule to simplify the use of the above
    extractor in the context of tests (here used as parent for @Features
    rule).
    - Utility methods to simplify the use of the above extractor in other
    contexts (here used in SkipChecks)
    
    Bug: 783160,754778
    Change-Id: I8ca0793e1229c6268266c75791a44615b8f93f57
    Reviewed-on: https://chromium-review.googlesource.com/789192
    Commit-Queue: Nicolas Dossou-Gbété <dgn@chromium.org>
    Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
    Reviewed-by: default avataragrieve <agrieve@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#520789}
    67a6d728
BUILD.gn 102 KB