diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-05-16 12:59:39 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-05-16 14:27:13 +0200 |
commit | 82aa1380f2f31761f53a17b5a5f67417cb5eaf20 (patch) | |
tree | fb6923ec9ec8e6c06915d3b450c7beda9c5c8443 /tests | |
parent | 752668b5f46821fbd62eda710e68d19ed65dd107 (diff) | |
download | qt-creator-82aa1380f2f31761f53a17b5a5f67417cb5eaf20.tar.gz |
Cleanup whitespace
Mostly trailing whitespace
Change-Id: Ic324d20e8159c9d255895248ce04f25c692daf46
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/cplusplus/ast/tst_ast.cpp | 6 | ||||
-rw-r--r-- | tests/auto/cplusplus/codeformatter/tst_codeformatter.cpp | 2 | ||||
-rw-r--r-- | tests/auto/generichighlighter/specificrules/tst_specificrules.cpp | 2 | ||||
-rw-r--r-- | tests/auto/qtcprocess/qtcprocess.pro | 2 | ||||
-rw-r--r-- | tests/manual/debugger/gui/mainwindow.cpp | 8 | ||||
-rw-r--r-- | tests/manual/debugger/gui/tst_gui.cpp | 2 | ||||
-rw-r--r-- | tests/manual/ssh/sftp/sftp.pro | 6 |
7 files changed, 14 insertions, 14 deletions
diff --git a/tests/auto/cplusplus/ast/tst_ast.cpp b/tests/auto/cplusplus/ast/tst_ast.cpp index c1f7c91456..21afdb6477 100644 --- a/tests/auto/cplusplus/ast/tst_ast.cpp +++ b/tests/auto/cplusplus/ast/tst_ast.cpp @@ -72,7 +72,7 @@ public: TranslationUnit *parseStatement(const QByteArray &source) { return parse(source, TranslationUnit::ParseStatement); } - + class Diagnostic: public DiagnosticClient { public: int errorCount; @@ -92,8 +92,8 @@ public: } }; - Diagnostic diag; - + Diagnostic diag; + private slots: void initTestCase(); diff --git a/tests/auto/cplusplus/codeformatter/tst_codeformatter.cpp b/tests/auto/cplusplus/codeformatter/tst_codeformatter.cpp index ec185ee051..1527f00257 100644 --- a/tests/auto/cplusplus/codeformatter/tst_codeformatter.cpp +++ b/tests/auto/cplusplus/codeformatter/tst_codeformatter.cpp @@ -252,7 +252,7 @@ void tst_CodeFormatter::ifStatementWithoutBraces1() << Line(" while (e)") << Line(" bar;") << Line(" else") - << Line(" foo;") + << Line(" foo;") << Line("}") ; checkIndent(data); diff --git a/tests/auto/generichighlighter/specificrules/tst_specificrules.cpp b/tests/auto/generichighlighter/specificrules/tst_specificrules.cpp index 4e77853dbd..f3674c0cc9 100644 --- a/tests/auto/generichighlighter/specificrules/tst_specificrules.cpp +++ b/tests/auto/generichighlighter/specificrules/tst_specificrules.cpp @@ -145,7 +145,7 @@ void tst_SpecificRules::testMatch(Rule *rule) } void tst_SpecificRules::testMatch(Rule *rule, ProgressData *progress) -{ +{ QFETCH(QString, s); QTEST(rule->matchSucceed(s, s.length(), progress), "match"); diff --git a/tests/auto/qtcprocess/qtcprocess.pro b/tests/auto/qtcprocess/qtcprocess.pro index 6c46403de5..c7d54ae03c 100644 --- a/tests/auto/qtcprocess/qtcprocess.pro +++ b/tests/auto/qtcprocess/qtcprocess.pro @@ -3,7 +3,7 @@ include(../qttest.pri) win32:DEFINES += _CRT_SECURE_NO_WARNINGS -SOURCES += tst_qtcprocess.cpp +SOURCES += tst_qtcprocess.cpp DEFINES -= QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS DEFINES -= QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII diff --git a/tests/manual/debugger/gui/mainwindow.cpp b/tests/manual/debugger/gui/mainwindow.cpp index e90e09a5ed..4e26ca2560 100644 --- a/tests/manual/debugger/gui/mainwindow.cpp +++ b/tests/manual/debugger/gui/mainwindow.cpp @@ -83,7 +83,7 @@ MainWindow::~MainWindow() } void MainWindow::simpleBP(int inc, const QString &inx) -{ +{ int array[2] = {1,2}; m_w++; QString x = QLatin1String("h\344all\366"); @@ -295,7 +295,7 @@ void MainWindow::on_actionExtTypes_triggered() std::set<std::string> stdSet; stdSet.insert("s1"); QWidget *ww = this; - QWidget &wwr = *ww; + QWidget &wwr = *ww; QSharedPointer<QString> sps(new QString("hallo")); QList<QSharedPointer<QString> > spsl; spsl.push_back(sps); @@ -317,7 +317,7 @@ void MainWindow::on_actionExtTypes_triggered() QList <QList<int> > nestedIntList; nestedIntList << QList<int>(); - nestedIntList.front() << 1 << 2; + nestedIntList.front() << 1 << 2; QVariantList vList; vList.push_back(QVariant(42)); @@ -360,7 +360,7 @@ void Foo::MainWindow::on_actionScopes_triggered() int x = 2; Q_UNUSED(x) } - qDebug() << x; + qDebug() << x; } void Foo::MainWindow::on_actionLongString_triggered() diff --git a/tests/manual/debugger/gui/tst_gui.cpp b/tests/manual/debugger/gui/tst_gui.cpp index eceef3948a..5d3fdbb756 100644 --- a/tests/manual/debugger/gui/tst_gui.cpp +++ b/tests/manual/debugger/gui/tst_gui.cpp @@ -32,7 +32,7 @@ #include "mainwindow.h" int main(int argc, char *argv[]) -{ +{ QApplication a(argc, argv); qDebug() << "pid=" << QApplication::applicationPid(); Foo::MainWindow w; diff --git a/tests/manual/ssh/sftp/sftp.pro b/tests/manual/ssh/sftp/sftp.pro index eb5b7d8e3b..abb26a865c 100644 --- a/tests/manual/ssh/sftp/sftp.pro +++ b/tests/manual/ssh/sftp/sftp.pro @@ -1,6 +1,6 @@ include(../ssh.pri) -TARGET=sftp -SOURCES=main.cpp sftptest.cpp argumentscollector.cpp -HEADERS=sftptest.h argumentscollector.h parameters.h +TARGET = sftp +SOURCES = main.cpp sftptest.cpp argumentscollector.cpp +HEADERS = sftptest.h argumentscollector.h parameters.h |