test: Mark tst_qtextboundaryfinder::generateDataFromFile() with internal build

This function only makes sense on a developer build. In non
developer-builds you get:

  tst_qtextboundaryfinder.cpp:116:13:
    warning: ‘void generateDataFromFile(const QString&)’
    defined but not used [-Wunused-function]

Change-Id: Id1bda2d27b00048f7401606959b566a59c05b38d
Reviewed-by: Toby Tomkins <tjtomkins@gmail.com>
This commit is contained in:
Sergio Ahumada 2012-08-29 13:53:27 +02:00 committed by Qt by Nokia
parent 3d13156025
commit b6a4e66ffb

View File

@ -113,6 +113,7 @@ inline char *toString(const QList<int> &list)
} // namespace QTest
QT_END_NAMESPACE
#ifdef QT_BUILD_INTERNAL
static void generateDataFromFile(const QString &fname)
{
QTest::addColumn<QString>("testString");
@ -185,7 +186,6 @@ static void generateDataFromFile(const QString &fname)
}
}
#ifdef QT_BUILD_INTERNAL
QT_BEGIN_NAMESPACE
extern Q_AUTOTEST_EXPORT int qt_initcharattributes_default_algorithm_only;
QT_END_NAMESPACE