From 25b56107ef349726f74b27de2d491ac3fc5d36ca Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 22 Oct 2018 20:35:17 +0000 Subject: Call last uncovered document methods. Test-only CL. Change-Id: Ica1613c42075adb5fedfef6d66d99095cef08655 Reviewed-on: https://pdfium-review.googlesource.com/c/44410 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- testing/resources/javascript/document_methods.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testing/resources/javascript/document_methods.in') diff --git a/testing/resources/javascript/document_methods.in b/testing/resources/javascript/document_methods.in index be4bf63b64..87118091c1 100644 --- a/testing/resources/javascript/document_methods.in +++ b/testing/resources/javascript/document_methods.in @@ -134,7 +134,8 @@ function testCalculateNow() { expect('typeof this.calculateNow', 'function'); // TODO(tsepez): test with no permissions. - // TODO(tsepez): test success cases. + + expect('this.calculateNow()', undefined) } function testGetAnnot() { @@ -214,7 +215,8 @@ function testGetPageNthWordQuads() { expect('typeof this.getPageNthWordQuads', 'function'); // TODO(tsepez): test with no permissions. - // TODO(tsepez): test success cases. + + expectError('this.getPageNthWordQuads()'); } function testGetPageNumWords() { @@ -350,6 +352,7 @@ try { testUnsupported('this.exportAsXFDF'); testUnsupported('this.extractPages'); testUnsupported('this.getAnnot3D'); + testUnsupported('this.getAnnots3D'); testUnsupported('this.getLinks'); testUnsupported('this.getOCGs'); testUnsupported('this.getPageBox'); -- cgit v1.2.3