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

Unified Diff: chrome/browser/profiles/file_path_verifier_win_unittest.cc

Issue 630333002: Rewrite line endings from CRLF to LF for a bunch of files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/browser/google/OWNERS ('k') | chrome/browser/resources/extensions_infobar.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/file_path_verifier_win_unittest.cc
diff --git a/chrome/browser/profiles/file_path_verifier_win_unittest.cc b/chrome/browser/profiles/file_path_verifier_win_unittest.cc
index e2c922f3ae8e1c2192e564fc2c5141520d9586a8..a705357dd605e82ad38574068c7bc6ab9edabf8c 100644
--- a/chrome/browser/profiles/file_path_verifier_win_unittest.cc
+++ b/chrome/browser/profiles/file_path_verifier_win_unittest.cc
@@ -1,40 +1,40 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/profiles/file_path_verifier_win.h"
-
-#include "base/files/file_path.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-TEST(FilePathVerifierTest, ComparePathsIgnoreCase) {
- const struct PathComparisonReasonTestData {
- const base::FilePath::CharType* inputs[2];
- internal::PathComparisonReason expected;
- } cases[] = {
- { { FILE_PATH_LITERAL("test/foo.bar"),
- FILE_PATH_LITERAL("test/foo.bar") },
- internal::PATH_COMPARISON_EQUAL},
- { { FILE_PATH_LITERAL("test\\foo.bar"),
- FILE_PATH_LITERAL("test\\foo.bar") },
- internal::PATH_COMPARISON_EQUAL},
- { { FILE_PATH_LITERAL("test/foo.bar"),
- FILE_PATH_LITERAL("test/foo.baz") },
- internal::PATH_COMPARISON_FAILED_SAMEDIR},
- { { FILE_PATH_LITERAL("test/foo.bar"),
- FILE_PATH_LITERAL("test/joe/foo.bar") },
- internal::PATH_COMPARISON_FAILED_SAMEBASE},
- { { FILE_PATH_LITERAL("test/foo.bar"),
- FILE_PATH_LITERAL("jack/bar.buz") },
- internal::PATH_COMPARISON_FAILED_UNKNOWN},
- };
-
- for (size_t i = 0; i < arraysize(cases); ++i) {
- base::FilePath p1(cases[i].inputs[0]);
- base::FilePath p2(cases[i].inputs[1]);
- internal::PathComparisonReason reason =
- internal::ComparePathsIgnoreCase(p1, p2);
- EXPECT_EQ(cases[i].expected, reason) <<
- "i: " << i << ", p1: " << p1.value() << ", p2: " << p2.value();
- }
-}
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/profiles/file_path_verifier_win.h"
+
+#include "base/files/file_path.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+TEST(FilePathVerifierTest, ComparePathsIgnoreCase) {
+ const struct PathComparisonReasonTestData {
+ const base::FilePath::CharType* inputs[2];
+ internal::PathComparisonReason expected;
+ } cases[] = {
+ { { FILE_PATH_LITERAL("test/foo.bar"),
+ FILE_PATH_LITERAL("test/foo.bar") },
+ internal::PATH_COMPARISON_EQUAL},
+ { { FILE_PATH_LITERAL("test\\foo.bar"),
+ FILE_PATH_LITERAL("test\\foo.bar") },
+ internal::PATH_COMPARISON_EQUAL},
+ { { FILE_PATH_LITERAL("test/foo.bar"),
+ FILE_PATH_LITERAL("test/foo.baz") },
+ internal::PATH_COMPARISON_FAILED_SAMEDIR},
+ { { FILE_PATH_LITERAL("test/foo.bar"),
+ FILE_PATH_LITERAL("test/joe/foo.bar") },
+ internal::PATH_COMPARISON_FAILED_SAMEBASE},
+ { { FILE_PATH_LITERAL("test/foo.bar"),
+ FILE_PATH_LITERAL("jack/bar.buz") },
+ internal::PATH_COMPARISON_FAILED_UNKNOWN},
+ };
+
+ for (size_t i = 0; i < arraysize(cases); ++i) {
+ base::FilePath p1(cases[i].inputs[0]);
+ base::FilePath p2(cases[i].inputs[1]);
+ internal::PathComparisonReason reason =
+ internal::ComparePathsIgnoreCase(p1, p2);
+ EXPECT_EQ(cases[i].expected, reason) <<
+ "i: " << i << ", p1: " << p1.value() << ", p2: " << p2.value();
+ }
+}
« no previous file with comments | « chrome/browser/google/OWNERS ('k') | chrome/browser/resources/extensions_infobar.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698