Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
siordache committed Oct 20, 2019
1 parent b0df250 commit c111bea
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/test/groovy/org/beryx/jlink/JlinkPluginSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ class JlinkPluginSpec extends Specification {
null | '4.8' | null | null | null | 'modular-hello'
'modular.example.hello' | '4.10.3' | 'run-hello' | '' | 'org.example.my.test.merged.module' | 'run-hello'
null | '5.0' | null | 'org.example.modular.Hello' | null | 'modular-hello'
'modular.example.hello' | '5.1.1' | null | null | null | 'modular-hello'
'modular.example.hello' | '5.6.3' | null | null | null | 'modular-hello'
'modular.example.hello' | '6.0-rc-1' | 'run-hello' | 'org.example.modular.Hello' | null | 'run-hello'
}

@Unroll
Expand Down Expand Up @@ -106,7 +107,7 @@ class JlinkPluginSpec extends Specification {
where:
projectDir | gradleVersion | imageDir | imageZip | expectedLauncherName
'hello-javafx' | '4.8' | 'helloFX' | 'helloFX.zip' | 'helloFX'
'hello-javafx-log4j-2.11.1' | '5.5.1' | 'image' | 'image.zip' | 'helloFX'
'hello-javafx-log4j-2.11.1' | '5.6.3' | 'image' | 'image.zip' | 'helloFX'
}

def "should adjust qualified opens in module-info"() {
Expand All @@ -116,7 +117,7 @@ class JlinkPluginSpec extends Specification {
.withDebug(true)
.withProjectDir(testProjectDir.root)
.withPluginClasspath()
.withGradleVersion('5.2')
.withGradleVersion('6.0-rc-1')
.withArguments(JlinkPlugin.TASK_NAME_JLINK, "-is")
.build();

Expand All @@ -138,7 +139,7 @@ class JlinkPluginSpec extends Specification {
File buildFile = setUpBuild('local-deps')
BuildResult result = GradleRunner.create()
.withDebug(true)
.withGradleVersion('5.6.2')
.withGradleVersion('5.6.3')
.withProjectDir(testProjectDir.root)
.withPluginClasspath()
.withArguments(JlinkPlugin.TASK_NAME_JLINK, "-is")
Expand All @@ -153,7 +154,7 @@ class JlinkPluginSpec extends Specification {
File buildFile = setUpBuild('hello-bom')
BuildResult result = GradleRunner.create()
.withDebug(true)
.withGradleVersion('5.3')
.withGradleVersion('5.6.3')
.withProjectDir(testProjectDir.root)
.withPluginClasspath()
.withArguments(JlinkPlugin.TASK_NAME_JLINK, "-is")
Expand All @@ -169,7 +170,7 @@ class JlinkPluginSpec extends Specification {
File buildFile = setUpBuild('multi-launch')
BuildResult result = GradleRunner.create()
.withDebug(true)
.withGradleVersion('5.4.1')
.withGradleVersion('6.0-rc-1')
.withProjectDir(testProjectDir.root)
.withPluginClasspath()
.withArguments(JlinkPlugin.TASK_NAME_JLINK, "-is")
Expand Down

0 comments on commit c111bea

Please sign in to comment.