nss: upgrade to release 3.73
[LibreOffice.git] / test / source / table / tablerow.cxx
blob2d14c16253d66e364f3f71f43d4c734fdd747128
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 <test/table/tablerow.hxx>
11 #include <test/unoapi_property_testers.hxx>
13 #include <com/sun/star/beans/XPropertySet.hpp>
15 using namespace css;
17 namespace apitest
19 void TableRow::testTableRowProperties()
21 uno::Reference<beans::XPropertySet> xPS(init(), uno::UNO_QUERY_THROW);
23 OUString aPropName;
25 aPropName = "Height";
26 testLongProperty(xPS, aPropName);
28 aPropName = "OptimalHeight";
29 testBooleanProperty(xPS, aPropName);
31 aPropName = "IsVisible";
32 testBooleanProperty(xPS, aPropName);
34 aPropName = "IsStartOfNewPage";
35 testBooleanProperty(xPS, aPropName);
38 } // namespace apitest
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */