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