/* -*- 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/. *
*/
void Test::testRecodeString()
{ // note, the below won't work with mergelibs as the class is not visible to the linker #if !ENABLE_MERGELIBS
ConvertChar const* pConversion = ConvertChar::GetRecodeData(u"starbats", u"opensymbol");
OUString aStr(u"u"_ustr);
pConversion->RecodeString(aStr, 0, 1);
CPPUNIT_ASSERT_EQUAL(u""_ustr, aStr); #endif
}
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.