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

Side by Side Diff: tests/StreamTest.cpp

Issue 145313004: Cleanup: Sanitize the order of includes under tests/ (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more two fixes Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « tests/SrcOverTest.cpp ('k') | tests/StringTest.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 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkData.h"
9 #include "SkOSFile.h"
10 #include "SkRandom.h"
11 #include "SkStream.h"
8 #include "Test.h" 12 #include "Test.h"
9 #include "SkRandom.h"
10 #include "SkOSFile.h"
11 #include "SkStream.h"
12 #include "SkData.h"
13 13
14 #ifndef SK_BUILD_FOR_WIN 14 #ifndef SK_BUILD_FOR_WIN
15 #include <unistd.h> 15 #include <unistd.h>
16 #include <fcntl.h> 16 #include <fcntl.h>
17 #endif 17 #endif
18 18
19 #define MAX_SIZE (256 * 1024) 19 #define MAX_SIZE (256 * 1024)
20 20
21 static void test_loop_stream(skiatest::Reporter* reporter, SkStream* stream, 21 static void test_loop_stream(skiatest::Reporter* reporter, SkStream* stream,
22 const void* src, size_t len, int repeat) { 22 const void* src, size_t len, int repeat) {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 memStream.setData(nullData); 183 memStream.setData(nullData);
184 TestDereferencingData(&memStream); 184 TestDereferencingData(&memStream);
185 185
186 } 186 }
187 187
188 DEF_TEST(Stream, reporter) { 188 DEF_TEST(Stream, reporter) {
189 TestWStream(reporter); 189 TestWStream(reporter);
190 TestPackedUInt(reporter); 190 TestPackedUInt(reporter);
191 TestNullData(); 191 TestNullData();
192 } 192 }
OLDNEW
« no previous file with comments | « tests/SrcOverTest.cpp ('k') | tests/StringTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698