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:
parent
3d13156025
commit
b6a4e66ffb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user