From 39681d4c1cd19f593e5fcf3162949243a11d2936 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 16 Jun 2011 14:38:51 +0100 Subject: add another rtf regression test --- sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf | Bin 0 -> 62422 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf (limited to 'sw/qa') diff --git a/sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf b/sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf new file mode 100644 index 000000000000..126a1ad732b9 Binary files /dev/null and b/sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf differ -- cgit From 660b629785ec5386c3efc150d62a6794a58bf7f5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 17 Jun 2011 01:00:31 +0100 Subject: add some more rtf tests --- sw/qa/core/data/rtf/fail/.gitignore | 0 sw/qa/core/data/rtf/fail/CVE-2005-2971-1.rtf | 11 ++++++ sw/qa/core/data/rtf/pass/CVE-2005-2964.rtf | 11 ++++++ sw/qa/core/data/rtf/pass/CVE-2005-2972-1.rtf | 57 +++++++++++++++++++++++++++ sw/qa/core/data/rtf/pass/CVE-2005-2972-2.rtf | 57 +++++++++++++++++++++++++++ sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf | Bin 62422 -> 11289 bytes 6 files changed, 136 insertions(+) delete mode 100644 sw/qa/core/data/rtf/fail/.gitignore create mode 100644 sw/qa/core/data/rtf/fail/CVE-2005-2971-1.rtf create mode 100644 sw/qa/core/data/rtf/pass/CVE-2005-2964.rtf create mode 100644 sw/qa/core/data/rtf/pass/CVE-2005-2972-1.rtf create mode 100644 sw/qa/core/data/rtf/pass/CVE-2005-2972-2.rtf (limited to 'sw/qa') diff --git a/sw/qa/core/data/rtf/fail/.gitignore b/sw/qa/core/data/rtf/fail/.gitignore deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/sw/qa/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stylesheet{\s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af2\afs24\langfe255\loch\f0\fs24\lang1033\snext1 Default;} +} +{\info{\comment StarWriter}{\vern6410}}\deftab1250 +{\*\pgdsctbl +{\pgdsc0\pgdscuse195\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\pgdscnxt0 Default;}} +\paperh15840\paperw12240\margl1800\margr1800\margt1440\margb1440\sectd\sbknone\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc +\pard\plain \s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af2\afs24\langfe255\loch\f0\fs24\lang1033 {\ltrch\loch\f0 hello} +\par } diff --git a/sw/qa/core/data/rtf/pass/CVE-2005-2964.rtf b/sw/qa/core/data/rtf/pass/CVE-2005-2964.rtf new file mode 100644 index 000000000000..bf61eeade2a3 --- /dev/null +++ b/sw/qa/core/data/rtf/pass/CVE-2005-2964.rtf @@ -0,0 +1,11 @@ +{\rtf1\ansi\deff0\adeflang1025 +{\fonttbl{\f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfroman\fprq2\fcharset0 Nimbus Roman No9 L;}} +{\colortbl;\red0\green0\blue0;\red128\green128\blue128;} +{\stylesheet{\s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af2\afs24\langfe255\loch\f0\fs24\lang1033\snext1 Default;} +} +{\info{\comment StarWriter}{\vern6410}}\deftab1250 +{\*\pgdsctbl +{\pgdsc0\pgdscuse195\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\pgdscnxt0 Default;}} +\paperh15840\paperw12240\margl1800\margr1800\margt1440\margb1440\sectd\sbknone\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc +\pard\plain \s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\lang255\ltrch\dbch\af2\afs24\langfe255\loch\f0\fs24\lang1033 {\ltrch\loch\f0 hello} +\par } diff --git a/sw/qa/core/data/rtf/pass/CVE-2005-2972-1.rtf b/sw/qa/core/data/rtf/pass/CVE-2005-2972-1.rtf new file mode 100644 index 000000000000..c38d6fc644e7 --- /dev/null +++ b/sw/qa/core/data/rtf/pass/CVE-2005-2972-1.rtf @@ -0,0 +1,57 @@ +{\rtf1\ansi\ansicpg1252\deff0 +{\fonttbl +{\f0\fnil\fcharset0\fprq0\fttruetype Times New Roman;} +{\f1\fnil\fcharset0\fprq0\fttruetype Nimbus Sans L;} +{\f2\fnil\fcharset0\fprq0\fttruetype Dingbats;} +{\f3\fnil\fcharset0\fprq0\fttruetype Symbol;} +{\f4\fnil\fcharset0\fprq0\fttruetype Courier New;}} +{\colortbl +\red0\green0\blue0; +\red255\green255\blue255;} +{\stylesheet +{\s1\fi-431\li720\sbasedon28\snext28 Contents 1;} +{\s2\fi-431\li1440\sbasedon28\snext28 Contents 2;} +{\s3\fi-431\li2160\sbasedon28\snext28 Contents 3;} +{\s8\fi-431\li720\sbasedon28 Lower Roman List;} +{\s5\tx431\sbasedon24\snext28 Numbered Heading 1;} +{\s6\tx431\sbasedon25\snext28 Numbered Heading 2;} +{\s7\fi-431\li720 Square List;} +{\*\cs11\sbasedon28 Endnote Text;} +{\s4\fi-431\li2880\sbasedon28\snext28 Contents 4;} +{\s9\fi-431\li720 Diamond List;} +{\s10\fi-431\li720 Numbered List;} +{\*\cs12\fs20\super Endnote Reference;} +{\s13\fi-431\li720 Triangle List;} +{\s14\tx431\sbasedon26\snext28 Numbered Heading 3;} +{\s15\fi-431\li720 Dashed List;} +{\s16\fi-431\li720\sbasedon10 Upper Roman List;} +{\s17\sb440\sa60\f1\fs24\b\sbasedon28\snext28 Heading 4;} +{\s18\fi-431\li720 Heart List;} +{\s34\fi-431\li720 Box List;} +{\s20\fi-431\li720\sbasedon10 Upper Case List;} +{\s21\fi-431\li720 Bullet List;} +{\s22\fi-431\li720 Hand List;} +{\*\cs23\fs20\sbasedon28 Footnote Text;} +{\s24\sb440\sa60\f1\fs34\b\sbasedon28\snext28 Heading 1;} +{\s25\sb440\sa60\f1\fs28\b\sbasedon28\snext28 Heading 2;} +{\s19\qc\sb240\sa120\f1\fs32\b\sbasedon28\snext28 Contents Header;} +{\s27\fi-431\li720 Tick List;} +{\s26\sb440\sa60\f1\fs24\b\sbasedon28\snext28 Heading 3;} +{\s29\fi-431\li720\sbasedon10 Lower Case List;} +{\s30\li1440\ri1440\sa120\sbasedon28 Block Text;} +{\s36\f4\sbasedon28 Plain Text;} +{\s32\tx1584\sbasedon5\snext28 Section Heading;} +{\s33\fi-431\li720 Implies List;} +{\s28\f0\fs24\lang1033 Normal;} +{\s35\fi-431\li720 Star List;} +{\*\cs31\fs20\super Footnote Reference;} +{\s37\tx1584\sbasedon5\snext28 Chapter Heading;}} +{\*\listtable +{\list\listtemplateid1002\listsimple{\listlevel\levelnfc0\levelstartat1\levelspace0\levelfollow0\fi-431\li720{\leveltext\'02\'00.;}{\levelnumbers\'01;}}\listid1000}} +{\*\listoverridetable +{\listoverride\listoverridecount0\listid1000\levelnfc0\levelstartat1\levelspace0\levelfollow0\fi-431\li720{\leveltext\'02\'00.;}{\levelnumbers\'01;}\ls1}} + +\kerning0\cf0\ftnbj\fet2\ftnstart1\ftnnar\aftnnar\ftnstart1\aftnstart1\aenddoc\facingp\titlepg\revprop3{\info}\deftab720\viewkind1\paperw12240\paperh15840\margl1440\margr1440\widowctl +\sectd\sbknone\colsx360\pgncont\ltrsect +{\listtext\pard\fi-431\li720 1. }\pard\plain{\ltrpar\ql\fi-431\li720\s28{\*\abilist\abilistid1000\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle Numbered List}}{\*\pn\pnql\pnstart1\pnlvlbody\pndec{\pntxtb AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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VE-2005-2972-2.rtf b/sw/qa/core/data/rtf/pass/CVE-2005-2972-2.rtf new file mode 100644 index 000000000000..2a3f782b72c4 --- /dev/null +++ b/sw/qa/core/data/rtf/pass/CVE-2005-2972-2.rtf @@ -0,0 +1,57 @@ +{\rtf1\ansi\ansicpg1252\deff0 +{\fonttbl +{\f0\fnil\fcharset0\fprq0\fttruetype Times New Roman;} +{\f1\fnil\fcharset0\fprq0\fttruetype Nimbus Sans L;} +{\f2\fnil\fcharset0\fprq0\fttruetype Dingbats;} +{\f3\fnil\fcharset0\fprq0\fttruetype Symbol;} +{\f4\fnil\fcharset0\fprq0\fttruetype Courier New;}} +{\colortbl +\red0\green0\blue0; +\red255\green255\blue255;} +{\stylesheet +{\s1\fi-431\li720\sbasedon28\snext28 Contents 1;} +{\s2\fi-431\li1440\sbasedon28\snext28 Contents 2;} +{\s3\fi-431\li2160\sbasedon28\snext28 Contents 3;} +{\s8\fi-431\li720\sbasedon28 Lower Roman List;} +{\s5\tx431\sbasedon24\snext28 Numbered Heading 1;} +{\s6\tx431\sbasedon25\snext28 Numbered Heading 2;} +{\s7\fi-431\li720 Square List;} +{\*\cs11\sbasedon28 Endnote Text;} +{\s4\fi-431\li2880\sbasedon28\snext28 Contents 4;} +{\s9\fi-431\li720 Diamond List;} +{\s10\fi-431\li720 Numbered List;} +{\*\cs12\fs20\super Endnote Reference;} +{\s13\fi-431\li720 Triangle List;} +{\s14\tx431\sbasedon26\snext28 Numbered Heading 3;} +{\s15\fi-431\li720 Dashed List;} +{\s16\fi-431\li720\sbasedon10 Upper Roman List;} +{\s17\sb440\sa60\f1\fs24\b\sbasedon28\snext28 Heading 4;} +{\s18\fi-431\li720 Heart List;} +{\s34\fi-431\li720 Box List;} +{\s20\fi-431\li720\sbasedon10 Upper Case List;} +{\s21\fi-431\li720 Bullet List;} +{\s22\fi-431\li720 Hand List;} +{\*\cs23\fs20\sbasedon28 Footnote Text;} +{\s24\sb440\sa60\f1\fs34\b\sbasedon28\snext28 Heading 1;} +{\s25\sb440\sa60\f1\fs28\b\sbasedon28\snext28 Heading 2;} +{\s19\qc\sb240\sa120\f1\fs32\b\sbasedon28\snext28 Contents Header;} +{\s27\fi-431\li720 Tick List;} +{\s26\sb440\sa60\f1\fs24\b\sbasedon28\snext28 Heading 3;} +{\s29\fi-431\li720\sbasedon10 Lower Case List;} +{\s30\li1440\ri1440\sa120\sbasedon28 Block Text;} +{\s36\f4\sbasedon28 Plain Text;} +{\s32\tx1584\sbasedon5\snext28 Section Heading;} +{\s33\fi-431\li720 Implies List;} +{\s28\f0\fs24\lang1033 Normal;} +{\s35\fi-431\li720 Star List;} +{\*\cs31\fs20\super Footnote Reference;} +{\s37\tx1584\sbasedon5\snext28 Chapter Heading;}} +{\*\listtable +{\list\listtemplateid1002\listsimple{\listlevel\levelnfc0\levelstartat1\levelspace0\levelfollow0\fi-431\li720{\leveltext\'02\'00.;}{\levelnumbers\'01;}}\listid1000}} +{\*\listoverridetable +{\listoverride\listoverridecount0\listid1000\levelnfc0\levelstartat1\levelspace0\levelfollow0\fi-431\li720{\leveltext\'02\'00.;}{\levelnumbers\'01;}\ls1}} + +\kerning0\cf0\ftnbj\fet2\ftnstart1\ftnnar\aftnnar\ftnstart1\aftnstart1\aenddoc\facingp\titlepg\revprop3{\info}\deftab720\viewkind1\paperw12240\paperh15840\margl1440\margr1440\widowctl +\sectd\sbknone\colsx360\pgncont\ltrsect +{\listtext\pard\fi-431\li720 1. }\pard\plain{\ltrpar\ql\fi-431\li720\s28{\*\abilist\abilistid1000\abilistparentid0\abilistlevel1\abistartat1{\abifieldfont NULL}{\abilistdecimal .}{\abilistdelim %L.}{\abiliststyle AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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} diff --git a/sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf b/sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf index 126a1ad732b9..aaf9acd99a4e 100644 Binary files a/sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf and b/sw/qa/core/data/rtf/pass/CVE-2010-3333-1.rtf differ -- cgit From a2d7a4dea3affb2b860d0979e3eafe362865e7ca Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 17 Jun 2011 16:43:19 +0100 Subject: make it easy to dump undetermined pass/fail files in for testing --- sw/qa/core/filters-test.cxx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'sw/qa') diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 75262f70cdbf..6a2d611bc5c2 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -65,6 +65,8 @@ SO2_DECL_REF(SwDocShell) SO2_IMPL_REF(SwDocShell) +const int indeterminate = 2; + using namespace ::com::sun::star; /* Implementation of Filters test */ @@ -78,7 +80,7 @@ public: virtual void setUp(); virtual void tearDown(); - void recursiveScan(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData, bool bExpected); + void recursiveScan(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData, int nExpected); bool load(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData); bool testLoad(const rtl::OUString &rFilter, @@ -115,7 +117,7 @@ bool FiltersTest::load(const rtl::OUString &rFilter, const rtl::OUString &rURL, return xDocShRef->DoLoad(&aSrcMed); } -void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData, bool bExpected) +void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData, int nExpected) { osl::Directory aDir(rURL); @@ -127,7 +129,7 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin aItem.getFileStatus(aFileStatus); rtl::OUString sURL = aFileStatus.getFileURL(); if (aFileStatus.getFileType() == osl::FileStatus::Directory) - recursiveScan(rFilter, sURL, rUserData, bExpected); + recursiveScan(rFilter, sURL, rUserData, nExpected); else { sal_Int32 nGitIndex = sURL.lastIndexOfAsciiL( @@ -138,7 +140,12 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin bool bRes = load(rFilter, sURL, rUserData); rtl::OString aRes(rtl::OUStringToOString(sURL, osl_getThreadTextEncoding())); - CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == bExpected); + if (nExpected == indeterminate) + { + printf("indeterminate pass/fail %s was %d\n", aRes.getStr(), bRes); + continue; + } + CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == nExpected); } } CPPUNIT_ASSERT(osl::FileBase::E_None == aDir.close()); @@ -176,6 +183,8 @@ void FiltersTest::testCVEs() recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/fail")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), false); + recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/indeterminate")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), indeterminate); + #endif } -- cgit From bbd14fd8e7422e93476891b6e1b4fe169768912d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 17 Jun 2011 16:43:45 +0100 Subject: make it easy to dump undetermined pass/fail files in for testing --- sw/qa/core/data/ww8/indeterminate/.gitignore | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 sw/qa/core/data/ww8/indeterminate/.gitignore (limited to 'sw/qa') diff --git a/sw/qa/core/data/ww8/indeterminate/.gitignore b/sw/qa/core/data/ww8/indeterminate/.gitignore new file mode 100644 index 000000000000..e69de29bb2d1 -- cgit From 82a49079c68f06a3bc3d7c23f494ddeaeee52a61 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 19 Jun 2011 22:22:01 +0100 Subject: ignore dot files, and print info about indeterminate loads --- sw/qa/core/filters-test.cxx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'sw/qa') diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 6a2d611bc5c2..68ad33499ffd 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -132,17 +132,27 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin recursiveScan(rFilter, sURL, rUserData, nExpected); else { - sal_Int32 nGitIndex = sURL.lastIndexOfAsciiL( - RTL_CONSTASCII_STRINGPARAM(".gitignore")); + sal_Int32 nLastSlash = sURL.lastIndexOf('/'); - if (nGitIndex == sURL.getLength() - RTL_CONSTASCII_LENGTH(".gitignore")) + //ignore .files + if ( + (nLastSlash != -1) && (nLastSlash+1 < sURL.getLength()) && + (sURL.getStr()[nLastSlash+1] == '.') + ) + { continue; + } + rtl::OString aRes(rtl::OUStringToOString(sURL, + osl_getThreadTextEncoding())); + if (nExpected == indeterminate) + { + fprintf(stderr, "loading %s\n", aRes.getStr()); + } bool bRes = load(rFilter, sURL, rUserData); - rtl::OString aRes(rtl::OUStringToOString(sURL, osl_getThreadTextEncoding())); if (nExpected == indeterminate) { - printf("indeterminate pass/fail %s was %d\n", aRes.getStr(), bRes); + fprintf(stderr, "pass/fail was %d\n", bRes); continue; } CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == nExpected); @@ -184,7 +194,6 @@ void FiltersTest::testCVEs() recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/fail")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), false); recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/indeterminate")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), indeterminate); - #endif } -- cgit From ec9df99a22fe19ee889fb84ead22325e80fbaaf7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 20 Jun 2011 15:43:35 +0100 Subject: add extra test dir for rtf --- sw/qa/core/data/rtf/indeterminate/.gitignore | 0 sw/qa/core/filters-test.cxx | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 sw/qa/core/data/rtf/indeterminate/.gitignore (limited to 'sw/qa') diff --git a/sw/qa/core/data/rtf/indeterminate/.gitignore b/sw/qa/core/data/rtf/indeterminate/.gitignore new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 68ad33499ffd..f055a39ee080 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -189,6 +189,8 @@ void FiltersTest::testCVEs() recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Rich Text Format")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/rtf/fail")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RTF")), false); + recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Rich Text Format")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/rtf/indeterminate")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RTF")), indeterminate); + recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/pass")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), true); recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/fail")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), false); -- cgit From e05b316b390e8edefb273ab78aa1144c37f6ad9f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 22 Jun 2011 11:15:25 +0100 Subject: add indeterminate dir for xml tests --- sw/qa/core/data/xml/indeterminate/.gitignore | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 sw/qa/core/data/xml/indeterminate/.gitignore (limited to 'sw/qa') diff --git a/sw/qa/core/data/xml/indeterminate/.gitignore b/sw/qa/core/data/xml/indeterminate/.gitignore new file mode 100644 index 000000000000..e69de29bb2d1 -- cgit From 2bd815e45d36927e95f0d08e80abc89ef80c8a9b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 22 Jun 2011 13:09:38 +0100 Subject: confirm passes on windows --- sw/qa/core/filters-test.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sw/qa') diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index f055a39ee080..060f0ebd46f8 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -178,9 +178,6 @@ bool FiltersTest::testLoad(const rtl::OUString &rFilter, void FiltersTest::testCVEs() { -//To-Do: I know this works on Linux, please check if this test works under -//windows and enable it if so -#ifndef WNT recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Staroffice XML (Writer)")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/xml/pass")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CXML")), true); recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Staroffice XML (Writer)")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/xml/fail")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CXML")), false); @@ -196,7 +193,6 @@ void FiltersTest::testCVEs() recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/fail")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), false); recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/indeterminate")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), indeterminate); -#endif } FiltersTest::FiltersTest() -- cgit From 2969ee530447326d3c74b6ae9b6c453c98e884dc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 24 Jun 2011 12:47:57 +0100 Subject: add timing information --- sw/qa/core/filters-test.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sw/qa') diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 060f0ebd46f8..9844a2934e29 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -149,10 +149,12 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin { fprintf(stderr, "loading %s\n", aRes.getStr()); } + sal_uInt32 nStartTime = osl_getGlobalTimer(); bool bRes = load(rFilter, sURL, rUserData); + sal_uInt32 nEndTime = osl_getGlobalTimer(); if (nExpected == indeterminate) { - fprintf(stderr, "pass/fail was %d\n", bRes); + fprintf(stderr, "pass/fail was %d (%d ms)\n", bRes, nEndTime-nStartTime); continue; } CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == nExpected); -- cgit From 7ebcee46673ae167ca6ebd8972c8eca7fe7706d7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 24 Jun 2011 13:22:16 +0100 Subject: WaE: I hate that these are platform-specific typedefs --- sw/qa/core/filters-test.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw/qa') diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 9844a2934e29..9ebee9b7fcdc 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -154,7 +154,8 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin sal_uInt32 nEndTime = osl_getGlobalTimer(); if (nExpected == indeterminate) { - fprintf(stderr, "pass/fail was %d (%d ms)\n", bRes, nEndTime-nStartTime); + fprintf(stderr, "pass/fail was %d ("SAL_PRIuUINT32" ms)\n", + bRes, nEndTime-nStartTime); continue; } CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == nExpected); -- cgit From ca7877fa0d56e2cf0928732075efa45289ffbbb8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 24 Jun 2011 13:38:11 +0100 Subject: fix this --- sw/qa/core/filters-test.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/qa') diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 9ebee9b7fcdc..5153aadd6864 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -154,7 +154,7 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin sal_uInt32 nEndTime = osl_getGlobalTimer(); if (nExpected == indeterminate) { - fprintf(stderr, "pass/fail was %d ("SAL_PRIuUINT32" ms)\n", + fprintf(stderr, "pass/fail was %d (%"SAL_PRIuUINT32" ms)\n", bRes, nEndTime-nStartTime); continue; } -- cgit From c65f89a05fccf2e635e7c48e74107c562c805805 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 3 Jul 2011 12:29:08 +0100 Subject: add another regression test here, an expected fail --- sw/qa/core/data/ww8/fail/CVE-2005-0941-1.doc | Bin 0 -> 32256 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 sw/qa/core/data/ww8/fail/CVE-2005-0941-1.doc (limited to 'sw/qa') diff --git a/sw/qa/core/data/ww8/fail/CVE-2005-0941-1.doc b/sw/qa/core/data/ww8/fail/CVE-2005-0941-1.doc new file mode 100644 index 000000000000..18b300c8525e Binary files /dev/null and b/sw/qa/core/data/ww8/fail/CVE-2005-0941-1.doc differ -- cgit From a9463a6e9f293250f89d8096def130ccfb79fb0b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 4 Jul 2011 10:37:54 +0100 Subject: Related: #i86988# make abo levels safer --- sw/qa/core/data/ww8/pass/CVE-2006-3493-1.doc | Bin 0 -> 48128 bytes sw/qa/core/data/ww8/pass/CVE-2006-6628-1.doc | Bin 0 -> 26624 bytes sw/qa/core/data/ww8/pass/CVE-2007-1347-1.doc | Bin 0 -> 24064 bytes sw/qa/core/data/ww8/pass/CVE-2008-2752-1.doc | Bin 0 -> 25088 bytes sw/qa/core/data/ww8/pass/CVE-2008-2752-2.doc | Bin 0 -> 24576 bytes sw/qa/core/data/ww8/pass/CVE-2008-2752-3.doc | Bin 0 -> 22528 bytes sw/qa/core/data/ww8/pass/CVE-2008-2752-4.doc | Bin 0 -> 23040 bytes sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc | 1 + sw/qa/core/data/ww8/pass/CVE-2009-0259-1.doc | Bin 0 -> 101888 bytes sw/qa/core/data/ww8/pass/CVE-2010-3200-1.doc | Bin 0 -> 48128 bytes 10 files changed, 1 insertion(+) create mode 100644 sw/qa/core/data/ww8/pass/CVE-2006-3493-1.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2006-6628-1.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2007-1347-1.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2008-2752-1.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2008-2752-2.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2008-2752-3.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2008-2752-4.doc create mode 120000 sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2009-0259-1.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2010-3200-1.doc (limited to 'sw/qa') diff --git a/sw/qa/core/data/ww8/pass/CVE-2006-3493-1.doc b/sw/qa/core/data/ww8/pass/CVE-2006-3493-1.doc new file mode 100644 index 000000000000..af452ddc0e5f Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2006-3493-1.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2006-6628-1.doc b/sw/qa/core/data/ww8/pass/CVE-2006-6628-1.doc new file mode 100644 index 000000000000..240ea77bca12 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2006-6628-1.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2007-1347-1.doc b/sw/qa/core/data/ww8/pass/CVE-2007-1347-1.doc new file mode 100644 index 000000000000..d25e62ab2416 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2007-1347-1.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2008-2752-1.doc b/sw/qa/core/data/ww8/pass/CVE-2008-2752-1.doc new file mode 100644 index 000000000000..f51fa8fe9b2e Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2008-2752-1.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2008-2752-2.doc b/sw/qa/core/data/ww8/pass/CVE-2008-2752-2.doc new file mode 100644 index 000000000000..7ce7a07bb6e2 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2008-2752-2.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2008-2752-3.doc b/sw/qa/core/data/ww8/pass/CVE-2008-2752-3.doc new file mode 100644 index 000000000000..8b04872af739 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2008-2752-3.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2008-2752-4.doc b/sw/qa/core/data/ww8/pass/CVE-2008-2752-4.doc new file mode 100644 index 000000000000..148a30d4ab35 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2008-2752-4.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc b/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc new file mode 120000 index 000000000000..f099938bc1a8 --- /dev/null +++ b/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc @@ -0,0 +1 @@ +CVE-2009-0259-1.doc \ No newline at end of file diff --git a/sw/qa/core/data/ww8/pass/CVE-2009-0259-1.doc b/sw/qa/core/data/ww8/pass/CVE-2009-0259-1.doc new file mode 100644 index 000000000000..0942b6d8d466 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2009-0259-1.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2010-3200-1.doc b/sw/qa/core/data/ww8/pass/CVE-2010-3200-1.doc new file mode 100644 index 000000000000..596aec93bd60 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2010-3200-1.doc differ -- cgit From a464c50e3057aeb9152c58108c756afbfee10252 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 5 Jul 2011 14:52:35 +0100 Subject: testLoad unused --- sw/qa/core/filters-test.cxx | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'sw/qa') diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 5153aadd6864..9ace6d689891 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -83,10 +83,6 @@ public: void recursiveScan(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData, int nExpected); bool load(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData); - bool testLoad(const rtl::OUString &rFilter, - const rtl::OUString &rUserData, - const rtl::OUString &rURL); - /** * Ensure CVEs remain unbroken */ @@ -164,21 +160,6 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin CPPUNIT_ASSERT(osl::FileBase::E_None == aDir.close()); } -bool FiltersTest::testLoad(const rtl::OUString &rFilter, - const rtl::OUString &rUserData, - const rtl::OUString &rURL) -{ - SfxFilter aFilter( - rFilter, - rtl::OUString(), 0, 0, rtl::OUString(), 0, rtl::OUString(), - rUserData, rtl::OUString() ); - - SwDocShellRef xDocShRef = new SwDocShell; - SfxMedium aSrcMed(rURL, STREAM_STD_READ, true); - aSrcMed.SetFilter(&aFilter); - return xDocShRef->DoLoad(&aSrcMed); -} - void FiltersTest::testCVEs() { recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Staroffice XML (Writer)")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/xml/pass")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CXML")), true); -- cgit From 903109758d4acd0bca14c601dbe9cef530a13f5d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 5 Jul 2011 16:26:07 +0100 Subject: fix link --- sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc | Bin 19 -> 101888 bytes 1 file changed, 0 insertions(+), 0 deletions(-) mode change 120000 => 100644 sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc (limited to 'sw/qa') diff --git a/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc b/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc deleted file mode 120000 index f099938bc1a8..000000000000 --- a/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc +++ /dev/null @@ -1 +0,0 @@ -CVE-2009-0259-1.doc \ No newline at end of file diff --git a/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc b/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc new file mode 100644 index 000000000000..0942b6d8d466 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc differ -- cgit From ee5af9205411a1b2661edff8e6ec7d0d1055b630 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 6 Jul 2011 00:56:20 +0100 Subject: add another regression test --- sw/qa/core/data/ww8/fail/CVE-2008-0320-1.doc | Bin 0 -> 116224 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 sw/qa/core/data/ww8/fail/CVE-2008-0320-1.doc (limited to 'sw/qa') diff --git a/sw/qa/core/data/ww8/fail/CVE-2008-0320-1.doc b/sw/qa/core/data/ww8/fail/CVE-2008-0320-1.doc new file mode 100644 index 000000000000..b5a08324f1c5 Binary files /dev/null and b/sw/qa/core/data/ww8/fail/CVE-2008-0320-1.doc differ -- cgit From 00741c9434785b18bff32357568f733922ef6eab Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 11 Jul 2011 09:02:15 +0100 Subject: check that seeks succeed, sanity check count of styles against recorded length --- sw/qa/core/data/ww8/fail/CVE-2006-2389-1.doc | Bin 0 -> 98816 bytes sw/qa/core/data/ww8/pass/CVE-2006-6561-1.doc | Bin 0 -> 26624 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 sw/qa/core/data/ww8/fail/CVE-2006-2389-1.doc create mode 100644 sw/qa/core/data/ww8/pass/CVE-2006-6561-1.doc (limited to 'sw/qa') diff --git a/sw/qa/core/data/ww8/fail/CVE-2006-2389-1.doc b/sw/qa/core/data/ww8/fail/CVE-2006-2389-1.doc new file mode 100644 index 000000000000..a1bf07a71a82 Binary files /dev/null and b/sw/qa/core/data/ww8/fail/CVE-2006-2389-1.doc differ diff --git a/sw/qa/core/data/ww8/pass/CVE-2006-6561-1.doc b/sw/qa/core/data/ww8/pass/CVE-2006-6561-1.doc new file mode 100644 index 000000000000..240ea77bca12 Binary files /dev/null and b/sw/qa/core/data/ww8/pass/CVE-2006-6561-1.doc differ -- cgit From 531743675c53a9ef33dd3dc098bc6b5ca14d3f11 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 18 Jul 2011 01:12:43 +0100 Subject: merge PAP and CHP length and offset clipping --- sw/qa/core/filters-test.cxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sw/qa') diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx index 9ace6d689891..71e5d743d962 100644 --- a/sw/qa/core/filters-test.cxx +++ b/sw/qa/core/filters-test.cxx @@ -97,6 +97,7 @@ private: uno::Reference m_xFactory; uno::Reference m_xWriterComponent; ::rtl::OUString m_aSrcRoot; + int m_nLoadedDocs; }; bool FiltersTest::load(const rtl::OUString &rFilter, const rtl::OUString &rURL, @@ -110,7 +111,11 @@ bool FiltersTest::load(const rtl::OUString &rFilter, const rtl::OUString &rURL, SwDocShellRef xDocShRef = new SwDocShell; SfxMedium aSrcMed(rURL, STREAM_STD_READ, true); aSrcMed.SetFilter(&aFilter); - return xDocShRef->DoLoad(&aSrcMed); + bool bRet = xDocShRef->DoLoad(&aSrcMed); + + ++m_nLoadedDocs; + + return bRet; } void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUString &rURL, const rtl::OUString &rUserData, int nExpected) @@ -177,10 +182,13 @@ void FiltersTest::testCVEs() recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/fail")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), false); recursiveScan(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS Word 97")), m_aSrcRoot + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/clone/writer/sw/qa/core/data/ww8/indeterminate")), rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CWW8")), indeterminate); + + printf("Writer: tested %d files\n", m_nLoadedDocs); } FiltersTest::FiltersTest() : m_aSrcRoot(RTL_CONSTASCII_USTRINGPARAM("file://")) + , m_nLoadedDocs(0) { m_xContext = cppu::defaultBootstrap_InitialComponentContext(); m_xFactory = m_xContext->getServiceManager(); -- cgit