GeezerVison is showing github.com — Clean up Monitoring V3 sample. · Issue #118 · GoogleCloudPlatform/java-docs-samples
Clean up Monitoring V3 sample. #118
Labels
🚨This issue needs some love.triage meI really want to be triaged. Description
Some minor edits needed for javadocs, also using Truth for some of the assertions would really help in the tests. See PR #116.
- checkstyle needs to pass on the test classes. Fixed by Fix checkstyle in monitoring v3 sample. #122.
- use Truth for assertions in tests. Fixed by Fix checkstyle in monitoring v3 sample. #122.
- enable tests by default, so that they run in Travis. (Depends on whitelisting the
cloud-samples-tests project.)
- adjust line breaks to follow "the rectangle rule".
-
<p> tags in recommended line in javadocs.
- make license headers regular comment, not javadocs.
Activity
waprin commented on Mar 16, 2016
Will circle back to this as soon as get through launch craziness.
tswast commented on Mar 16, 2016
ContributorAuthor
More actions
Some test classes are currently failing checkstyle checks.
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @ cloud-monitoring-v3-samples ---
[INFO] Starting audit...
/home/travis/build/GoogleCloudPlatform/java-docs-samples/monitoring/v3/src/test/java/CreateCustomMetricTest.java:19: error: 'org.apache.commons.lang3.RandomStringUtils' should be separated from previous import group.
/home/travis/build/GoogleCloudPlatform/java-docs-samples/monitoring/v3/src/test/java/CreateCustomMetricTest.java:53: error: At-clause should have a non-empty description.
/home/travis/build/GoogleCloudPlatform/java-docs-samples/monitoring/v3/src/test/java/CreateCustomMetricTest.java:66: error: At-clause should have a non-empty description.
/home/travis/build/GoogleCloudPlatform/java-docs-samples/monitoring/v3/src/test/java/ListResourcesTest.java:19: error: 'junit.framework.Assert' should be separated from previous import group.
Audit done.
https://travis-ci.org/GoogleCloudPlatform/java-docs-samples/builds/116512174
I had planned to enable this check (applying checkstyles to test classes) in PR #115.
changed the title
[-]Clean up formatting issues in Monitoring V3 sample.[/-] [+]Clean up Monitoring V3 sample.[/+] on Mar 17, 2016
Metadata
Metadata
🚨This issue needs some love.triage meI really want to be triaged. Development
No branches or pull requestsIssue actions