summaryrefslogtreecommitdiffstats
path: root/test/unit/graphics/engine/lightman_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/graphics/engine/lightman_test.cpp')
-rw-r--r--test/unit/graphics/engine/lightman_test.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/graphics/engine/lightman_test.cpp b/test/unit/graphics/engine/lightman_test.cpp
index c955f0a..e2dc785 100644
--- a/test/unit/graphics/engine/lightman_test.cpp
+++ b/test/unit/graphics/engine/lightman_test.cpp
@@ -1,5 +1,7 @@
#include "graphics/engine/lightman.h"
+#include "app/system_mock.h"
+
#include "graphics/core/device_mock.h"
#include "graphics/engine/engine_mock.h"
@@ -15,7 +17,8 @@ class LightManagerUT : public testing::Test
{
protected:
LightManagerUT()
- : lightManager(&engine)
+ : systemUtils(true)
+ , lightManager(&engine)
{}
void PrepareLightTesting(int maxLights, Math::Vector eyePos);
@@ -25,6 +28,7 @@ protected:
Math::Vector pos, EngineObjectType includeType, EngineObjectType excludeType);
+ CSystemUtilsMock systemUtils;
CLightManager lightManager;
CEngineMock engine;
CDeviceMock device;