Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : */
9 :
10 : #include <com/sun/star/uno/XInterface.hpp>
11 : #include <com/sun/star/uno/Reference.hxx>
12 : #include <com/sun/star/sheet/XDataPilotDescriptor.hpp>
13 :
14 : #include <test/testdllapi.hxx>
15 :
16 : #include <vector>
17 :
18 : namespace apitest {
19 :
20 16 : class OOO_DLLPUBLIC_TEST XDataPilotDescriptor
21 : {
22 : public:
23 : void testSourceRange();
24 : void testTag();
25 : void testGetFilterDescriptor();
26 : void testGetDataPilotFields();
27 : void testGetColumnFields();
28 : void testGetRowFields();
29 : void testGetPageFields();
30 : void testGetDataFields();
31 : void testGetHiddenFields();
32 :
33 : virtual css::uno::Reference< css::uno::XInterface > init() = 0;
34 :
35 : protected:
36 16 : ~XDataPilotDescriptor() {}
37 :
38 : private:
39 : void testGetDataPilotFields_Impl( css::uno::Reference< css::sheet::XDataPilotDescriptor > xDescr );
40 :
41 : void checkName( css::uno::Reference< css::container::XIndexAccess > xIndex, sal_Int32 nIndex );
42 : static std::vector<OUString> maFieldNames;
43 : };
44 :
45 : }
46 :
47 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|