LibreOffice Module test (master) 1
|
Namespaces | |
namespace | helper |
Functions | |
static OUString | getVisibleAddress (uno::Reference< sheet::XSpreadsheet > const &xSheet, const OUString &aLevelRangeString) |
static table::CellRangeAddress | getAddressFromRangeString (uno::Reference< sheet::XSpreadsheet > const &xSheet, const OUString &aStringAddress) |
constexpr OUStringLiteral | gaSrcSheetName (u"SheetToCopy") |
constexpr OUStringLiteral | gaSrcFileName (u"rangenamessrc.ods") |
constexpr OUStringLiteral | gaDestFileBase (u"ScNamedRangeObj.ods") |
static sal_Int32 | nInsertedSheets (0) |
void | testBooleanProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name) |
void | testBooleanOptionalProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &rName) |
void | testBooleanReadonlyProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name) |
void | testDoubleProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const double &dValue) |
void | testDoubleReadonlyProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const double &dValue) |
void | testLongProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int32 &nValue) |
void | testLongOptionalProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &rName, const sal_Int32 &rValue) |
void | testLongReadonlyProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int32 &nValue) |
void | testShortProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int16 &nValue) |
void | testShortOptionalProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &rName, const sal_Int16 &rValue) |
void | testShortReadonlyProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int16 &nValue) |
void | testStringOptionalProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &rName, const OUString &rValue) |
void | testStringProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const OUString &rValue) |
void | testStringReadonlyProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const OUString &rValue) |
void | testColorProperty (uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const util::Color &rValue) |
void OOO_DLLPUBLIC_TEST | testBooleanProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name) |
Tester for property type 'boolean' of a. More... | |
void OOO_DLLPUBLIC_TEST | testBooleanOptionalProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name) |
Tester for optional property type 'boolean' of a. More... | |
void OOO_DLLPUBLIC_TEST | testBooleanReadonlyProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name) |
Tester for read-only property type 'boolean' of a. More... | |
void OOO_DLLPUBLIC_TEST | testDoubleProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const double &dValue=42.0) |
Tester for property type 'double' of a. More... | |
void OOO_DLLPUBLIC_TEST | testDoubleReadonlyProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const double &dValue=42.0) |
Tester for read-only property type 'double' of a. More... | |
void OOO_DLLPUBLIC_TEST | testLongProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int32 &nValue=42) |
Tester for property type 'long' of a. More... | |
void OOO_DLLPUBLIC_TEST | testLongOptionalProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int32 &nValue=42) |
Tester for optional property type 'long' of a. More... | |
void OOO_DLLPUBLIC_TEST | testLongReadonlyProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int32 &nValue=42) |
Tester for read-only property type 'long' of a. More... | |
void OOO_DLLPUBLIC_TEST | testShortProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int16 &nValue=42) |
Tester for property type 'short' of a. More... | |
void OOO_DLLPUBLIC_TEST | testShortOptionalProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int16 &nValue=42) |
Tester for optional property type 'short' of a. More... | |
void OOO_DLLPUBLIC_TEST | testShortReadonlyProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int16 &nValue=42) |
Tester for read-only property type 'short' of a. More... | |
void OOO_DLLPUBLIC_TEST | testStringProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const OUString &rValue) |
Tester for property type 'string' of a. More... | |
void OOO_DLLPUBLIC_TEST | testStringOptionalProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const OUString &rValue=OUString("StringValue")) |
Tester for optional property type 'string' of a. More... | |
void OOO_DLLPUBLIC_TEST | testStringReadonlyProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const OUString &rValue) |
Tester for read-only property type 'string' of a. More... | |
void OOO_DLLPUBLIC_TEST | testColorProperty (css::uno::Reference< css::beans::XPropertySet > const &xPropertySet, const OUString &name, const css::util::Color &rValue=css::util::Color(0x12345678)) |
Tester for property type com::sun::star::util::Color of a. More... | |
Variables | |
constexpr OUStringLiteral | colLevel1 = u"OutlineSheet.A1:Z1" |
constexpr OUStringLiteral | colLevel2 = u"OutlineSheet.C1:W1" |
constexpr OUStringLiteral | colLevel3 = u"OutlineSheet.E1:U1" |
constexpr OUStringLiteral | colLevel4 = u"OutlineSheet.G1:S1" |
constexpr OUStringLiteral | rowLevel1 = u"OutlineSheet.A1:A30" |
constexpr OUStringLiteral | rowLevel2 = u"OutlineSheet.A3:A27" |
|
constexpr |
|
constexpr |
Referenced by apitest::XSpreadsheets2::isExternalReference().
|
constexpr |
|
static |
Definition at line 55 of file xsheetoutline.cxx.
Referenced by apitest::XSheetOutline::testClearOutline(), apitest::XSheetOutline::testGroup(), apitest::XSheetOutline::testHideDetail(), apitest::XSheetOutline::testShowDetail(), apitest::XSheetOutline::testShowLevel(), and apitest::XSheetOutline::testUngroup().
|
static |
Definition at line 39 of file xsheetoutline.cxx.
Referenced by apitest::XSheetOutline::testClearOutline(), apitest::XSheetOutline::testGroup(), apitest::XSheetOutline::testHideDetail(), apitest::XSheetOutline::testShowDetail(), apitest::XSheetOutline::testShowLevel(), and apitest::XSheetOutline::testUngroup().
|
static |
void OOO_DLLPUBLIC_TEST apitest::testBooleanOptionalProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name | ||
) |
Tester for optional property type 'boolean' of a.
Pass the test also if the property doesn't exists (throws a com::sun::star::beans::UnknownPropertyException)
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
void apitest::testBooleanOptionalProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | rName | ||
) |
Definition at line 39 of file unoapi_property_testers.cxx.
References testBooleanProperty().
Referenced by apitest::BaseIndex::testBaseIndexProperties(), apitest::TextDocumentSettings::testDocumentSettingsProperties(), apitest::TextPrinterSettings::testPrinterSettingsProperties(), apitest::SearchDescriptor::testSearchDescriptorProperties(), and apitest::TextSettings::testSettingsProperties().
void OOO_DLLPUBLIC_TEST apitest::testBooleanProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name | ||
) |
Tester for property type 'boolean' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
void apitest::testBooleanProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name | ||
) |
Definition at line 19 of file unoapi_property_testers.cxx.
References name, and OUStringToOString().
Referenced by apitest::BaseIndex::testBaseIndexProperties(), testBooleanOptionalProperty(), apitest::TextDocumentIndex::testDocumentIndexProperties(), apitest::TextPrinterSettings::testPrinterSettingsProperties(), apitest::SearchDescriptor::testSearchDescriptorProperties(), apitest::SpreadsheetDocumentSettings::testSpreadsheetDocumentSettingsProperties(), apitest::Spreadsheet::testSpreadsheetProperties(), apitest::TableColumn::testTableColumnProperties(), and apitest::TableRow::testTableRowProperties().
void OOO_DLLPUBLIC_TEST apitest::testBooleanReadonlyProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name | ||
) |
Tester for read-only property type 'boolean' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
void apitest::testBooleanReadonlyProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name | ||
) |
Definition at line 52 of file unoapi_property_testers.cxx.
References name, and OUStringToOString().
Referenced by apitest::SpreadsheetDocumentSettings::testSpreadsheetDocumentSettingsProperties().
void OOO_DLLPUBLIC_TEST apitest::testColorProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const css::util::Color & | rValue = css::util::Color(0x12345678) |
||
) |
Tester for property type com::sun::star::util::Color of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
rValue | Value to use when setting a new value. |
void apitest::testColorProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const util::Color & | rValue | ||
) |
Definition at line 266 of file unoapi_property_testers.cxx.
References name, and OUStringToOString().
Referenced by apitest::BaseIndex::testBaseIndexProperties().
void OOO_DLLPUBLIC_TEST apitest::testDoubleProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const double & | dValue = 42.0 |
||
) |
Tester for property type 'double' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
nValue | Value to use when setting a new value. |
void apitest::testDoubleProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const double & | dValue | ||
) |
Definition at line 71 of file unoapi_property_testers.cxx.
References name, and OUStringToOString().
Referenced by apitest::SpreadsheetDocumentSettings::testSpreadsheetDocumentSettingsProperties().
void OOO_DLLPUBLIC_TEST apitest::testDoubleReadonlyProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const double & | dValue = 42.0 |
||
) |
Tester for read-only property type 'double' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
nValue | Value to use when setting a new value. |
void apitest::testDoubleReadonlyProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const double & | dValue | ||
) |
Definition at line 91 of file unoapi_property_testers.cxx.
References name, and OUStringToOString().
void OOO_DLLPUBLIC_TEST apitest::testLongOptionalProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int32 & | nValue = 42 |
||
) |
Tester for optional property type 'long' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
nValue | Value to use when setting a new value. |
void apitest::testLongOptionalProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | rName, | ||
const sal_Int32 & | rValue | ||
) |
Definition at line 130 of file unoapi_property_testers.cxx.
References testLongProperty().
Referenced by apitest::TextSettings::testSettingsProperties().
void OOO_DLLPUBLIC_TEST apitest::testLongProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int32 & | nValue = 42 |
||
) |
Tester for property type 'long' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
nValue | Value to use when setting a new value. |
void apitest::testLongProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int32 & | nValue | ||
) |
Definition at line 110 of file unoapi_property_testers.cxx.
References name, nValue, and OUStringToOString().
Referenced by testLongOptionalProperty(), apitest::SpreadsheetDocumentSettings::testSpreadsheetDocumentSettingsProperties(), apitest::TableColumn::testTableColumnProperties(), and apitest::TableRow::testTableRowProperties().
void OOO_DLLPUBLIC_TEST apitest::testLongReadonlyProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int32 & | nValue = 42 |
||
) |
Tester for read-only property type 'long' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
nValue | Value to use when setting a new value. |
void apitest::testLongReadonlyProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int32 & | nValue | ||
) |
Definition at line 143 of file unoapi_property_testers.cxx.
References name, nValue, and OUStringToOString().
void OOO_DLLPUBLIC_TEST apitest::testShortOptionalProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int16 & | nValue = 42 |
||
) |
Tester for optional property type 'short' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
nValue | Value to use when setting a new value. |
void apitest::testShortOptionalProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | rName, | ||
const sal_Int16 & | rValue | ||
) |
Definition at line 182 of file unoapi_property_testers.cxx.
References testShortProperty().
void OOO_DLLPUBLIC_TEST apitest::testShortProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int16 & | nValue = 42 |
||
) |
Tester for property type 'short' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
nValue | Value to use when setting a new value. |
void apitest::testShortProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int16 & | nValue | ||
) |
Definition at line 162 of file unoapi_property_testers.cxx.
References name, nValue, and OUStringToOString().
Referenced by apitest::SearchDescriptor::testSearchDescriptorProperties(), testShortOptionalProperty(), apitest::SpreadsheetDocumentSettings::testSpreadsheetDocumentSettingsProperties(), and apitest::Spreadsheet::testSpreadsheetProperties().
void OOO_DLLPUBLIC_TEST apitest::testShortReadonlyProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int16 & | nValue = 42 |
||
) |
Tester for read-only property type 'short' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
nValue | Value to use when setting a new value. |
void apitest::testShortReadonlyProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const sal_Int16 & | nValue | ||
) |
Definition at line 195 of file unoapi_property_testers.cxx.
References name, nValue, and OUStringToOString().
void OOO_DLLPUBLIC_TEST apitest::testStringOptionalProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const OUString & | rValue = OUString("StringValue") |
||
) |
Tester for optional property type 'string' of a.
Pass the test also if the property doesn't exists (throws a com::sun::star::beans::UnknownPropertyException)
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
rValue | Value to use when setting a new value. |
void apitest::testStringOptionalProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | rName, | ||
const OUString & | rValue | ||
) |
Definition at line 214 of file unoapi_property_testers.cxx.
References testStringProperty().
Referenced by apitest::BaseIndex::testBaseIndexProperties(), apitest::TextDocumentIndex::testDocumentIndexProperties(), and apitest::TextSettings::testSettingsProperties().
void OOO_DLLPUBLIC_TEST apitest::testStringProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const OUString & | rValue | ||
) |
Tester for property type 'string' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
rValue | Value to use when setting a new value. |
void apitest::testStringProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const OUString & | rValue | ||
) |
Definition at line 227 of file unoapi_property_testers.cxx.
References name, and OUStringToOString().
Referenced by apitest::BaseIndex::testBaseIndexProperties(), apitest::TextDocumentIndex::testDocumentIndexProperties(), apitest::TextPrinterSettings::testPrinterSettingsProperties(), apitest::Spreadsheet::testSpreadsheetProperties(), and testStringOptionalProperty().
void OOO_DLLPUBLIC_TEST apitest::testStringReadonlyProperty | ( | css::uno::Reference< css::beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const OUString & | rValue | ||
) |
Tester for read-only property type 'string' of a.
xPropertySet | The property set, which contains the property to test against. |
name | Name of property to test. |
rValue | Value to use when setting a new value. |
void apitest::testStringReadonlyProperty | ( | uno::Reference< beans::XPropertySet > const & | xPropertySet, |
const OUString & | name, | ||
const OUString & | rValue | ||
) |
Definition at line 247 of file unoapi_property_testers.cxx.
References name, and OUStringToOString().
|
constexpr |
Definition at line 31 of file xsheetoutline.cxx.
Referenced by apitest::XSheetOutline::testClearOutline(), apitest::XSheetOutline::testShowDetail(), and apitest::XSheetOutline::testShowLevel().
|
constexpr |
Definition at line 32 of file xsheetoutline.cxx.
Referenced by apitest::XSheetOutline::testHideDetail(), apitest::XSheetOutline::testShowDetail(), and apitest::XSheetOutline::testShowLevel().
|
constexpr |
Definition at line 33 of file xsheetoutline.cxx.
Referenced by apitest::XSheetOutline::testShowLevel().
|
constexpr |
Definition at line 34 of file xsheetoutline.cxx.
Referenced by apitest::XSheetOutline::testShowLevel().
|
constexpr |
Definition at line 36 of file xsheetoutline.cxx.
Referenced by apitest::XSheetOutline::testClearOutline(), apitest::XSheetOutline::testShowDetail(), and apitest::XSheetOutline::testShowLevel().
|
constexpr |
Definition at line 37 of file xsheetoutline.cxx.
Referenced by apitest::XSheetOutline::testHideDetail(), and apitest::XSheetOutline::testShowDetail().