diff options
author | Axel Waggershauser <awagger@gmail.com> | 2013-03-15 00:42:15 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-16 20:22:50 +0100 |
commit | b11317a64339f5a4bcffc8234ecaf15c7fb416f2 (patch) | |
tree | f81e40ee49f5109b4100048d131d5bb922b448aa /tests/auto/dbus | |
parent | 72367a94a750355eb748793ce8c365373a332c9c (diff) |
Whitespace cleanup: remove trailing whitespace
Remove all trailing whitespace from the following list of files:
*.cpp *.h *.conf *.qdoc *.pro *.pri *.mm *.rc *.pl *.qps *.xpm *.txt *README
excluding 3rdparty, test-data and auto generated code.
Note A): the only non 3rdparty c++-files that still
have trailing whitespace after this change are:
* src/corelib/codecs/cp949codetbl_p.h
* src/corelib/codecs/qjpunicode.cpp
* src/corelib/codecs/qbig5codec.cpp
* src/corelib/xml/qxmlstream_p.h
* src/tools/qdoc/qmlparser/qqmljsgrammar.cpp
* src/tools/uic/ui4.cpp
* tests/auto/other/qtokenautomaton/tokenizers/*
* tests/benchmarks/corelib/tools/qstring/data.cpp
* util/lexgen/tokenizer.cpp
Note B): in about 30 files some overlapping 'leading tab' and
'TAB character in non-leading whitespace' issues have been fixed
to make the sanity bot happy. Plus some general ws-fixes here
and there as asked for during review.
Change-Id: Ia713113c34d82442d6ce4d93d8b1cf545075d11d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'tests/auto/dbus')
-rw-r--r-- | tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp | 26 | ||||
-rw-r--r-- | tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp | 4 |
2 files changed, 15 insertions, 15 deletions
diff --git a/tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp b/tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp index 7b7ad1800c..6340f0f7a6 100644 --- a/tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp +++ b/tests/auto/dbus/qdbusmetaobject/tst_qdbusmetaobject.cpp @@ -442,7 +442,7 @@ void tst_QDBusMetaObject::types() class MethodTest1: public QObject { Q_OBJECT - + public slots: void method() { } }; @@ -452,7 +452,7 @@ const char MethodTest1_xml[] = class MethodTest2: public QObject { Q_OBJECT - + public slots: void method(int) { } }; @@ -462,7 +462,7 @@ const char MethodTest2_xml[] = class MethodTest3: public QObject { Q_OBJECT - + public slots: void method(int input0) { Q_UNUSED(input0); } }; @@ -472,7 +472,7 @@ const char MethodTest3_xml[] = class MethodTest4: public QObject { Q_OBJECT - + public slots: int method() { return 0; } }; @@ -484,7 +484,7 @@ const char MethodTest4_xml2[] = class MethodTest5: public QObject { Q_OBJECT - + public slots: int method(int input0) { return input0; } }; @@ -497,7 +497,7 @@ const char MethodTest5_xml[] = class MethodTest6: public QObject { Q_OBJECT - + public slots: int method(int input0, int input1) { Q_UNUSED(input0); return input1; } }; @@ -511,7 +511,7 @@ const char MethodTest6_xml[] = class MethodTest7: public QObject { Q_OBJECT - + public slots: int method(int input0, int input1, int &output1) { output1 = input1; return input0; } }; @@ -526,7 +526,7 @@ const char MethodTest7_xml[] = class MethodTest8: public QObject { Q_OBJECT - + public slots: int method(int input0, int input1, int &output1, int &output2) { output1 = output2 = input1; return input0; } }; @@ -542,7 +542,7 @@ const char MethodTest8_xml[] = class MethodTest9: public QObject { Q_OBJECT - + public slots: Q_NOREPLY void method(int) { } }; @@ -577,7 +577,7 @@ void tst_QDBusMetaObject::methods() class SignalTest1: public QObject { Q_OBJECT - + signals: void signal(); }; @@ -587,7 +587,7 @@ const char SignalTest1_xml[] = class SignalTest2: public QObject { Q_OBJECT - + signals: void signal(int); }; @@ -597,7 +597,7 @@ const char SignalTest2_xml[] = class SignalTest3: public QObject { Q_OBJECT - + signals: void signal(int output0); }; @@ -607,7 +607,7 @@ const char SignalTest3_xml[] = class SignalTest4: public QObject { Q_OBJECT - + signals: void signal(int output0, int); }; diff --git a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp index 08b8ce3db3..8c94f87fd6 100644 --- a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp +++ b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp @@ -96,7 +96,7 @@ void tst_QDBusXmlParser::parsing_data() QTest::newRow("null") << QString() << 0 << 0 << 0 << introspection; QTest::newRow("empty") << QString("") << 0 << 0 << 0 << introspection; - + QTest::newRow("junk") << "<junk/>" << 0 << 0 << 0 << introspection; QTest::newRow("interface-inside-junk") << "<junk><interface name=\"iface.iface1\" /></junk>" << 0 << 0 << 0 << introspection; @@ -429,7 +429,7 @@ void tst_QDBusXmlParser::signals__data() QTest::newRow("one-out-no-direction") << "<signal name=\"Signal\">" "<arg type=\"s\"/>" - "</signal>" << map; + "</signal>" << map; // two args with name signal.outputArgs << arg("i", "bar"); |