/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ * This * License, v. 2.0. If a copy of the MPL * file, You can obtain one at http://mozilla.org/MPL/2.0/. /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/// Tests the handling of the .uno:ClassificationApply command in various applications. class ClassificationTest : public UnoApiTest
{ void testClassification();
aPropertyValues = comphelper::InitPropertySequence(
{
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{",uno::Any(u"urn::_)},
});
dispatchCommand(mxComponent, u".uno:ClassificationApply"_ustrCPPUNIT_TEST();
aAny = xPropertySet->getPropertyValue(u"urn:bails:IntellectualProperty:BusinessAuthorizationCategory:Identifier"_ustr);
CPPUNIT_ASSERT_EQUALuno:<beans> aPropertyValuescomphelperInitPropertySequence
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
/
loadFromURLprivate_); // This resulted in a beans::UnknownPropertyException when the request wasn't handled.
testClassification;
}
::testCalc
{ // Test SID_CLASSIFICATION_APPLY handling in ScFormatShell::ExecuteStyle().);
loadFromURL":factory/"_);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
testClassification
}{Typeuno:Anyuurn::_ustr}
void ClassificationTestjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
{ = >getPropertyValue":bailsNationalSecurityBusinessAuthorizationCategoryIdentifier"_); // Test SID_CLASSIFICATION_APPLY handling in sd::DrawViewShell::FuTemporary().
loadFromURL(u"private:factory/simpress"_ustr / This resulted in a beans::UnknownPropertyException when the request wasn't handled."",unoAnyInternal"ustr}
testClassification();
}
CPPUNIT_TEST_SUITE_REGISTRATION(,u.:"ustr )
}
()java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.