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

Side by Side Diff: sky/engine/wtf/text/TextCodecReplacementTest.cpp

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « sky/engine/wtf/text/TextCodecReplacement.cpp ('k') | sky/engine/wtf/text/TextCodecUTF16.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "sky/engine/config.h"
6 5
7 #include "sky/engine/wtf/text/TextCodecReplacement.h" 6 #include "sky/engine/wtf/text/TextCodecReplacement.h"
8 7
9 #include <gtest/gtest.h> 8 #include <gtest/gtest.h>
10 #include "sky/engine/wtf/OwnPtr.h" 9 #include "sky/engine/wtf/OwnPtr.h"
11 #include "sky/engine/wtf/text/CString.h" 10 #include "sky/engine/wtf/text/CString.h"
12 #include "sky/engine/wtf/text/TextCodec.h" 11 #include "sky/engine/wtf/text/TextCodec.h"
13 #include "sky/engine/wtf/text/TextEncoding.h" 12 #include "sky/engine/wtf/text/TextEncoding.h"
14 #include "sky/engine/wtf/text/TextEncodingRegistry.h" 13 #include "sky/engine/wtf/text/TextEncodingRegistry.h"
15 #include "sky/engine/wtf/text/WTFString.h" 14 #include "sky/engine/wtf/text/WTFString.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const UChar testCase[] = { 0x6F22, 0x5B57 }; 54 const UChar testCase[] = { 0x6F22, 0x5B57 };
56 size_t testCaseSize = WTF_ARRAY_LENGTH(testCase); 55 size_t testCaseSize = WTF_ARRAY_LENGTH(testCase);
57 CString result = codec->encode(testCase, testCaseSize, QuestionMarksForUnenc odables); 56 CString result = codec->encode(testCase, testCaseSize, QuestionMarksForUnenc odables);
58 57
59 EXPECT_STREQ("\xE6\xBC\xA2\xE5\xAD\x97", result.data()); 58 EXPECT_STREQ("\xE6\xBC\xA2\xE5\xAD\x97", result.data());
60 } 59 }
61 60
62 } // namespace 61 } // namespace
63 62
64 } // namespace WTF 63 } // namespace WTF
OLDNEW
« no previous file with comments | « sky/engine/wtf/text/TextCodecReplacement.cpp ('k') | sky/engine/wtf/text/TextCodecUTF16.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698