forked from mojohaus/versions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mojohaus#637: Refactoring report renderers
- Loading branch information
Showing
44 changed files
with
2,212 additions
and
1,742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
dependencyUpdatesReport = new File( basedir, "target/site/dependency-updates-report.html" ) | ||
|
||
assert dependencyUpdatesReport.exists( ) | ||
dependencyUpdatesReport = new File( basedir, "target/site/dependency-updates-report.html" ).text | ||
.replaceAll( '<[^>]+>', ' ' ) | ||
.replaceAll( '&[^;]+;', ' ' ) | ||
.replaceAll( '\\s+', ' ' ) | ||
|
||
// some basic (=not comprehensive) checks on the contents of the dependency report | ||
assert dependencyUpdatesReport.text =~ /\b1\.1\.0-2\b/ // current version of the dependency | ||
assert dependencyUpdatesReport.text =~ /\b3\.0\b/ // latest major available version | ||
|
||
pluginUpdatesReport = new File( basedir, "target/site/plugin-updates-report.html" ) | ||
assert dependencyUpdatesReport =~ /\b1\.1\.0-2\b/ // current version of the dependency | ||
assert dependencyUpdatesReport =~ /\b3\.0\b/ // latest major available version | ||
|
||
assert pluginUpdatesReport.exists( ) | ||
pluginUpdatesReport = new File( basedir, "target/site/plugin-updates-report.html" ).text | ||
.replaceAll( '<[^>]+>', ' ' ) | ||
.replaceAll( '&[^;]+;', ' ' ) | ||
.replaceAll( '\\s+', ' ' ) | ||
|
||
// some basic (=not comprehensive) checks on the contents of the plugin report | ||
assert pluginUpdatesReport.text =~ /\b1\.0\b/ // current version of the plugin | ||
assert pluginUpdatesReport.text =~ /\b3\.1\b/ // latest major available version | ||
assert pluginUpdatesReport =~ /\b1\.0\b/ // current version of the plugin | ||
assert pluginUpdatesReport =~ /\b3\.1\b/ // latest major available version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
invoker.goals=site | ||
invoker.goals = site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.