1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-20 16:37:39 +00:00

Add a couple of tests for pocket computers

- Ensure they're correctly synced to the client. This definitely isn't
   comprehensive, but doing anything further probably involves multiple
   players, which is tricky.

 - Quick rendering test for in-hand computers.
This commit is contained in:
Jonathan Coates
2022-11-21 21:34:35 +00:00
parent 0fc78acd49
commit 3a96aea894
10 changed files with 216 additions and 32 deletions

View File

@@ -40,12 +40,6 @@ abstract class ClientJavaExec : JavaExec() {
@get:Input
val useFramebuffer get() = !clientDebug && !project.hasProperty("clientNoFramebuffer")
/**
* The folder screenshots are written to.
*/
@get:OutputDirectory
val screenshots = project.layout.buildDirectory.dir("testScreenshots")
/**
* The path test results are written to.
*/
@@ -109,11 +103,6 @@ abstract class ClientJavaExec : JavaExec() {
} else {
super.exec()
}
fsOperations.copy {
from(workingDir.resolve("screenshots"))
into(screenshots)
}
}
@get:Inject