Run tests against 7.0-rc-1

dev/0.11
modmuss50 2021-03-23 08:51:41 +00:00
parent 72a79ffb9c
commit c02f436123
8 changed files with 25 additions and 25 deletions

View File

@ -45,9 +45,9 @@ class AccessWidenerTest extends Specification implements ProjectTestTrait, Archi
result.task(":build").outcome == SUCCESS result.task(":build").outcome == SUCCESS
getArchiveEntry("fabric-example-mod-1.0.0.jar", "modid.accesswidener") == expected().replaceAll('\r','') getArchiveEntry("fabric-example-mod-1.0.0.jar", "modid.accesswidener") == expected().replaceAll('\r','')
where: where:
gradle | _ gradle | _
'6.8.3' | _ '6.8.3' | _
'7.0-milestone-2' | _ '7.0-rc-1' | _
} }
String expected() { String expected() {

View File

@ -48,7 +48,7 @@ class DecompileTest extends Specification implements ProjectTestTrait {
decompiler | task | gradle decompiler | task | gradle
'fernflower' | "genSources" | "6.8.3" 'fernflower' | "genSources" | "6.8.3"
'fernflower' | "genSources" | "4.9" 'fernflower' | "genSources" | "4.9"
'fernflower' | "genSources" | "7.0-milestone-2" 'fernflower' | "genSources" | "7.0-rc-1"
'cfr' | "genSourcesWithExperimentalCfr" | "6.8.3" 'cfr' | "genSourcesWithExperimentalCfr" | "6.8.3"
} }
} }

View File

@ -43,8 +43,8 @@ class KotlinTest extends Specification implements ProjectTestTrait {
then: then:
result.task(":build").outcome == SUCCESS result.task(":build").outcome == SUCCESS
where: where:
gradle | _ gradle | _
'6.8.3' | _ '6.8.3' | _
'7.0-milestone-2' | _ '7.0-rc-1' | _
} }
} }

View File

@ -43,8 +43,8 @@ class MojangMappingsProjectTest extends Specification implements ProjectTestTrai
then: then:
result.task(":build").outcome == SUCCESS result.task(":build").outcome == SUCCESS
where: where:
gradle | _ gradle | _
'6.8.3' | _ '6.8.3' | _
'7.0-milestone-2' | _ '7.0-rc-1' | _
} }
} }

View File

@ -54,8 +54,8 @@ class MultiProjectTest extends Specification implements ProjectTestTrait, Archiv
hasArchiveEntry("multiproject-1.0.0.jar", "META-INF/jars/fabric-api-base-0.2.1+9354966b7d.jar") hasArchiveEntry("multiproject-1.0.0.jar", "META-INF/jars/fabric-api-base-0.2.1+9354966b7d.jar")
where: where:
gradle | _ gradle | _
'6.8.3' | _ '6.8.3' | _
'7.0-milestone-2' | _ '7.0-rc-1' | _
} }
} }

View File

@ -48,9 +48,9 @@ class ReproducibleBuildTest extends Specification implements ProjectTestTrait {
getOutputHash("fabric-example-mod-1.0.0.jar") == modHash getOutputHash("fabric-example-mod-1.0.0.jar") == modHash
getOutputHash("fabric-example-mod-1.0.0-sources.jar") in sourceHash // Done for different line endings. getOutputHash("fabric-example-mod-1.0.0-sources.jar") in sourceHash // Done for different line endings.
where: where:
gradle | modHash | sourceHash gradle | modHash | sourceHash
'6.8.3' | "6132ffb4117adb7e258f663110552952" | ["be31766e6cafbe4ae3bca9e35ba63169", "7348b0bd87d36d7ec6f3bca9c2b66062"] '6.8.3' | "6132ffb4117adb7e258f663110552952" | ["be31766e6cafbe4ae3bca9e35ba63169", "7348b0bd87d36d7ec6f3bca9c2b66062"]
'7.0-milestone-2' | "6132ffb4117adb7e258f663110552952" | ["be31766e6cafbe4ae3bca9e35ba63169", "7348b0bd87d36d7ec6f3bca9c2b66062"] '7.0-rc-1' | "6132ffb4117adb7e258f663110552952" | ["be31766e6cafbe4ae3bca9e35ba63169", "7348b0bd87d36d7ec6f3bca9c2b66062"]
} }
String getOutputHash(String name) { String getOutputHash(String name) {

View File

@ -44,11 +44,11 @@ class RunConfigTest extends Specification implements ProjectTestTrait {
then: then:
result.task(":${task}").outcome == SUCCESS result.task(":${task}").outcome == SUCCESS
where: where:
task | _ task | _
'runClient' | _ 'runClient' | _
'runServer' | _ 'runServer' | _
'runTestmodClient' | _ 'runTestmodClient' | _
'runTestmodServer' | _ 'runTestmodServer' | _
'runAutoTestServer' | _ 'runAutoTestServer' | _
} }
} }

View File

@ -43,9 +43,9 @@ class SimpleProjectTest extends Specification implements ProjectTestTrait {
then: then:
result.task(":build").outcome == SUCCESS result.task(":build").outcome == SUCCESS
where: where:
gradle | _ gradle | _
'6.8.3' | _ '6.8.3' | _
'7.0-milestone-2' | _ '7.0-rc-1' | _
} }
@Unroll @Unroll