You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/04 13:44:38 UTC
[1/3] incubator-corinthia git commit: ready for test cases
Repository: incubator-corinthia
Updated Branches:
refs/heads/newZipExperiment2 f0ebf4c34 -> 6451ac0fe
ready for test cases
Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/d5c2bc0f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/d5c2bc0f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/d5c2bc0f
Branch: refs/heads/newZipExperiment2
Commit: d5c2bc0fce312cbbe634702e93a144da7edbd918
Parents: f0ebf4c
Author: jani <ja...@apache.org>
Authored: Tue Aug 4 09:58:55 2015 +0200
Committer: jani <ja...@apache.org>
Committed: Tue Aug 4 09:58:55 2015 +0200
----------------------------------------------------------------------
DocFormats/platform/src/Wrapper_zip.c | 43 ++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/d5c2bc0f/DocFormats/platform/src/Wrapper_zip.c
----------------------------------------------------------------------
diff --git a/DocFormats/platform/src/Wrapper_zip.c b/DocFormats/platform/src/Wrapper_zip.c
index dfec5ce..adc9b47 100644
--- a/DocFormats/platform/src/Wrapper_zip.c
+++ b/DocFormats/platform/src/Wrapper_zip.c
@@ -192,6 +192,46 @@ static void releaseMemory(DFextZipHandleP zipHandle) {
+static void writeGlobalDirAndEndRecord(DFextZipHandleP zipHandle) {
+ static const char comment[] = "generated by Corinthia";
+ ZipDirectoryRecord dirRecord;
+ ZipEndRecord endRecord;
+ int i;
+
+
+ // Prepare constant part of records
+ endRecord.signature = ZipEndRecord_signature;
+ endRecord.diskNumber = endRecord.centralDirectoryDiskNumber = endRecord.numEntriesThisDisk = 0;
+ endRecord.numEntries = zipHandle->zipFileCount;
+ endRecord.centralDirectoryOffset = ftell(zipHandle->zipFile);
+ endRecord.zipCommentLength = strlen(comment);
+
+ dirRecord.signature = ZipDirectoryRecord_signature;
+ dirRecord.versionMadeBy = ZLIB_VERNUM;
+ dirRecord.versionNeededToExtract = dirRecord.generalPurposeBitFlag = dirRecord.lastModFileTime =
+ dirRecord.lastModFileDate = dirRecord.crc32 = dirRecord.extraFieldLength =
+ dirRecord.fileCommentLength = dirRecord.diskNumberStart = dirRecord.internalFileAttributes =
+ dirRecord.externalFileAttributes = 0;
+
+ // loop through all directory entries, write to disk while collecting size
+ endRecord.centralDirectorySize = 0;
+ for (i = 0; i < zipHandle->zipFileCount; i++) {
+ dirRecord.compressionMethod = zipHandle->zipFileEntries[i].compressionMethod;
+ dirRecord.compressedSize = zipHandle->zipFileEntries[i].compressedSize;
+ dirRecord.uncompressedSize = zipHandle->zipFileEntries[i].uncompressedSize;
+ dirRecord.fileNameLength = strlen(zipHandle->zipFileEntries[i].fileName);
+ dirRecord.relativeOffsetOflocalHeader = zipHandle->zipFileEntries[i].offset;
+ endRecord.centralDirectorySize += sizeof(ZipDirectoryRecord) + dirRecord.fileNameLength;
+ fwrite(&dirRecord, 1, sizeof(ZipDirectoryRecord), zipHandle->zipFile);
+ fwrite(zipHandle->zipFileEntries[i].fileName, 1, dirRecord.fileNameLength, zipHandle->zipFile);
+ }
+
+ // and finally the end record
+ fwrite(&endRecord, 1, sizeof(ZipEndRecord), zipHandle->zipFile);
+}
+
+
+
DFextZipHandleP DFextZipOpen(const char *zipFilename) {
DFextZipHandleP zipHandle = xmalloc(sizeof(DFextZipHandle));
@@ -349,6 +389,9 @@ DFextZipDirEntryP DFextZipWriteFile(DFextZipHandleP zipHandle, const char *fileN
int DFextZipClose(DFextZipHandleP zipHandle)
{
+ if (zipHandle->zipFileCount)
+ writeGlobalDirAndEndRecord(zipHandle);
+
fclose(zipHandle->zipFile);
releaseMemory(zipHandle);
return 0;
[2/3] incubator-corinthia git commit: prepare one global zip test case
Posted by ja...@apache.org.
prepare one global zip test case
Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/d9576b03
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/d9576b03
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/d9576b03
Branch: refs/heads/newZipExperiment2
Commit: d9576b0363ae7b3cbfddb03bbdbd4d17035d5046
Parents: d5c2bc0
Author: jani <ja...@apache.org>
Authored: Tue Aug 4 12:40:23 2015 +0200
Committer: jani <ja...@apache.org>
Committed: Tue Aug 4 12:40:23 2015 +0200
----------------------------------------------------------------------
DocFormats/platform/tests/WrapperTests.c | 96 +++++++++------------------
1 file changed, 33 insertions(+), 63 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/d9576b03/DocFormats/platform/tests/WrapperTests.c
----------------------------------------------------------------------
diff --git a/DocFormats/platform/tests/WrapperTests.c b/DocFormats/platform/tests/WrapperTests.c
index 0af1599..2acf846 100644
--- a/DocFormats/platform/tests/WrapperTests.c
+++ b/DocFormats/platform/tests/WrapperTests.c
@@ -21,8 +21,38 @@
#include "DFPlatform.h"
+static const char * const zipNames1[] = {
+ "[Content_Types].xml",
+ "_rels / .rels",
+ "word / _rels / document.xml.rels",
+ "word / document.xml",
+ "word / theme / theme1.xml",
+ "word / settings.xml",
+ "word / fontTable.xml",
+ "word / webSettings.xml",
+ "docProps / app.xml",
+ "docProps / core.xml",
+ "word / styles.xml"
+};
+static const char * const zipNames2[] = {
+ "mimetype",
+ "Configurations2 / statusbar / ",
+ "Configurations2 / accelerator / current.xml",
+ "Configurations2 / floater / ",
+ "Configurations2 / popupmenu / ",
+ "Configurations2 / progressbar / ",
+ "Configurations2 / menubar / ",
+ "Configurations2 / toolbar / ",
+ "Configurations2 / images / Bitmaps / ",
+ "content.xml",
+ "styles.xml",
+ "meta.xml",
+ "Thumbnails / thumbnail.png",
+ "settings.xml",
+ "META - INF / manifest.xml"
+};
-static void test_DFextZipOpen(void)
+static void test_DFextZip(void)
{
DFextZipHandleP zip;
int i;
@@ -60,69 +90,9 @@ static void test_DFextZipOpen(void)
-static void test_DFextZipCreate(void)
-{
-#if 0
- int DFextZipOpen(const char *zipFilename, int doUnzip) {
-#endif
-}
-
-
-
-static void test_DFextZipClose(void)
-{
-#if 0
- int DFextZipClose(void)
-#endif
-}
-
-
-
-static void test_DFextZipOpenNextFile(void)
-{
-#if 0
- int DFextZipOpenNextFile(char *entryName, const int maxName)
-#endif
-}
-
-
-
-static void test_DFextZipCloseFile(void)
-{
-#if 0
- int DFextZipCloseFile(void)
-#endif
-}
-
-
-
-static void test_DFextZipReadCurrentFile(void)
-{
-#if 0
- int DFextZipReadCurrentFile(char *buf, const int maxLen)
-#endif
-}
-
-
-
-static void test_DFextZipWriteCurrentFile(void)
-{
-#if 0
- int DFextZipWriteCurrentFile(char *buf, const int len)
-#endif
-}
-
-
-
TestGroup PlatformWrapperTests = {
"platform.wrapper", {
- { "DFextZipOpen", PlainTest, test_DFextZipCreate },
- { "DFextZipOpen", PlainTest, test_DFextZipOpen },
- { "DFextZipClose", PlainTest, test_DFextZipClose },
- { "DFextZipOpenNextFile", PlainTest, test_DFextZipOpenNextFile },
- { "DFextZipCloseFile", PlainTest, test_DFextZipCloseFile },
- { "DFextZipReadCurrentFile", PlainTest, test_DFextZipReadCurrentFile },
- { "DFextZipWriteCurrentFile", PlainTest, test_DFextZipWriteCurrentFile },
- { NULL, PlainTest, NULL }
+ { "DFextZip", PlainTest, test_DFextZip },
+ { NULL, PlainTest, NULL }
}
};
[3/3] incubator-corinthia git commit: identify test files within zip
Posted by ja...@apache.org.
identify test files within zip
Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/6451ac0f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/6451ac0f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/6451ac0f
Branch: refs/heads/newZipExperiment2
Commit: 6451ac0fe80488b83002599ac3e5fd6cc7b64913
Parents: d9576b0
Author: jani <ja...@apache.org>
Authored: Tue Aug 4 13:35:25 2015 +0200
Committer: jani <ja...@apache.org>
Committed: Tue Aug 4 13:35:25 2015 +0200
----------------------------------------------------------------------
DocFormats/platform/tests/WrapperTests.c | 168 +++++++++++++++++++++++++-
1 file changed, 167 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/6451ac0f/DocFormats/platform/tests/WrapperTests.c
----------------------------------------------------------------------
diff --git a/DocFormats/platform/tests/WrapperTests.c b/DocFormats/platform/tests/WrapperTests.c
index 2acf846..cacfa1b 100644
--- a/DocFormats/platform/tests/WrapperTests.c
+++ b/DocFormats/platform/tests/WrapperTests.c
@@ -32,7 +32,8 @@ static const char * const zipNames1[] = {
"word / webSettings.xml",
"docProps / app.xml",
"docProps / core.xml",
- "word / styles.xml"
+ "word / styles.xml",
+ ""
};
static const char * const zipNames2[] = {
"mimetype",
@@ -50,8 +51,173 @@ static const char * const zipNames2[] = {
"Thumbnails / thumbnail.png",
"settings.xml",
"META - INF / manifest.xml"
+ ""
};
+static const char * const zipFiles1[] = {
+ /* file 1 "[Content_Types].xml" */
+ "< ? xml version = \"1.0\" encoding = \"UTF-8\" standalone = \"yes\" ? >\n"
+ "<Types xmlns = \"http://schemas.openxmlformats.org/package/2006/content-types\"><Default Extension = \"rels\" ContentType = \"application"
+ "/vnd.openxmlformats-package.relationships+xml\" / ><Default Extension = \"xml\" ContentType = \"application/xml\" / ><Override PartName ="
+ " \"/word/document.xml\" ContentType = \"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\" / ><Override P"
+ "artName = \"/word/styles.xml\" ContentType = \"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\" / ><Override P"
+ "artName = \"/word/settings.xml\" ContentType = \"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\" / ><Overri"
+ "de PartName = \"/word/webSettings.xml\" ContentType = \"application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml\" "
+ "/ ><Override PartName = \"/word/fontTable.xml\" ContentType = \"application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+"
+ "xml\" / ><Override PartName = \"/word/theme/theme1.xml\" ContentType = \"application/vnd.openxmlformats-officedocument.theme+xml\" / ><Ov"
+ "erride PartName = \"/docProps/core.xml\" ContentType = \"application/vnd.openxmlformats-package.core-properties+xml\" / ><Override PartNa"
+ "me = \"/docProps/app.xml\" ContentType = \"application/vnd.openxmlformats-officedocument.extended-properties+xml\" / >< / Types>",
+
+ /* file 2 "_rels / .rels" */
+ "< ? xml version = \"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n"
+ "<Relationships xmlns = \"http://schemas.openxmlformats.org/package/2006/relationships\"><Relationship Id=\"rId3\" Type=\"http://schemas.o"
+ "penxmlformats.org/officeDocument/2006/relationships/extended-properties\" Target=\"docProps/app.xml\"/><Relationship Id=\"rId2\" Type=\"h"
+ "ttp://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties\" Target=\"docProps/core.xml\"/><Relationship Id=\"r"
+ "Id1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\" Target=\"word/document.xml\"/></Relatio"
+ "nships>",
+
+ /* file 3 "word / _rels / document.xml.rels" */
+ "< ? xml version = \"1.0\" encoding = \"UTF-8\" standalone = \"yes\" ? >\n"
+ "<Relationships xmlns = \"http://schemas.openxmlformats.org/package/2006/relationships\"><Relationship Id = \"rId3\" Type = \"http://schem"
+ "as.openxmlformats.org/officeDocument/2006/relationships/webSettings\" Target = \"webSettings.xml\" / ><Relationship Id = \"rId2\" Type = "
+ "\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings\" Target = \"settings.xml\" / ><Relationship Id = \"rId1\""
+ " Type = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles\" Target = \"styles.xml\" / ><Relationship Id = \"rI"
+ "d5\" Type = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\" Target = \"theme/theme1.xml\" / ><Relationship "
+ "Id = \"rId4\" Type = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable\" Target = \"fontTable.xml\" / >< / "
+ "Relationships>",
+
+ /* file 4 "word / document.xml" */
+ "< ? xml version = \"1.0\" encoding = \"UTF-8\" standalone = \"yes\" ? >\n"
+ "<w:document xmlns : wpc = \"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas\" xmlns : mc = \"http://schemas.openxmlfor"
+ "mats.org/markup-compatibility/2006\" xmlns : o = \"urn:schemas-microsoft-com:office:office\" xmlns : r = \"http://schemas.openxmlformats."
+ "org/officeDocument/2006/relationships\" xmlns : m = \"http://schemas.openxmlformats.org/officeDocument/2006/math\" xmlns : v = \"urn:sche"
+ "mas-microsoft-com:vml\" xmlns : wp14 = \"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing\" xmlns : wp = \"http://sche"
+ "mas.openxmlformats.org/drawingml/2006/wordprocessingDrawing\" xmlns : w10 = \"urn:schemas-microsoft-com:office:word\" xmlns : w = \"http:"
+ "//schemas.openxmlformats.org/wordprocessingml/2006/main\" xmlns : w14 = \"http://schemas.microsoft.com/office/word/2010/wordml\" xmlns : "
+ "w15 = \"http://schemas.microsoft.com/office/word/2012/wordml\" xmlns : wpg = \"http://schemas.microsoft.com/office/word/2010/wordprocessi"
+ "ngGroup\" xmlns : wpi = \"http://schemas.microsoft.com/office/word/2010/wordprocessingInk\" xmlns : wne = \"http://schemas.microsoft.com/"
+ "office/word/2006/wordml\" xmlns : wps = \"http://schemas.microsoft.com/office/word/2010/wordprocessingShape\" mc : Ignorable = \"w14 w15 "
+ "wp14\"><w:body><w:p w : rsidR = \"00932A4D\" w : rsidRDefault = \"00932A4D\"><w:pPr><w:rPr><w:noProof / >< / w:rPr>< / w:pPr><w:r><w:rPr>"
+ "<w:noProof / >< / w:rPr><w:t xml : space = \"preserve\">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. < / w:t>< / w:r><w:r w "
+ ": rsidRPr = \"00932A4D\"><w:rPr><w:noProof / ><w:lang w : val = \"es-ES\" / >< / w:rPr><w:t xml : space = \"preserve\">Maecenas porttitor"
+ " congue massa.Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna.Nunc vive"
+ "rra imperdiet enim.Fusce est.Vivamus a tellus.Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egesta"
+ "s. < / w:t>< / w:r><w:r><w:rPr><w:noProof / >< / w:rPr><w:t>Proin pharetra nonummy pede.Mauris et orci.Aenean nec lorem.< / w:t>< / w:r><"
+ " / w:p><w:p w : rsidR = \"00932A4D\" w : rsidRDefault = \"00932A4D\"><w:pPr><w:rPr><w:noProof / >< / w:rPr>< / w:pPr><w:r><w:rPr><w:noPro"
+ "of / >< / w:rPr><w:t>In porttitor.Donec laoreet nonummy augue.Suspendisse dui purus, scelerisque at, vulputate vitae, pretium mattis, nun"
+ "c.Mauris eget neque at sem venenatis eleifend.Ut nonummy.Fusce aliquet pede non pede.Suspendisse dapibus lorem pellentesque magna.Integer"
+ " nulla.Donec blandit feugiat ligula.Donec hendrerit, felis et imperdiet euismod, purus ipsum pretium metus, in lacinia nulla nisl eget sa"
+ "pien.< / w:t>< / w:r>< / w:p><w:p w : rsidR = \"00932A4D\" w : rsidRDefault = \"00932A4D\"><w:pPr><w:rPr><w:noProof / >< / w:rPr>< / w:pP"
+ "r><w:r><w:rPr><w:noProof / >< / w:rPr><w:t xml : space = \"preserve\">Donec ut est in lectus consequat consequat.Etiam eget dui.Aliquam e"
+ "rat volutpat.Sed at lorem in nunc porta tristique.Proin nec augue. < / w:t>< / w:r><w:r w : rsidRPr = \"00932A4D\"><w:rPr><w:noProof / ><"
+ "w:lang w : val = \"es-ES\" / >< / w:rPr><w:t xml : space = \"preserve\">Quisque aliquam tempor magna.Pellentesque habitant morbi tristiqu"
+ "e senectus et netus et malesuada fames ac turpis egestas.Nunc ac magna.Maecenas odio dolor, vulputate vel, auctor ac, accumsan id, felis."
+ " < / w:t>< / w:r><w:r><w:rPr><w:noProof / >< / w:rPr><w:t>Pellentesque cursus sagittis felis.< / w:t>< / w:r>< / w:p><w:p w : rsidR = \"0"
+ "0932A4D\" w : rsidRDefault = \"00932A4D\"><w:pPr><w:rPr><w:noProof / >< / w:rPr>< / w:pPr><w:r w : rsidRPr = \"00932A4D\"><w:rPr><w:noPro"
+ "of / ><w:lang w : val = \"es-ES\" / >< / w:rPr><w:t xml : space = \"preserve\">Pellentesque porttitor, velit lacinia egestas auctor, diam"
+ " eros tempus arcu, nec vulputate augue magna vel risus.Cras non magna vel ante adipiscing rhoncus.Vivamus a mi.Morbi neque.Aliquam erat v"
+ "olutpat.Integer ultrices lobortis eros.Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.Proin"
+ " semper, ante vitae sollicitudin posuere, metus quam iaculis nibh, vitae scelerisque nunc massa eget pede.Sed velit urna, interdum vel, u"
+ "ltricies vel, faucibus at, quam. < / w:t>< / w:r><w:r><w:rPr><w:noProof / >< / w:rPr><w:t>Donec elit est, consectetuer eget, consequat qu"
+ "is, tempus quis, wisi.< / w:t>< / w:r>< / w:p><w:p w : rsidR = \"00932A4D\" w : rsidRDefault = \"00932A4D\"><w:pPr><w:rPr><w:noProof / ><"
+ "/ w:rPr>< / w:pPr><w:r><w:rPr><w:noProof / >< / w:rPr><w:t>In in nunc.Class aptent taciti sociosqu ad litora torquent per conubia nostra,"
+ " per inceptos hymenaeos.Donec ullamcorper fringilla eros.Fusce in sapien eu purus dapibus commodo.Cum sociis natoque penatibus et magnis "
+ "dis parturient montes, nascetur ridiculus mus.Cras faucibus condimentum odio.Sed ac ligula.Aliquam at eros.Etiam at ligula et tellus ulla"
+ "mcorper ultrices.In fermentum, lorem non cursus porttitor, diam urna accumsan lacus, sed interdum wisi nibh nec nisl.< / w:t>< / w:r>< / "
+ "w:p><w:p w : rsidR = \"00932A4D\" w : rsidRPr = \"00932A4D\" w : rsidRDefault = \"00932A4D\"><w:pPr><w:rPr><w:noProof / ><w:lang w : val "
+ "= \"es-ES\" / >< / w:rPr>< / w:pPr><w:r><w:rPr><w:noProof / >< / w:rPr><w:t xml : space = \"preserve\">Ut tincidunt volutpat urna.Mauris "
+ "eleifend nulla eget mauris.Sed cursus quam id felis. < / w:t>< / w:r><w:r w : rsidRPr = \"00932A4D\"><w:rPr><w:noProof / ><w:lang w : val"
+ " = \"es-ES\" / >< / w:rPr><w:t>Curabitur posuere quam vel nibh.Cras dapibus dapibus nisl.Vestibulum quis dolor a felis congue vehicula.Ma"
+ "ecenas pede purus, tristique ac, tempus eget, egestas quis, mauris.Curabitur non eros.Nullam hendrerit bibendum justo.Fusce iaculis, est "
+ "quis lacinia pretium, pede metus molestie lacus, at gravida wisi ante at libero.< / w:t>< / w:r>< / w:p><w:p w : rsidR = \"00932A4D\" w :"
+ " rsidRPr = \"00932A4D\" w : rsidRDefault = \"00932A4D\"><w:pPr><w:rPr><w:noProof / ><w:lang w : val = \"es-ES\" / >< / w:rPr>< / w:pPr><w"
+ ":r w : rsidRPr = \"00932A4D\"><w:rPr><w:noProof / ><w:lang w : val = \"es-ES\" / >< / w:rPr><w:t>Quisque ornare placerat risus.Ut molesti"
+ "e magna at mi.Integer aliquet mauris et nibh.Ut mattis ligula posuere velit.Nunc sagittis.Curabitur varius fringilla nisl.Duis pretium mi"
+ " euismod erat.Maecenas id augue.Nam vulputate.Duis a quam non neque lobortis malesuada.< / w:t>< / w:r>< / w:p><w:p w : rsidR = \"00932A4"
+ "D\" w : rsidRPr = \"00932A4D\" w : rsidRDefault = \"00932A4D\"><w:pPr><w:rPr><w:noProof / ><w:lang w : val = \"es-ES\" / >< / w:rPr>< / w"
+ ":pPr><w:r w : rsidRPr = \"00932A4D\"><w:rPr><w:noProof / ><w:lang w : val = \"es-ES\" / >< / w:rPr><w:t>Praesent euismod.Donec nulla augu"
+ "e, venenatis scelerisque, dapibus a, consequat at, leo.Pellentesque libero lectus, tristique ac, consectetuer sit amet, imperdiet ut, jus"
+ "to.Sed aliquam odio vitae tortor.Proin hendrerit tempus arcu.In hac habitasse platea dictumst.Suspendisse potenti.Vivamus vitae massa adi"
+ "piscing est lacinia sodales.Donec metus massa, mollis vel, tempus placerat, vestibulum condimentum, ligula.Nunc lacus metus, posuere eget"
+ ", lacinia eu, varius quis, libero.< / w:t>< / w:r><w:bookmarkStart w : id = \"0\" w : name = \"_GoBack\" / ><w:bookmarkEnd w : id = \"0\""
+ "/ >< / w:p><w:sectPr w : rsidR = \"00932A4D\" w : rsidRPr = \"00932A4D\"><w:pgSz w : w = \"12240\" w : h = \"15840\" / ><w:pgMar w : top "
+ "= \"1440\" w : right = \"1440\" w : bottom = \"1440\" w : left = \"1440\" w : header = \"720\" w : footer = \"720\" w : gutter = \"0\" / "
+ "><w:cols w : space = \"720\" / ><w:docGrid w : linePitch = \"360\" / >< / w:sectPr>< / w:body>< / w:document>",
+
+ /* file 5 "word / theme / theme1.xml" */
+
+
+ /* file 6 "word / settings.xml" */
+
+
+ /* file 7 "word / fontTable.xml" */
+
+
+ /* file 8 "word / webSettings.xml" */
+
+
+ /* file 9 "docProps / app.xml" */
+
+
+ /* file 10 "docProps / core.xml" */
+
+
+ /* file 11 "word / styles.xml" */
+
+
+ /* TERMINATION */
+ ""
+};
+static const char * const zipFiles2[] = {
+ /* file 1 "mimetype" */
+
+
+ /* file 2 "Configurations2 / statusbar / " */
+
+
+ /* file 3 "Configurations2 / accelerator / current.xml" */
+
+
+ /* file 4 "Configurations2 / floater / " */
+
+
+ /* file 5 "Configurations2 / popupmenu / " */
+
+
+ /* file 6 "Configurations2 / progressbar / " */
+
+
+ /* file 7 "Configurations2 / menubar / " */
+
+
+ /* file 8 "Configurations2 / toolbar / " */
+
+
+ /* file 9 "Configurations2 / images / Bitmaps / " */
+
+
+ /* file 10 "content.xml" */
+
+
+ /* file 11 "styles.xml" */
+
+
+ /* file 12 "meta.xml" */
+
+
+ /* file 13 "Thumbnails / thumbnail.png" */
+
+
+ /* file 14 "settings.xml" */
+
+
+ /* file 15 "META - INF / manifest.xml" */
+
+ /* TERMINATION */
+ ""
+};
+
+
static void test_DFextZip(void)
{
DFextZipHandleP zip;