consistent window size for render tests
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
2e5ebb392b
commit
a35e63920f
@ -1,3 +1,3 @@
|
|||||||
#maven.buildNumber.plugin properties file
|
#maven.buildNumber.plugin properties file
|
||||||
#Tue Aug 20 15:00:55 EDT 2024
|
#Tue Aug 20 15:07:56 EDT 2024
|
||||||
buildNumber=281
|
buildNumber=284
|
||||||
|
|||||||
@ -615,6 +615,9 @@ Disable cloud ring
|
|||||||
Undo oit shader work to fix build pipeline
|
Undo oit shader work to fix build pipeline
|
||||||
Testing rearchitecting
|
Testing rearchitecting
|
||||||
|
|
||||||
|
(08/20/2024)
|
||||||
|
Update image assert method
|
||||||
|
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import java.io.File;
|
|||||||
|
|
||||||
import annotations.IntegrationSetup;
|
import annotations.IntegrationSetup;
|
||||||
import annotations.IntegrationTeardown;
|
import annotations.IntegrationTeardown;
|
||||||
|
import electrosphere.engine.Globals;
|
||||||
import electrosphere.engine.Main;
|
import electrosphere.engine.Main;
|
||||||
import testutils.TestEngineUtils;
|
import testutils.TestEngineUtils;
|
||||||
import testutils.TestRenderingUtils;
|
import testutils.TestRenderingUtils;
|
||||||
@ -12,6 +13,9 @@ import testutils.TestRenderingUtils;
|
|||||||
* A test class that involves testing renders
|
* A test class that involves testing renders
|
||||||
*/
|
*/
|
||||||
public abstract class RenderingTestTemplate {
|
public abstract class RenderingTestTemplate {
|
||||||
|
|
||||||
|
public static final int DEFAULT_WINDOW_WIDTH = 1920;
|
||||||
|
public static final int DEFAULT_WINDOW_HEIGHT = 1080;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the engine
|
* Initializes the engine
|
||||||
@ -19,6 +23,8 @@ public abstract class RenderingTestTemplate {
|
|||||||
@IntegrationSetup
|
@IntegrationSetup
|
||||||
public void initEngine(){
|
public void initEngine(){
|
||||||
TestEngineUtils.initGraphicalEngine();
|
TestEngineUtils.initGraphicalEngine();
|
||||||
|
Globals.WINDOW_WIDTH = DEFAULT_WINDOW_WIDTH;
|
||||||
|
Globals.WINDOW_HEIGHT = DEFAULT_WINDOW_HEIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue
Block a user