785ca42cd14e5c32b4a72582246e260959591655 |
|
08-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Add a new custom TestSizeAnnotationCheck to Checkstyle. We have been bitten by missing test size annotations too many times. I have written a simple Checkstyle check that will check for that all methods with @Test annotation have a size annotation either on the method or the class. Test: ran checkstyle on all support library classes and found that we were missing test annotations in a few places (fixed in this CL) Change-Id: I4e4f12a9282799c3d8896e251b73a5aa81a3a67f
/frameworks/support/development/checkstyle/prebuilt/com.android.support.checkstyle.jar
|
6f1dbebfcd27a5e92c4d297f52a62b76b160754d |
|
03-Jan-2017 |
Alan Viverette <alanv@google.com> |
Use correct regex for javadoc tag with optional description Also fixes instances of missing @RestrictTo in compat/ directory. Previous CLs were tested against commits rather than files, so they returned false positives (and negatives). This one was correctly run against the entire compat/ directory. Bug: 33462608 Test: ran checkstyle on compat Change-Id: I7b194bb2dbf971bf1a1306794a4b2cdf554e4e02
/frameworks/support/development/checkstyle/prebuilt/com.android.support.checkstyle.jar
|
b21122ed4ab22b635d2b2cf69c9ec2fb0754c677 |
|
29-Dec-2016 |
Alan Viverette <alanv@google.com> |
Simplify mismatched annotation check, update prebuilt Removes unnecessary description check, unused skipNoJavadoc option, and multi-line description handling. Fixes issue where description was required. Bug: 32998581 Test: ran checkstyle on compat/* Change-Id: Ifc3d71a301e3d315db6bd9f3be8b7573c9d8a43a
/frameworks/support/development/checkstyle/prebuilt/com.android.support.checkstyle.jar
|
6a9a6d86c5157e49d1290d44ddda0e5b325a3b64 |
|
16-Dec-2016 |
Alan Viverette <alanv@google.com> |
Add Checkstyle check for @hide / @RestrictTo pair Bug: 32998581 Change-Id: I5625e78a65731cd7d3bdf795737a372471e5fbae Test: ran checkstyle on compat/*
/frameworks/support/development/checkstyle/prebuilt/com.android.support.checkstyle.jar
|
865cecd14e0f17c39138022de1bb1cb0822491b5 |
|
09-Dec-2016 |
Alan Viverette <alanv@google.com> |
Revert "Add Checkstyle check for @hide / @RestrictTo pair" Not working correctly. This reverts commit 1252439521bcde3085b0e9a34be5b0d7ad06fe2e. Change-Id: I11869b0e836022919065bbadcb1507b853756530
/frameworks/support/development/checkstyle/prebuilt/com.android.support.checkstyle.jar
|
1252439521bcde3085b0e9a34be5b0d7ad06fe2e |
|
28-Nov-2016 |
Alan Viverette <alanv@google.com> |
Add Checkstyle check for @hide / @RestrictTo pair Bug: 32998581 Test: ran checkstyle Change-Id: I00685f6d2e4c48284e4991a8abad089177569572
/frameworks/support/development/checkstyle/prebuilt/com.android.support.checkstyle.jar
|