OLD | NEW |
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 "Test.h" | 8 #include "Test.h" |
9 #include "TestClassDef.h" | |
10 #include "SkRandom.h" | 9 #include "SkRandom.h" |
11 #include "SkOSFile.h" | 10 #include "SkOSFile.h" |
12 #include "SkStream.h" | 11 #include "SkStream.h" |
13 #include "SkData.h" | 12 #include "SkData.h" |
14 | 13 |
15 #ifndef SK_BUILD_FOR_WIN | 14 #ifndef SK_BUILD_FOR_WIN |
16 #include <unistd.h> | 15 #include <unistd.h> |
17 #include <fcntl.h> | 16 #include <fcntl.h> |
18 #endif | 17 #endif |
19 | 18 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 memStream.setData(nullData); | 183 memStream.setData(nullData); |
185 TestDereferencingData(&memStream); | 184 TestDereferencingData(&memStream); |
186 | 185 |
187 } | 186 } |
188 | 187 |
189 DEF_TEST(Stream, reporter) { | 188 DEF_TEST(Stream, reporter) { |
190 TestWStream(reporter); | 189 TestWStream(reporter); |
191 TestPackedUInt(reporter); | 190 TestPackedUInt(reporter); |
192 TestNullData(); | 191 TestNullData(); |
193 } | 192 } |
OLD | NEW |