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

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

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/wtf/text/CStringTest.cpp ('k') | sky/engine/wtf/text/StringBuilder.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 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include "sky/engine/config.h"
8 7
9 #include "sky/engine/wtf/text/StringBuffer.h" 8 #include "sky/engine/wtf/text/StringBuffer.h"
10 9
11 #include <gtest/gtest.h> 10 #include <gtest/gtest.h>
12 11
13 namespace { 12 namespace {
14 13
15 14
16 TEST(StringBuffer, Initial) 15 TEST(StringBuffer, Initial)
17 { 16 {
(...skipping 19 matching lines...) Expand all
37 36
38 buf.shrink(1); 37 buf.shrink(1);
39 EXPECT_EQ(1u, buf.length()); 38 EXPECT_EQ(1u, buf.length());
40 EXPECT_EQ('a', buf[0]); 39 EXPECT_EQ('a', buf[0]);
41 40
42 buf.shrink(0); 41 buf.shrink(0);
43 EXPECT_EQ(0u, buf.length()); 42 EXPECT_EQ(0u, buf.length());
44 } 43 }
45 44
46 } // namespace 45 } // namespace
OLDNEW
« no previous file with comments | « sky/engine/wtf/text/CStringTest.cpp ('k') | sky/engine/wtf/text/StringBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698