Add IgnoreWithoutReasonDetector

This will add the new IgnoreWithoutReasonDetector to the built in lint
checks. It checks that there is a reason defined when using the @Ignored
annotation from JUnit.

Cherrypick from AOSP:
https://android-review.googlesource.com/c/platform/tools/base/+/783316
plus simple quickfix, and added testing category

Bug: None
Test: Unit test included
Change-Id: I06d1f72c2b31f3f563f96e4c4fb6e15630e9ecd7
9 files changed
tree: ce4571471006e382c1809515f5c2250f19fedffe
  1. .idea/
  2. .vscode/
  3. annotations/
  4. apkparser/
  5. apps/
  6. bazel/
  7. build-system/
  8. chunkio/
  9. chunkio-processor/
  10. common/
  11. ddmlib/
  12. deploy/
  13. device_validator/
  14. devicelib/
  15. draw9patch/
  16. fakeadbserver/
  17. fakeandroid/
  18. files/
  19. flags/
  20. instant-run/
  21. instant-run-test-instrumenter/
  22. jaxb-inheritance-plugin/
  23. jobb/
  24. layoutinspector/
  25. layoutlib-api/
  26. legacy/
  27. lint/
  28. misc/
  29. ninepatch/
  30. perf-logger/
  31. perflib/
  32. pixelprobe/
  33. profiler/
  34. repository/
  35. sdk-common/
  36. sdklib/
  37. templates/
  38. testing-infrastructure/
  39. testutils/
  40. third_party/
  41. usb-devices/
  42. vector-drawable-tool/
  43. .gitignore
  44. adt.iml
  45. BUILD.bazel
  46. build.gradle
  47. changes.txt
  48. contributing.md
  49. navbar.md
  50. PREUPLOAD.cfg
  51. README.md
  52. source.md
  53. studio.md
README.md

tools/base

This project contains:

  • Common libraries that are shared between any of the IDE (Android Studio), the build system (The Android Gradle Plugin) and SDK components that will be released from studio-master-dev (e.g. the standalone SDK manager). This includes:
    • Instant-run-libraries
    • SDK management libraries
    • The manifest merger
    • Common libraries
    • Common test utilites
  • The build system
  • The new profiler