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

Unified Diff: chrome/common/extensions/features/simple_feature_unittest.cc

Issue 27722003: Windows-specific implementation of Networking Private API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed feature platforms to 'win' and 'mac' to match Platforms from model.py Created 7 years, 2 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 | « chrome/common/extensions/features/simple_feature.cc ('k') | chrome/utility/networking_private_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/features/simple_feature_unittest.cc
diff --git a/chrome/common/extensions/features/simple_feature_unittest.cc b/chrome/common/extensions/features/simple_feature_unittest.cc
index d4f4c0a48c3d19436c55224cc40fe82f3548db21..2b02c88ac6ac19a50857b5785ce6263064df21e1 100644
--- a/chrome/common/extensions/features/simple_feature_unittest.cc
+++ b/chrome/common/extensions/features/simple_feature_unittest.cc
@@ -471,13 +471,13 @@ TEST_F(ExtensionSimpleFeatureTest, ParsePlatforms) {
EXPECT_EQ(Feature::CHROMEOS_PLATFORM, *feature->platforms()->begin());
platforms->Clear();
- platforms->AppendString("windows");
+ platforms->AppendString("win");
feature->Parse(value.get());
EXPECT_FALSE(feature->platforms()->empty());
EXPECT_EQ(Feature::WIN_PLATFORM, *feature->platforms()->begin());
platforms->Clear();
- platforms->AppendString("windows");
+ platforms->AppendString("win");
platforms->AppendString("chromeos");
feature->Parse(value.get());
std::set<Feature::Platform> expected_platforms;
« no previous file with comments | « chrome/common/extensions/features/simple_feature.cc ('k') | chrome/utility/networking_private_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698