From 2db52a14ab5e874f4f12547d31d500deb01c46fc Mon Sep 17 00:00:00 2001 From: Stanislav Mishchenko Date: Fri, 7 Jun 2024 20:53:53 +0300 Subject: [PATCH] update render batch tests --- .../unit/rendering/engine/core/batch/RenderBatchTests.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/kotlin/solve/unit/rendering/engine/core/batch/RenderBatchTests.kt b/src/test/kotlin/solve/unit/rendering/engine/core/batch/RenderBatchTests.kt index 8bd34fd0..0f021801 100644 --- a/src/test/kotlin/solve/unit/rendering/engine/core/batch/RenderBatchTests.kt +++ b/src/test/kotlin/solve/unit/rendering/engine/core/batch/RenderBatchTests.kt @@ -2,14 +2,18 @@ package solve.unit.rendering.engine.core.batch import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test +import org.junit.jupiter.api.extension.ExtendWith +import org.testfx.framework.junit5.ApplicationExtension import solve.constants.IconsCatalogueApplyPath +import solve.interactive.InteractiveTestClass import solve.rendering.engine.core.batch.PrimitiveType import solve.rendering.engine.core.batch.RenderBatch import solve.rendering.engine.core.texture.Texture2D import solve.rendering.utils.runInOpenGLContext import solve.utils.getResourceAbsolutePath -class RenderBatchTests { +@ExtendWith(ApplicationExtension::class) +internal class RenderBatchTests : InteractiveTestClass() { @Test fun `Fully fills a render batch with textures`() { runInOpenGLContext {