From 43c52fe7eca0b7195c830442f21bff0431052493 Mon Sep 17 00:00:00 2001 From: Robert Theis Date: Sun, 14 May 2017 12:05:54 -0700 Subject: [PATCH] Update test to check BeginDocument return value --- .../googlecode/tesseract/android/test/TessPdfRendererTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tess-two-test/src/com/googlecode/tesseract/android/test/TessPdfRendererTest.java b/tess-two-test/src/com/googlecode/tesseract/android/test/TessPdfRendererTest.java index 39fc0a61d..a5a4a25cf 100644 --- a/tess-two-test/src/com/googlecode/tesseract/android/test/TessPdfRendererTest.java +++ b/tess-two-test/src/com/googlecode/tesseract/android/test/TessPdfRendererTest.java @@ -75,7 +75,7 @@ public void testAddPageToDocument() throws IOException { // Start the PDF writing process. boolean beginSuccess = baseApi.beginDocument(pdfRenderer, "title"); - // assertTrue(beginSuccess); + assertTrue(beginSuccess); // Add a page to the PDF. final Pix pixOne = getTextImage("page one", 640, 480);