[iOS] Add layout tests for QuickLook
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Sep 2015 16:56:14 +0000 (16:56 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Sep 2015 16:56:14 +0000 (16:56 +0000)
commitf6ab8a885eb818c1542416c5025f603f930a0079
tree5bd5cc486765c159511eb2e80171a68acc981404
parent39bb740eb791a346de7d45c1876dc97589a5d623
[iOS] Add layout tests for QuickLook
https://bugs.webkit.org/show_bug.cgi?id=148994

Reviewed by Daniel Bates.

Add tests that verify WebKit's ability to preview certain document types on iOS using QuickLook.framework.
These tests do not cover every document type supported by QuickLook, but they do cover common types like .pages,
.numbers, .key, .doc(x), .xls(x), and .ppt(x). These tests should detect regressions in WebKit's conversion code,
as well as regressions in QuickLook itself. The expected results might need to be occasionally updated if QuickLook
changes its preview markup.

These files contain text and images from webkit.org.

* TestExpectations: Skipped quicklook tests on all platforms.
* platform/ios-simulator/TestExpectations: Enabled quicklook tests on iOS.
* quicklook/excel-expected.html: Added.
* quicklook/excel-legacy-expected.html: Added.
* quicklook/excel-legacy.html: Added.
* quicklook/excel.html: Added.
* quicklook/keynote-09-expected.html: Added.
* quicklook/keynote-09.html: Added.
* quicklook/keynote-expected.html: Added.
* quicklook/keynote.html: Added.
* quicklook/numbers-09-expected.html: Added.
* quicklook/numbers-09.html: Added.
* quicklook/numbers-expected.html: Added.
* quicklook/numbers.html: Added.
* quicklook/pages-09-expected.html: Added.
* quicklook/pages-09.html: Added.
* quicklook/pages-expected.html: Added.
* quicklook/pages.html: Added.
* quicklook/powerpoint-expected.html: Added.
* quicklook/powerpoint-legacy-expected.html: Added.
* quicklook/powerpoint-legacy.html: Added.
* quicklook/powerpoint.html: Added.
* quicklook/resources/excel-expected.html: Added.
* quicklook/resources/excel-legacy-expected.html: Added.
* quicklook/resources/excel-legacy.xls: Added.
* quicklook/resources/excel.xlsx: Added.
* quicklook/resources/keynote-09-expected/index.css: Added.
* quicklook/resources/keynote-09-expected/index.html: Added.
* quicklook/resources/keynote-09-expected/index.js: Added.
* quicklook/resources/keynote-09.key: Added.
* quicklook/resources/keynote-expected.pdf: Added.
* quicklook/resources/keynote.key: Added.
* quicklook/resources/numbers-09-expected/canvas.js: Added.
* quicklook/resources/numbers-09-expected/index.html: Added.
* quicklook/resources/numbers-09-expected/navigation.css: Added.
* quicklook/resources/numbers-09-expected/navigation.html: Added.
* quicklook/resources/numbers-09-expected/sheet_1.html: Added.
* quicklook/resources/numbers-09.numbers: Added.
* quicklook/resources/numbers-expected.pdf: Added.
* quicklook/resources/numbers.numbers: Added.
* quicklook/resources/pages-09-expected/index.css: Added.
* quicklook/resources/pages-09-expected/index.html: Added.
* quicklook/resources/pages-09.pages: Added.
* quicklook/resources/pages-expected.pdf: Added.
* quicklook/resources/pages.pages: Added.
* quicklook/resources/powerpoint-expected.html: Added.
* quicklook/resources/powerpoint-legacy-expected.html: Added.
* quicklook/resources/powerpoint-legacy.ppt: Added.
* quicklook/resources/powerpoint.pptx: Added.
* quicklook/resources/webkit-icon.pdf: Added.
* quicklook/resources/webkit-icon.png: Added.
* quicklook/resources/webkit-icon.tiff: Added.
* quicklook/resources/word-expected.html: Added.
* quicklook/resources/word-legacy-expected.html: Added.
* quicklook/resources/word-legacy.doc: Added.
* quicklook/resources/word.docx: Added.
* quicklook/word-expected.html: Added.
* quicklook/word-legacy-expected.html: Added.
* quicklook/word-legacy.html: Added.
* quicklook/word.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
61 files changed:
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/platform/ios-simulator/TestExpectations
LayoutTests/quicklook/excel-expected.html [new file with mode: 0644]
LayoutTests/quicklook/excel-legacy-expected.html [new file with mode: 0644]
LayoutTests/quicklook/excel-legacy.html [new file with mode: 0644]
LayoutTests/quicklook/excel.html [new file with mode: 0644]
LayoutTests/quicklook/keynote-09-expected.html [new file with mode: 0644]
LayoutTests/quicklook/keynote-09.html [new file with mode: 0644]
LayoutTests/quicklook/keynote-expected.html [new file with mode: 0644]
LayoutTests/quicklook/keynote.html [new file with mode: 0644]
LayoutTests/quicklook/numbers-09-expected.html [new file with mode: 0644]
LayoutTests/quicklook/numbers-09.html [new file with mode: 0644]
LayoutTests/quicklook/numbers-expected.html [new file with mode: 0644]
LayoutTests/quicklook/numbers.html [new file with mode: 0644]
LayoutTests/quicklook/pages-09-expected.html [new file with mode: 0644]
LayoutTests/quicklook/pages-09.html [new file with mode: 0644]
LayoutTests/quicklook/pages-expected.html [new file with mode: 0644]
LayoutTests/quicklook/pages.html [new file with mode: 0644]
LayoutTests/quicklook/powerpoint-expected.html [new file with mode: 0644]
LayoutTests/quicklook/powerpoint-legacy-expected.html [new file with mode: 0644]
LayoutTests/quicklook/powerpoint-legacy.html [new file with mode: 0644]
LayoutTests/quicklook/powerpoint.html [new file with mode: 0644]
LayoutTests/quicklook/resources/excel-expected.html [new file with mode: 0644]
LayoutTests/quicklook/resources/excel-legacy-expected.html [new file with mode: 0644]
LayoutTests/quicklook/resources/excel-legacy.xls [new file with mode: 0644]
LayoutTests/quicklook/resources/excel.xlsx [new file with mode: 0644]
LayoutTests/quicklook/resources/keynote-09-expected/index.css [new file with mode: 0644]
LayoutTests/quicklook/resources/keynote-09-expected/index.html [new file with mode: 0644]
LayoutTests/quicklook/resources/keynote-09-expected/index.js [new file with mode: 0644]
LayoutTests/quicklook/resources/keynote-09.key [new file with mode: 0644]
LayoutTests/quicklook/resources/keynote-expected.pdf [new file with mode: 0644]
LayoutTests/quicklook/resources/keynote.key [new file with mode: 0644]
LayoutTests/quicklook/resources/numbers-09-expected/canvas.js [new file with mode: 0644]
LayoutTests/quicklook/resources/numbers-09-expected/index.html [new file with mode: 0644]
LayoutTests/quicklook/resources/numbers-09-expected/navigation.css [new file with mode: 0644]
LayoutTests/quicklook/resources/numbers-09-expected/navigation.html [new file with mode: 0644]
LayoutTests/quicklook/resources/numbers-09-expected/sheet_1.html [new file with mode: 0644]
LayoutTests/quicklook/resources/numbers-09.numbers [new file with mode: 0644]
LayoutTests/quicklook/resources/numbers-expected.pdf [new file with mode: 0644]
LayoutTests/quicklook/resources/numbers.numbers [new file with mode: 0644]
LayoutTests/quicklook/resources/pages-09-expected/index.css [new file with mode: 0644]
LayoutTests/quicklook/resources/pages-09-expected/index.html [new file with mode: 0644]
LayoutTests/quicklook/resources/pages-09.pages [new file with mode: 0644]
LayoutTests/quicklook/resources/pages-expected.pdf [new file with mode: 0644]
LayoutTests/quicklook/resources/pages.pages [new file with mode: 0644]
LayoutTests/quicklook/resources/powerpoint-expected.html [new file with mode: 0644]
LayoutTests/quicklook/resources/powerpoint-legacy-expected.html [new file with mode: 0644]
LayoutTests/quicklook/resources/powerpoint-legacy.ppt [new file with mode: 0644]
LayoutTests/quicklook/resources/powerpoint.pptx [new file with mode: 0644]
LayoutTests/quicklook/resources/webkit-icon.pdf [new file with mode: 0644]
LayoutTests/quicklook/resources/webkit-icon.png [new file with mode: 0644]
LayoutTests/quicklook/resources/webkit-icon.tiff [new file with mode: 0644]
LayoutTests/quicklook/resources/word-expected.html [new file with mode: 0644]
LayoutTests/quicklook/resources/word-legacy-expected.html [new file with mode: 0644]
LayoutTests/quicklook/resources/word-legacy.doc [new file with mode: 0644]
LayoutTests/quicklook/resources/word.docx [new file with mode: 0644]
LayoutTests/quicklook/word-expected.html [new file with mode: 0644]
LayoutTests/quicklook/word-legacy-expected.html [new file with mode: 0644]
LayoutTests/quicklook/word-legacy.html [new file with mode: 0644]
LayoutTests/quicklook/word.html [new file with mode: 0644]