Skip to content

Commit

Permalink
Fix unit test failed compiling on Linux deskflow#5030
Browse files Browse the repository at this point in the history
  • Loading branch information
XinyuHou committed Nov 19, 2015
1 parent af305ba commit ebec92f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/unittests/synergy/DpiHelperTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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);
}

Expand All @@ -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);
}

0 comments on commit ebec92f

Please sign in to comment.