Skip to content

Commit

Permalink
fix junit its which are broken since fbab55f and never get fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <olamy@apache.org>
  • Loading branch information
olamy committed May 2, 2023
1 parent 5ba3c3a commit e8adb71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -32,6 +32,6 @@ assert !content.contains('org.nuiton.i18n:nuiton-i18n:1.2.2');
assert !content.contains('junit:junit:3.8.1');

assert content.contains('org.nuiton:maven-helper-plugin:1.2.3');
assert content.contains('junit:junit:4.8.1');
assert content.contains('junit:junit:4.13.1');

return true
4 changes: 2 additions & 2 deletions src/it/aggregate-add-third-party-simple/postbuild.groovy
Expand Up @@ -24,14 +24,14 @@ file = new File(basedir, 'target/generated-sources/license/THIRD-PARTY.txt');
assert file.exists();
content = file.text;
assert !content.contains('the project has no dependencies.');
assert content.contains('(Common Public License Version 1.0) JUnit (junit:junit:4.8.1 - http://junit.org)');
assert content.contains('(Common Public License Version 1.0) JUnit (junit:junit:4.13.1 - http://junit.org)');
assert content.contains('(The Apache Software License, Version 2.0) Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)');

file = new File(basedir, 'target/generated-sources/license/META-INF/test-aggregate-add-third-party-THIRD-PARTY.txt');
assert file.exists();
content = file.text;
assert !content.contains('the project has no dependencies.');
assert content.contains('(Common Public License Version 1.0) JUnit (junit:junit:4.8.1 - http://junit.org)');
assert content.contains('(Common Public License Version 1.0) JUnit (junit:junit:4.13.1 - http://junit.org)');
assert content.contains('(The Apache Software License, Version 2.0) Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)');

file = new File(basedir, 'child1/target/generated-sources/license/THIRD-PARTY.txt');
Expand Down

0 comments on commit e8adb71

Please sign in to comment.