diff --git a/Engine/source/windowManager/test/windowManagerTest.cpp b/Engine/source/windowManager/test/windowManagerTest.cpp index d6179c96b..649dcd607 100644 --- a/Engine/source/windowManager/test/windowManagerTest.cpp +++ b/Engine/source/windowManager/test/windowManagerTest.cpp @@ -31,6 +31,8 @@ TEST(WinMgr, BasicAPI) // Check out the primary desktop area... RectI primary = pwm->getPrimaryDesktopArea(); + EXPECT_TRUE(pwm) + << "no monitor to test against!"; EXPECT_TRUE(primary.isValidRect()) << "Got some sort of invalid rect from the window manager!"; @@ -55,4 +57,4 @@ TEST(WinMgr, BasicAPI) // No way to destroy the window manager. }; -#endif \ No newline at end of file +#endif