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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/text/TextCodecICUTest.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/TextCodecICU.h" 5 #include "platform/wtf/text/TextCodecICU.h"
6 6
7 #include "platform/wtf/Vector.h" 7 #include "platform/wtf/Vector.h"
8 #include "platform/wtf/text/CharacterNames.h" 8 #include "platform/wtf/text/CharacterNames.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 CString encoded = codec->Encode(data, 0, kQuestionMarksForUnencodables); 48 CString encoded = codec->Encode(data, 0, kQuestionMarksForUnencodables);
49 EXPECT_STREQ("", encoded.data()); 49 EXPECT_STREQ("", encoded.data());
50 } 50 }
51 { 51 {
52 CString encoded = codec->Encode(kPoo, WTF_ARRAY_LENGTH(kPoo), 52 CString encoded = codec->Encode(kPoo, WTF_ARRAY_LENGTH(kPoo),
53 kQuestionMarksForUnencodables); 53 kQuestionMarksForUnencodables);
54 EXPECT_STREQ(expected.data(), encoded.data()); 54 EXPECT_STREQ(expected.data(), encoded.data());
55 } 55 }
56 } 56 }
57 } 57 }
58 } 58 } // namespace WTF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698