Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2532)

Unified Diff: base/mac/mac_util_unittest.mm

Issue 2288003002: Delete IsAtLeastOS10_9() and IsAtMostOS10_9() (Closed)
Patch Set: Rebase, cancel the more confusing changes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/mac/mac_util.h ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/mac_util_unittest.mm
diff --git a/base/mac/mac_util_unittest.mm b/base/mac/mac_util_unittest.mm
index cf567c684cb520528d67ddfcebc34f73dc23b5c9..c8e8401413e0e4b4a234c659fa286361b9982def 100644
--- a/base/mac/mac_util_unittest.mm
+++ b/base/mac/mac_util_unittest.mm
@@ -147,8 +147,6 @@ TEST_F(MacUtilTest, IsOSEllipsis) {
if (major == 10) {
if (minor == 9) {
EXPECT_TRUE(IsOS10_9());
- EXPECT_TRUE(IsAtMostOS10_9());
- EXPECT_TRUE(IsAtLeastOS10_9());
EXPECT_FALSE(IsOS10_10());
EXPECT_TRUE(IsAtMostOS10_10());
EXPECT_FALSE(IsAtLeastOS10_10());
@@ -161,8 +159,6 @@ TEST_F(MacUtilTest, IsOSEllipsis) {
EXPECT_FALSE(IsOSLaterThan10_12_DontCallThis());
} else if (minor == 10) {
EXPECT_FALSE(IsOS10_9());
- EXPECT_FALSE(IsAtMostOS10_9());
- EXPECT_TRUE(IsAtLeastOS10_9());
EXPECT_TRUE(IsOS10_10());
EXPECT_TRUE(IsAtMostOS10_10());
EXPECT_TRUE(IsAtLeastOS10_10());
@@ -175,8 +171,6 @@ TEST_F(MacUtilTest, IsOSEllipsis) {
EXPECT_FALSE(IsOSLaterThan10_12_DontCallThis());
} else if (minor == 11) {
EXPECT_FALSE(IsOS10_9());
- EXPECT_FALSE(IsAtMostOS10_9());
- EXPECT_TRUE(IsAtLeastOS10_9());
EXPECT_FALSE(IsOS10_10());
EXPECT_FALSE(IsAtMostOS10_10());
EXPECT_TRUE(IsAtLeastOS10_10());
@@ -189,8 +183,6 @@ TEST_F(MacUtilTest, IsOSEllipsis) {
EXPECT_FALSE(IsOSLaterThan10_12_DontCallThis());
} else if (minor == 12) {
EXPECT_FALSE(IsOS10_9());
- EXPECT_FALSE(IsAtMostOS10_9());
- EXPECT_TRUE(IsAtLeastOS10_9());
EXPECT_FALSE(IsOS10_10());
EXPECT_FALSE(IsAtMostOS10_10());
EXPECT_TRUE(IsAtLeastOS10_10());
« no previous file with comments | « base/mac/mac_util.h ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698