/* -*- 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_ASSERT(!sDirName.isEmpty());
process_directory(sDirName); // any files in the root test dir are run in test harness default locale ( en-US )
std::vector< OUString > sLangDirs = get_subdirnames( sDirName );
for (autoconst& langDir : sLangDirs)
{
sal_Int32 nSlash = langDir.lastIndexOf('/'); if ( nSlash != -1 )
{
OUString sLangISO = langDir.copy( nSlash + 1 );
LanguageTag aLocale( sLangISO ); if ( aLocale.isValidBcp47() )
{
SvtSysLocaleOptions aLocalOptions; // set locale for test dir
aLocalOptions.SetLocaleConfigString( sLangISO );
process_directory(langDir);
}
}
}
}
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.