commit | 50e82e61766d22da5238905916a8abc3e6664060 | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Mon Mar 21 13:45:05 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 21 13:45:05 2016 -0700 |
tree | 2370de762b461c22a0ef7123e2e5b5d8061010b5 | |
parent | b4bd11e66519f545282f914c67b54bf17cecab84 [diff] [blame] |
SkPDF: SkPDFDocument reorganized so that some objects can be serialized early. No change in output. BUG=skia:5087 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1802033003 Review URL: https://codereview.chromium.org/1802033003
diff --git a/tests/PDFDocumentTest.cpp b/tests/PDFDocumentTest.cpp index 995e35f..98d1864 100644 --- a/tests/PDFDocumentTest.cpp +++ b/tests/PDFDocumentTest.cpp
@@ -33,7 +33,8 @@ doc->abort(); - REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); + // Test that only the header is written, not the full document. + REPORTER_ASSERT(reporter, stream.bytesWritten() < 256); } static void test_abortWithFile(skiatest::Reporter* reporter) {