diff options
author | mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-24 19:11:15 +0000 |
---|---|---|
committer | mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-24 19:11:15 +0000 |
commit | 5174286bc5697e290d052fed994e8759fa5a4ed3 (patch) | |
tree | f48b740e82eb61dd908bd7353673f0eace24f5a6 /tests | |
parent | cae5d8d5705081cb4d22af7a30be0f01bffce745 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Writer32Test.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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 |