diff options
author | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:14:13 +0000 |
---|---|---|
committer | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:14:13 +0000 |
commit | d6176b0dcacb124539e0cfd051e6d93a9782f020 (patch) | |
tree | 9e6f4b465e54c9b26e1ba70cd8890b55abb08464 /tests/Writer32Test.cpp | |
parent | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part II of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6474054
git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/Writer32Test.cpp')
-rw-r--r-- | tests/Writer32Test.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/Writer32Test.cpp b/tests/Writer32Test.cpp index 8b048a7b73..f2dcf90ea7 100644 --- a/tests/Writer32Test.cpp +++ b/tests/Writer32Test.cpp @@ -15,7 +15,7 @@ static void test_ptr(skiatest::Reporter* reporter) { SkSWriter32<32> writer(32); - + void* p0 = reporter; void* p1 = &writer; @@ -135,14 +135,14 @@ static void Tests(skiatest::Reporter* reporter) { SkWriter32 writer(256 * 4); REPORTER_ASSERT(reporter, NULL == writer.getSingleBlock()); test1(reporter, &writer); - + writer.reset(); test2(reporter, &writer); writer.reset(); testWritePad(reporter, &writer); } - + // single-block { SkWriter32 writer(0); @@ -154,33 +154,33 @@ static void Tests(skiatest::Reporter* reporter) { writer.reset(storage, sizeof(storage)); test2(reporter, &writer); - + writer.reset(storage, sizeof(storage)); testWritePad(reporter, &writer); } - + // small storage { SkSWriter32<8 * sizeof(intptr_t)> writer(100); test1(reporter, &writer); writer.reset(); // should just rewind our storage test2(reporter, &writer); - + writer.reset(); testWritePad(reporter, &writer); } - + // large storage { SkSWriter32<1024 * sizeof(intptr_t)> writer(100); test1(reporter, &writer); writer.reset(); // should just rewind our storage test2(reporter, &writer); - + writer.reset(); testWritePad(reporter, &writer); } - + test_ptr(reporter); } |