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

Unified Diff: components/sync_wifi/wifi_security_class_unittest.cc

Issue 2463463004: [Sync] Rename wifi_sync to sync_wifi. (Closed)
Patch Set: Created 4 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 | « components/sync_wifi/wifi_security_class_chromeos_unittest.cc ('k') | components/wifi_sync/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_wifi/wifi_security_class_unittest.cc
diff --git a/components/wifi_sync/wifi_security_class_unittest.cc b/components/sync_wifi/wifi_security_class_unittest.cc
similarity index 79%
rename from components/wifi_sync/wifi_security_class_unittest.cc
rename to components/sync_wifi/wifi_security_class_unittest.cc
index b5652bb3322f1b68bd7104028754367d05fe66e4..f37aa8cc6af2d71822445be32b6f408f5e788299 100644
--- a/components/wifi_sync/wifi_security_class_unittest.cc
+++ b/components/sync_wifi/wifi_security_class_unittest.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/wifi_sync/wifi_security_class.h"
+#include "components/sync_wifi/wifi_security_class.h"
#include "components/onc/onc_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace wifi_sync {
+namespace sync_wifi {
TEST(WifiSecurityClassTest, WifiSecurityClassSupportsPassphrases) {
EXPECT_FALSE(WifiSecurityClassSupportsPassphrases(SECURITY_CLASS_NONE));
@@ -48,24 +48,24 @@ TEST(WifiSecurityClassTest, WifiSecurityClassToSyncSecurityClass) {
TEST(WifiSecurityClassTest, WifiSecurityClassToOncSecurityString) {
std::string security_string;
- EXPECT_TRUE(WifiSecurityClassToOncSecurityString(
- SECURITY_CLASS_NONE, &security_string));
+ EXPECT_TRUE(WifiSecurityClassToOncSecurityString(SECURITY_CLASS_NONE,
+ &security_string));
EXPECT_EQ(onc::wifi::kSecurityNone, security_string);
- EXPECT_TRUE(WifiSecurityClassToOncSecurityString(
- SECURITY_CLASS_WEP, &security_string));
+ EXPECT_TRUE(WifiSecurityClassToOncSecurityString(SECURITY_CLASS_WEP,
+ &security_string));
EXPECT_EQ(onc::wifi::kWEP_PSK, security_string);
- EXPECT_TRUE(WifiSecurityClassToOncSecurityString(
- SECURITY_CLASS_PSK, &security_string));
+ EXPECT_TRUE(WifiSecurityClassToOncSecurityString(SECURITY_CLASS_PSK,
+ &security_string));
EXPECT_EQ(onc::wifi::kWPA_PSK, security_string);
EXPECT_TRUE(WifiSecurityClassToOncSecurityString(SECURITY_CLASS_802_1X,
&security_string));
EXPECT_EQ(onc::wifi::kWPA_EAP, security_string);
- EXPECT_FALSE(WifiSecurityClassToOncSecurityString(
- SECURITY_CLASS_INVALID, &security_string));
+ EXPECT_FALSE(WifiSecurityClassToOncSecurityString(SECURITY_CLASS_INVALID,
+ &security_string));
}
-} // namespace wifi_sync
+} // namespace sync_wifi
« no previous file with comments | « components/sync_wifi/wifi_security_class_chromeos_unittest.cc ('k') | components/wifi_sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698