nss: upgrade to release 3.73
[LibreOffice.git] / test / source / text / textdocumentindex.cxx
blob67f161cf34726b8596abc5ff6c5370327ae88ad9
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #include <com/sun/star/beans/XPropertySet.hpp>
12 #include <test/unoapi_property_testers.hxx>
13 #include <test/text/textdocumentindex.hxx>
15 namespace apitest
17 TextDocumentIndex::~TextDocumentIndex() {}
19 void TextDocumentIndex::testDocumentIndexProperties()
21 css::uno::Reference<css::beans::XPropertySet> xDocumentIndex(init(), css::uno::UNO_QUERY_THROW);
23 testBooleanProperty(xDocumentIndex, "UseAlphabeticalSeparators");
24 testBooleanProperty(xDocumentIndex, "UseKeyAsEntry");
25 testBooleanProperty(xDocumentIndex, "UseCombinedEntries");
26 testBooleanProperty(xDocumentIndex, "IsCaseSensitive");
27 testBooleanProperty(xDocumentIndex, "UsePP");
28 testBooleanProperty(xDocumentIndex, "UseDash");
29 testBooleanProperty(xDocumentIndex, "UseUpperCase");
30 testStringOptionalProperty(xDocumentIndex, "MainEntryCharacterStyleName");
31 // [readonly, property] sequence <com::sun::star::text::XDocumentIndexMark> DocumentIndexMarks;
32 // [property] com::sun::star::lang::Locale Locale;
33 testStringProperty(xDocumentIndex, "SortAlgorithm", "Value");
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */