| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "SkFrontBufferedStream.h" | 8 #include "SkFrontBufferedStream.h" |
| 9 #include "SkRefCnt.h" | 9 #include "SkRefCnt.h" |
| 10 #include "SkStream.h" | 10 #include "SkStream.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 } | 151 } |
| 152 | 152 |
| 153 static void TestStreams(skiatest::Reporter* reporter) { | 153 static void TestStreams(skiatest::Reporter* reporter) { |
| 154 // Test 6 and 64, which are used by Android, as well as another arbitrary le
ngth. | 154 // Test 6 and 64, which are used by Android, as well as another arbitrary le
ngth. |
| 155 test_buffers(reporter, 6); | 155 test_buffers(reporter, 6); |
| 156 test_buffers(reporter, 15); | 156 test_buffers(reporter, 15); |
| 157 test_buffers(reporter, 64); | 157 test_buffers(reporter, 64); |
| 158 } | 158 } |
| 159 | 159 |
| 160 #include "TestClassDef.h" | 160 #include "TestClassDef.h" |
| 161 DEFINE_TESTCLASS("FrontBufferedStream", FrontBufferedStreamTestClass, TestStream
s) | 161 DEFINE_TESTCLASS_SHORT(TestStreams) |
| OLD | NEW |