Index: trunk/src/third_party/libaddressinput/chromium/string_compare_unittest.cc |
=================================================================== |
--- trunk/src/third_party/libaddressinput/chromium/string_compare_unittest.cc (revision 282425) |
+++ trunk/src/third_party/libaddressinput/chromium/string_compare_unittest.cc (working copy) |
@@ -1,26 +0,0 @@ |
-// Copyright 2014 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 "third_party/libaddressinput/src/cpp/src/util/string_compare.h" |
- |
-#include "testing/gtest/include/gtest/gtest.h" |
- |
-namespace { |
- |
-TEST(ChromeStringCompareTest, IgnoreDiacritics) { |
- i18n::addressinput::StringCompare sc; |
- EXPECT_TRUE(sc.NaturalEquals("Texas", "T\u00E9xas")); |
-} |
- |
-TEST(ChromeStringCompareTest, IgnoreCapitalization) { |
- i18n::addressinput::StringCompare sc; |
- EXPECT_TRUE(sc.NaturalEquals("Texas", "teXas")); |
-} |
- |
-TEST(ChromeStringCompareTest, DifferentStringAreDifferent) { |
- i18n::addressinput::StringCompare sc; |
- EXPECT_FALSE(sc.NaturalEquals("Texas", "California")); |
-} |
- |
-} // namespace |