From 807904a1ecf44c61e57e3f655b63719ee0ee621c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?RALOVICH,=20Krist=C3=B3f?= Date: Sat, 30 Jan 2010 18:44:48 -0500 Subject: [PATCH] Add OpenDocument Flat XML test cases. --- tests/list | 5 + tests/ooo-test.fodg | 450 +++++++++++++++++++ tests/ooo-test.fodp | 1207 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/ooo-test.fods | 292 +++++++++++++ tests/ooo-test.fodt | 360 +++++++++++++++ 5 files changed, 2314 insertions(+), 0 deletions(-) create mode 100644 tests/ooo-test.fodg create mode 100644 tests/ooo-test.fodp create mode 100644 tests/ooo-test.fods create mode 100644 tests/ooo-test.fodt diff --git a/tests/list b/tests/list index 126282d..3a71894 100644 --- a/tests/list +++ b/tests/list @@ -76,6 +76,11 @@ ooo-test.odg application/vnd.oasis.opendocument.graphics ooo-test.odp application/vnd.oasis.opendocument.presentation ooo-test.ods application/vnd.oasis.opendocument.spreadsheet ooo-test.odt application/vnd.oasis.opendocument.text +# OpenDocument/OpenOffice.org flat XML +ooo-test.fodg application/vnd.oasis.opendocument.graphics-flat-xml +ooo-test.fodp application/vnd.oasis.opendocument.presentation-flat-xml +ooo-test.fods application/vnd.oasis.opendocument.spreadsheet-flat-xml +ooo-test.fodt application/vnd.oasis.opendocument.text-flat-xml # Copied from https://bugs.freedesktop.org/show_bug.cgi?id=20604 foo.doc application/msword # Copied from http://bugzilla.abisource.com/show_bug.cgi?id=6435 diff --git a/tests/ooo-test.fodg b/tests/ooo-test.fodg new file mode 100644 index 0000000..e28ee23 --- /dev/null +++ b/tests/ooo-test.fodg @@ -0,0 +1,450 @@ + + + + 2010-01-10T13:58:46 + 2010-01-10T13:59:13 + PT00H00M28S + 1 + OpenOffice.org/3.2$Unix OpenOffice.org_project/320m8$Build-9472 + + + + + -423 + -11748 + 45579 + 29069 + + + view1 + false + false + true + true + false + false + false + false + true + 1500 + false + //////////////////////////////////////////8= + //////////////////////////////////////////8= + + false + true + true + 0 + 0 + true + true + true + false + 4 + 0 + 0 + 1 + -423 + -11748 + 45580 + 29070 + 1270 + 1270 + 635 + 635 + 635 + 1 + 635 + 1 + false + 1500 + true + + + + + true + $(user)/config/standard.sob + 0 + $(user)/config/standard.soc + $(user)/config/standard.sod + 1270 + $(user)/config/standard.sog + $(user)/config/standard.soh + false + false + true + true + false + false + true + false + false + false + $(user)/config/standard.soe + false + 7 + 4 + false + 0 + low-resolution + + + false + 1 + 1 + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is test document. + + + + + + \ No newline at end of file diff --git a/tests/ooo-test.fodp b/tests/ooo-test.fodp new file mode 100644 index 0000000..4e9b802 --- /dev/null +++ b/tests/ooo-test.fodp @@ -0,0 +1,1207 @@ + + + + 2010-01-10T13:57:49 + PT00H00M33S + 2 + 2010-01-10T13:58:18 + OpenOffice.org/3.2$Unix OpenOffice.org_project/320m8$Build-9472 + + + + + -1784 + -423 + 29210 + 24886 + + + view1 + false + false + true + true + false + false + false + false + true + 1500 + false + //////////////////////////////////////////8= + //////////////////////////////////////////8= + + false + true + false + 0 + 0 + false + true + true + false + 4 + 0 + 0 + 1 + -1784 + -423 + 29211 + 24887 + 1270 + 1270 + 635 + 635 + 635 + 1 + 635 + 1 + false + 1500 + true + + + + + true + $(user)/config/standard.sob + 0 + $(user)/config/standard.soc + $(user)/config/standard.sod + 1270 + + + en + US + + + + + + $(user)/config/standard.sog + true + $(user)/config/standard.soh + false + false + true + true + false + true + false + false + true + false + false + false + false + false + $(user)/config/standard.soe + false + 4 + false + 0 + low-resolution + + + false + 6 + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <number> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <number> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <number> + + + + + + + + + + + + This is a test document. + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/ooo-test.fods b/tests/ooo-test.fods new file mode 100644 index 0000000..3eb6382 --- /dev/null +++ b/tests/ooo-test.fods @@ -0,0 +1,292 @@ + + + + 2010-01-10T13:56:44 + 2010-01-10T13:57:15 + PT00H00M31S + 1 + OpenOffice.org/3.2$Unix OpenOffice.org_project/320m8$Build-9472 + + + + + 0 + 0 + 2258 + 455 + + + View1 + + + 0 + 1 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 100 + 60 + true + + + Sheet1 + 270 + 0 + 100 + 60 + false + true + true + true + 12632256 + true + true + true + true + false + false + 1270 + 1270 + 1 + 1 + true + + + + + true + false + 3 + + 1 + true + 1 + true + true + true + 1270 + 1270 + 12632256 + false + true + false + false + + true + 0 + true + true + false + true + true + false + true + + + + + + + + + + + + + + + + + + + + + + + + $ + + + + + - + $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + Page 1 + + + + + + + + + ??? (???) + + + + 01/10/2010, 13:57:30 + + + + + + Page 1 / 99 + + + + + + + + + + + + This is a test document. + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/ooo-test.fodt b/tests/ooo-test.fodt new file mode 100644 index 0000000..6464f7d --- /dev/null +++ b/tests/ooo-test.fodt @@ -0,0 +1,360 @@ + + + + 2010-01-10T13:49:40 + + 2010-01-10T13:53:29 + PT00H03M51S + 1 + OpenOffice.org/3.2$Unix OpenOffice.org_project/320m8$Build-9472 + + + + 0 + 0 + 34376 + 18099 + true + false + + + view2 + 12402 + 3002 + 0 + 0 + 34375 + 18098 + 0 + 0 + false + 100 + false + + + + + true + false + false + true + false + false + true + false + 1 + true + + true + false + + false + true + true + true + false + + false + true + true + true + false + 0 + false + + false + false + false + false + false + 0 + + false + false + false + true + 0 + true + true + false + false + false + true + true + false + false + false + false + false + true + high-resolution + + false + false + true + true + false + false + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is a test document. + + + \ No newline at end of file -- 1.6.6