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:
@@ -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
|
||||
|
Reference in New Issue
Block a user