Run tests against 7.0-rc-1

This commit is contained in:
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
getArchiveEntry("fabric-example-mod-1.0.0.jar", "modid.accesswidener") == expected().replaceAll('\r','')
where:
gradle | _
'6.8.3' | _
'7.0-milestone-2' | _
gradle | _
'6.8.3' | _
'7.0-rc-1' | _
}
String expected() {

View file

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

View file

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

View file

@ -43,8 +43,8 @@ class MojangMappingsProjectTest extends Specification implements ProjectTestTrai
then:
result.task(":build").outcome == SUCCESS
where:
gradle | _
'6.8.3' | _
'7.0-milestone-2' | _
gradle | _
'6.8.3' | _
'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")
where:
gradle | _
'6.8.3' | _
'7.0-milestone-2' | _
gradle | _
'6.8.3' | _
'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-sources.jar") in sourceHash // Done for different line endings.
where:
gradle | modHash | sourceHash
'6.8.3' | "6132ffb4117adb7e258f663110552952" | ["be31766e6cafbe4ae3bca9e35ba63169", "7348b0bd87d36d7ec6f3bca9c2b66062"]
'7.0-milestone-2' | "6132ffb4117adb7e258f663110552952" | ["be31766e6cafbe4ae3bca9e35ba63169", "7348b0bd87d36d7ec6f3bca9c2b66062"]
gradle | modHash | sourceHash
'6.8.3' | "6132ffb4117adb7e258f663110552952" | ["be31766e6cafbe4ae3bca9e35ba63169", "7348b0bd87d36d7ec6f3bca9c2b66062"]
'7.0-rc-1' | "6132ffb4117adb7e258f663110552952" | ["be31766e6cafbe4ae3bca9e35ba63169", "7348b0bd87d36d7ec6f3bca9c2b66062"]
}
String getOutputHash(String name) {

View file

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

View file

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