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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/text/TextEncodingTest.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/wtf/text/TextEncoding.h" 5 #include "platform/wtf/text/TextEncoding.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace WTF { 9 namespace WTF {
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 EXPECT_STREQ("UTF-8", 63 EXPECT_STREQ("UTF-8",
64 TextEncoding("utf-32be").EncodingForFormSubmission().GetName()); 64 TextEncoding("utf-32be").EncodingForFormSubmission().GetName());
65 EXPECT_STREQ( 65 EXPECT_STREQ(
66 "windows-1252", 66 "windows-1252",
67 TextEncoding("windows-1252").EncodingForFormSubmission().GetName()); 67 TextEncoding("windows-1252").EncodingForFormSubmission().GetName());
68 EXPECT_STREQ("GBK", 68 EXPECT_STREQ("GBK",
69 TextEncoding("gbk").EncodingForFormSubmission().GetName()); 69 TextEncoding("gbk").EncodingForFormSubmission().GetName());
70 EXPECT_STREQ("UTF-8", 70 EXPECT_STREQ("UTF-8",
71 TextEncoding("utf-7").EncodingForFormSubmission().GetName()); 71 TextEncoding("utf-7").EncodingForFormSubmission().GetName());
72 } 72 }
73 } 73 } // namespace
74 } 74 } // namespace WTF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698