Skip to content

Commit 6e5f748

Browse files
sultanslachiewicz
authored andcommitted
Display "Latest" Versions in Reports Summary
1 parent e6dcb4f commit 6e5f748

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

src/it/it-dependency-updates-report-001/verify.bsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ try
1111
.replaceAll( "&[^;]+;", " " )
1212
.replaceAll( "\\s+", " " );
1313

14-
if ( result.indexOf( "localhost dummy-api 1.1 compile jar 1.1.0-2 1.1.1 1.2 2.0" ) < 0 )
14+
if ( result.indexOf( "localhost dummy-api 1.1 compile jar 1.1.0-2 1.1.3 1.3 3.0" ) < 0 )
1515
{
1616
System.out.println( "Did not generate summary correctly" );
1717
System.out.println( "Result = \"" + result +"\"" );

src/it/it-dependency-updates-report-003/verify.bsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ try
1111
.replaceAll( "&[^;]+;", " " )
1212
.replaceAll( "\\s+", " " );
1313

14-
if ( result.indexOf( "localhost dummy-api 1.1 compile jar 1.1.0-2 1.1.1 1.2 2.0" ) < 0 )
14+
if ( result.indexOf( "localhost dummy-api 1.1 compile jar 1.1.0-2 1.1.3 1.3 3.0" ) < 0 )
1515
{
1616
System.out.println( "Did not pick up updated in dependencies section" );
1717
System.out.println( "Result = \"" + result +"\"" );

src/it/it-dependency-updates-report-004/verify.bsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ try
1111
.replaceAll( "&[^;]+;", " " )
1212
.replaceAll( "\\s+", " " );
1313

14-
if ( !result.contains( "localhost dummy-api 1.1 jar 1.1.0-2 1.1.1 1.2 2.0" ) )
14+
if ( !result.contains( "localhost dummy-api 1.1 jar 1.1.0-2 1.1.3 1.3 3.0" ) )
1515
{
1616
System.out.println( "Did not pick up updated in Dependency Management section" );
1717
System.out.println( "Result = \"" + result +"\"" );
1818
return false;
1919
}
20-
if ( !result.contains( "localhost dummy-impl 1.1 jar 1.2 2.0" ) )
20+
if ( !result.contains( "localhost dummy-impl 1.1 jar 1.4 2.2" ) )
2121
{
2222
System.out.println( "Did not pick up updated in Dependency Management section" );
2323
System.out.println( "Result = \"" + result +"\"" );

src/it/it-plugin-updates-report-001/verify.bsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ try
1919
.replaceAll( "&[^;]+;", " " )
2020
.replaceAll( "\\s+", " " );
2121

22-
if ( result.indexOf( "localhost dummy-maven-plugin 1.0 2.0" ) < 0 )
22+
if ( result.indexOf( "localhost dummy-maven-plugin 1.0 3.1" ) < 0 )
2323
{
2424
System.out.println( "Did not generate dependency summary correctly" );
2525
System.out.println( "Result = \"" + result +"\"" );
2626
return false;
2727
}
28-
if ( result.indexOf( "dummy-api 1.1 jar 1.1.0-2 1.1.1 1.2 2.0" ) < 0 )
28+
if ( result.indexOf( "dummy-api 1.1 jar 1.1.0-2 1.1.3 1.3 3.0" ) < 0 )
2929
{
3030
System.out.println( "Did not generate dependency summary correctly" );
3131
System.out.println( "Result = \"" + result +"\"" );

src/it/it-plugin-updates-report-002/verify.bsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ try
1919
.replaceAll( "&[^;]+;", " " )
2020
.replaceAll( "\\s+", " " );
2121

22-
if ( result.indexOf( "localhost dummy-maven-plugin 1.0 2.0" ) < 0 )
22+
if ( result.indexOf( "localhost dummy-maven-plugin 1.0 3.1" ) < 0 )
2323
{
2424
System.out.println( "Did not generate summary correctly" );
2525
System.out.println( "Result = \"" + result +"\"" );

src/it/it-plugin-updates-report-003/verify.bsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ try
1919
.replaceAll( "&[^;]+;", " " )
2020
.replaceAll( "\\s+", " " );
2121

22-
if ( result.indexOf( "localhost dummy-maven-plugin 1.0 2.0" ) < 0 )
22+
if ( result.indexOf( "localhost dummy-maven-plugin 1.0 3.1" ) < 0 )
2323
{
2424
System.out.println( "Did not generate summary correctly" );
2525
System.out.println( "Result = \"" + result +"\"" );

src/it/it-property-updates-report-001/verify.bsh

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ try
2828
}
2929
if ( result.indexOf( "# of properties where the next version available is smaller than an incremental version update 0" ) < 0 )
3030
{
31-
System.out.println( "Did not generate with subincrermental totals correctly" );
31+
System.out.println( "Did not generate with subincremental totals correctly" );
3232
System.out.println( "Result = \"" + result +"\"" );
3333
return false;
3434
}
@@ -50,13 +50,13 @@ try
5050
System.out.println( "Result = \"" + result +"\"" );
5151
return false;
5252
}
53-
if ( result.indexOf( "${impl-version} 2.0 2.1" ) < 0 )
53+
if ( result.indexOf( "${impl-version} 2.0 2.2" ) < 0 )
5454
{
5555
System.out.println( "Did not generate summary for ${impl-version} correctly" );
5656
System.out.println( "Result = \"" + result +"\"" );
5757
return false;
5858
}
59-
if ( result.indexOf( "${api-version} 1.0 1.0.1 1.1 2.0" ) < 0 )
59+
if ( result.indexOf( "${api-version} 1.0 1.0.1 1.3 3.0" ) < 0 )
6060
{
6161
System.out.println( "Did not generate summary for ${api-version} correctly" );
6262
System.out.println( "Result = \"" + result +"\"" );

0 commit comments

Comments
 (0)