-
Notifications
You must be signed in to change notification settings - Fork 155
Conversation
dogeared
commented
Feb 28, 2016
- Adds Jacoco test configuration for surefire and failsafe plugins
- Adds jacoco-mulit-coverage module for creating local aggregated coverage reports for unit and integration tests. This is necessary as jacoco does not natively support aggregated reports for multi-module maven projects
- Adds coveralls.io build to .travis.yml to report on aggregated code coverage for unit and integration tests.
- Moves docs build to oraclejdk7 from oraclejdk8
- Moves ITs run from jdk6 to jdk8 (reason is that maven coveralls plugin has to be jdk7 or newer AND we want the coveralls report to run after both unit and integration tests are run)
- Adds an initial unit test to oauth package as none existed before. This ensures that the oauth package is included in the stats for coverage
- Adds shell script to run all unit and integration tests and produce local aggregated coverage report
…dded jacoco-multi-coverage to aggregate all coverage data for local runs. refactored root pom.xml to include coverage data for integration tests as well as unit tests.
…ted jacoco coverage report. Switched running of ITs on travis to jdk 1.7 so that coveralls plugin will run as 1.6 is not supported.
…kage to aggregated report.
@@ -122,6 +122,6 @@ public AccountStore getAccountStore() { | |||
/* @since 1.0.RC5 */ | |||
@Override | |||
public AuthenticationOptions getResponseOptions() { | |||
throw new UnsupportedOperationException(getClass().getName() + " .getResponseOptions() is not supported."); | |||
throw new UnsupportedOperationException(getClass().getName() + ".getResponseOptions() is not supported."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Writing the test for this exposed the extra space in the message.
|
||
@Test | ||
public void testGetResponseOptions() { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the first blank line in each method please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in previous reviews, I though you'd said our standard was to have a blank for each method. Or, is that for classes?
@dogeared back to you |
@@ -19,7 +20,8 @@ before_install: | |||
-Dexpression=project.version|grep -Ev '(^\[|Download\w+:)')" | |||
- export IS_RELEASE="$([ ${RELEASE_VERSION/SNAPSHOT} == $RELEASE_VERSION ] && [ $TRAVIS_BRANCH | |||
== 'master' ] && echo 'true')" | |||
- export BUILD_DOCS="$([ $TRAVIS_JDK_VERSION == 'oraclejdk8' ] && echo 'true')" | |||
- export BUILD_DOCS="$([ $TRAVIS_JDK_VERSION == 'oraclejdk7' ] && echo 'true')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change this to JDK7?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the run of the ITs to JDK8. So, I moved the build docs to JDK7 to keep the time for each JDK build as short as possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool - thanks!
Closing (for now) to investigate clover. |