From 5174286bc5697e290d052fed994e8759fa5a4ed3 Mon Sep 17 00:00:00 2001 From: "mtklein@google.com" Date: Wed, 24 Jul 2013 19:11:15 +0000 Subject: Revert "Start from scratch on a faster SkFlatDictionary." This reverts commit fec9bfa02d5d2b27bfa2dad3e37e5825a720784d. git-svn-id: http://skia.googlecode.com/svn/trunk@10331 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/Writer32Test.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/Writer32Test.cpp b/tests/Writer32Test.cpp index e5b93634ac..498be9cb81 100644 --- a/tests/Writer32Test.cpp +++ b/tests/Writer32Test.cpp @@ -187,23 +187,18 @@ static void Tests(skiatest::Reporter* reporter) { SkWriter32 writer(0); uint32_t storage[256]; writer.reset(storage, sizeof(storage)); - // These three writes are small enough to fit in storage. test1(reporter, &writer); - REPORTER_ASSERT(reporter, writer.wroteOnlyToStorage()); writer.reset(storage, sizeof(storage)); test2(reporter, &writer); - REPORTER_ASSERT(reporter, writer.wroteOnlyToStorage()); writer.reset(storage, sizeof(storage)); testWritePad(reporter, &writer); - REPORTER_ASSERT(reporter, writer.wroteOnlyToStorage()); - // Try overflowing the storage-block. + // try overflowing the storage-block uint32_t smallStorage[8]; writer.reset(smallStorage, sizeof(smallStorage)); test2(reporter, &writer); - REPORTER_ASSERT(reporter, !writer.wroteOnlyToStorage()); } // small storage -- cgit v1.2.3