Run tests against 7.0-rc-1
parent
72a79ffb9c
commit
c02f436123
|
@ -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() {
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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' | _
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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' | _
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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' | _
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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' | _
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue