diff options
author | hjk <qtc-committer@nokia.com> | 2009-08-20 09:32:11 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-08-20 09:32:11 +0200 |
commit | bfc49c0e3870f7c1dce47163eec7577795275b64 (patch) | |
tree | 671d27497bad0e9f51de5c788996b91404b8d0bf /tests/auto/qstringbuilder/tst_qstringbuilder.cpp | |
parent | 770ec46a4e949dcd09bd8c09cc3c2b1030e46189 (diff) | |
download | qt-creator-bfc49c0e3870f7c1dce47163eec7577795275b64.tar.gz |
remove stringbuilder autotests
It was merged to Qt master a while ago.
Diffstat (limited to 'tests/auto/qstringbuilder/tst_qstringbuilder.cpp')
-rw-r--r-- | tests/auto/qstringbuilder/tst_qstringbuilder.cpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/tests/auto/qstringbuilder/tst_qstringbuilder.cpp b/tests/auto/qstringbuilder/tst_qstringbuilder.cpp deleted file mode 100644 index b59300493e..0000000000 --- a/tests/auto/qstringbuilder/tst_qstringbuilder.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). -** Contact: Nokia Corporation (qt-info@nokia.com) -** -****************************************************************************/ - -#include <QtTest/QtTest> -#include "../../../src/libs/utils/qstringbuilder.h" - -//TESTED_CLASS=QStringBuilder -//TESTED_FILES=qstringbuilder.h - -class tst_QStringBuilder : public QObject -{ - Q_OBJECT - -public: - tst_QStringBuilder(); - ~tst_QStringBuilder() {} - -public slots: - void init() {} - void cleanup() {} - -private slots: - void operator_percent(); -}; - - -tst_QStringBuilder::tst_QStringBuilder() -{ - //QTextCodec::setCodecForLocale(QTextCodec::codecForName("ISO 8859-1")); -} - -void tst_QStringBuilder::operator_percent() -{ - QLatin1Literal l1literal("a literal"); - QLatin1String l1string("a literal"); - QLatin1Char l1char('c'); - QChar qchar(l1char); - - QCOMPARE(QString(l1literal % l1literal), QString(l1string + l1string)); -} - -QTEST_APPLESS_MAIN(tst_QStringBuilder) - -#include "tst_qstringbuilder.moc" |