|
@@ -29,11 +29,12 @@ TEST(WinMgr, BasicAPI)
|
|
|
{
|
|
|
PlatformWindowManager *pwm = CreatePlatformWindowManager();
|
|
|
|
|
|
- // Check out the primary desktop area...
|
|
|
- RectI primary = pwm->getPrimaryDesktopArea();
|
|
|
EXPECT_TRUE(pwm)
|
|
|
<< "no monitor to test against!";
|
|
|
|
|
|
+ // Check out the primary desktop area...
|
|
|
+ RectI primary = pwm->getPrimaryDesktopArea();
|
|
|
+
|
|
|
EXPECT_TRUE(primary.isValidRect())
|
|
|
<< "Got some sort of invalid rect from the window manager!";
|
|
|
|