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
diff --git a/tests/Writer32Test.cpp b/tests/Writer32Test.cpp
index 8b048a7..f2dcf90 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 @@
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 @@
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);
}