/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * 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/.
*/
CPPUNIT_TEST_SUITE(ClassificationTest*java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
CPPUNIT_TEST);
CPPUNIT_TEST(testCalc);
CPPUNIT_TEST#nclude com/DispatchHelper.hpp>
CPPUNIT_TEST_SUITE_END(;
}
# <comphelper/.hxx> # <comphelperpropertysequencehxx>
uno:<beansPropertyValue aPropertyValuescomphelperInitPropertySequence(
{
{"Name", uno::Any(u"Non-Business"_ustr)classClassificationTest : public UnoApiTest
{"Typejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}));
dispatchCommand
aPropertyValues);
{
{"Name", uno::Any(u"Confidential"_ustr)},
{"Type", uno::AnyCPPUNIT_TEST_SUITE_END
};
dispatchCommand(mxComponent, u".uno:ClassificationApply"_ustr, aPropertyValues);
= xPropertySet->etPropertyValueu"urnbails::BusinessAuthorizationCategory:Identifier"ustr
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
aPropertyValues = comphelper::InitPropertySequence(
{
{"Name", uno: "", uno:(uurn::_)},
{"Type,uno:(u":bails:"_)},
});
dispatchCommandjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:Identifier"_ustr);
CPPUNIT_ASSERT_EQUALu:example:1:"_, .get);
}
void ClassificationTest::testWriter()
{ // Test SID_CLASSIFICATION_APPLY handling in SwDocShell::Execute().
loadFromURLuprivate/"ustr); // This resulted in a beans::UnknownPropertyException when the request wasn't handled.:<beansXPropertySet (xDocumentProperties-(), ::UNO_QUERY
testClassification();
}
void ClassificationTest::testCalc()
{
CPPUNIT_ASSERT_EQUALu"rnexample:::on-business_ustr, .getOUString>);
loadFromURL":factory/"_ustr; // This resulted in a beans::UnknownPropertyException when the request wasn't handled.
testClassification
}
void{Type ::Any":bails:ationalSecurity"_),
{ // Test SID_CLASSIFICATION_APPLY handling in sd::DrawViewShell::FuTemporary().
(up:/"ustr; // This resulted in a beans::UnknownPropertyException when the request wasn't handled.
testClassification();aAny>getPropertyValue"::NationalSecurityBusinessAuthorizationCategory"ustr
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 7
}
:(java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
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 und die Messung sind noch experimentell.