1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #include <comphelper/documentconstants.hxx>
11 #include <rtl/ustring.hxx>
12 #include <unotest/detail/unotestdllapi.hxx>
24 * NOTE, any files beginning with CVE-, BID- or EDB- will be assumed to be
25 * encrypted using arcfour with key 0x435645, this is to silence panicky
26 * virus/malware-checkers
28 * e.g. m[de]crypt --bare -a arcfour -o hex -k 435645 -s 3
30 /* Implementation of Filters test */
31 class OOO_DLLPUBLIC_UNOTEST FiltersTest
36 const OUString
&rFilter
,
37 //root dir of test files, must contain pass, fail, indeterminate
39 //additional filter data for SfxFilter
40 const OUString
&rUserData
= OUString(),
41 //SfxFilterFlags for SfxFilter
42 unsigned int nFilterFlags
= SFX_FILTER_IMPORT
,
43 //Clipboard id for SfxFilter
44 unsigned int nClipboardID
= 0,
45 //additional filter version for SfxFilter
46 unsigned int nFilterVersion
= 0);
49 const OUString
&rFilter
,
51 const OUString
&rUserData
,
52 unsigned int nFilterFlags
,
53 unsigned int nClipboardID
,
54 unsigned int nFilterVersion
) = 0;
60 filterStatus nExpected
,
61 const OUString
&rFilter
,
63 const OUString
&rUserData
,
64 unsigned int nFilterFlags
,
65 unsigned int nClipboardID
,
66 unsigned int nFilterVersion
);
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */