Fix unit test failed compiling on Linux #5030

This commit is contained in:
XinyuHou 2015-10-19 12:26:28 -07:00 committed by Jerry (Xinyu Hou)
parent af305ba3df
commit ebec92fd5b
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ TEST(DpiHelperTests, calculateDpi_samePhysicalAndVirtualResolutions_defaultDpi)
DpiHelper::calculateDpi(1920, 1080);
EXPECT_EQ(false, DpiHelper::s_dpiScaled);
EXPECT_FALSE(DpiHelper::s_dpiScaled);
EXPECT_EQ(DpiHelper::kDefaultDpi, DpiHelper::s_dpi);
}
@ -55,7 +55,7 @@ TEST(DpiHelperTests, calculateDpi_differentPhysicalAndVirtualResolutions_scaledD
DpiHelper::calculateDpi(960, 540);
EXPECT_EQ(true, DpiHelper::s_dpiScaled);
EXPECT_TRUE(DpiHelper::s_dpiScaled);
EXPECT_EQ(200, DpiHelper::s_dpi);
}
@ -65,6 +65,6 @@ TEST(DpiHelperTests, calculateDpi_defaultStaticValues_defaultDpi)
DpiHelper::calculateDpi(1920, 1080);
EXPECT_EQ(false, DpiHelper::s_dpiScaled);
EXPECT_FALSE(DpiHelper::s_dpiScaled);
EXPECT_EQ(DpiHelper::kDefaultDpi, DpiHelper::s_dpi);
}