summaryrefslogtreecommitdiffstats
path: root/tests/genericresourcetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-03-03 09:01:05 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-03-03 09:01:05 +0100
commit4d9746c828558c9f872e0aed52442863affb25d5 (patch)
tree507d7c2ba67f47d3cbbcf01a722236ff1b48426b /tests/genericresourcetest.cpp
parent9cea920b7dd51867a0be0fed2f461b6be73c103e (diff)
downloadsink-4d9746c828558c9f872e0aed52442863affb25d5.tar.gz
sink-4d9746c828558c9f872e0aed52442863affb25d5.zip
Fromatted the whole codebase with clang-format.
clang-format -i */**{.cpp,.h}
Diffstat (limited to 'tests/genericresourcetest.cpp')
-rw-r--r--tests/genericresourcetest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/genericresourcetest.cpp b/tests/genericresourcetest.cpp
index a04c634..7474cbf 100644
--- a/tests/genericresourcetest.cpp
+++ b/tests/genericresourcetest.cpp
@@ -16,7 +16,7 @@
16 16
17/** 17/**
18 * Test of the generic resource implementation. 18 * Test of the generic resource implementation.
19 * 19 *
20 * This test relies on a working pipeline implementation, and writes to storage. 20 * This test relies on a working pipeline implementation, and writes to storage.
21 */ 21 */
22class GenericResourceTest : public QObject 22class GenericResourceTest : public QObject
@@ -30,7 +30,7 @@ private slots:
30 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 30 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
31 } 31 }
32 32
33 ///Ensure the resource can process messages 33 /// Ensure the resource can process messages
34 void testProcessCommand() 34 void testProcessCommand()
35 { 35 {
36 flatbuffers::FlatBufferBuilder eventFbb; 36 flatbuffers::FlatBufferBuilder eventFbb;
@@ -70,7 +70,7 @@ private slots:
70 QVERIFY(Sink::Commands::VerifyCreateEntityBuffer(verifyer)); 70 QVERIFY(Sink::Commands::VerifyCreateEntityBuffer(verifyer));
71 } 71 }
72 72
73 //Actual test 73 // Actual test
74 auto pipeline = QSharedPointer<Sink::Pipeline>::create("org.kde.test.instance1"); 74 auto pipeline = QSharedPointer<Sink::Pipeline>::create("org.kde.test.instance1");
75 QSignalSpy revisionSpy(pipeline.data(), SIGNAL(revisionUpdated(qint64))); 75 QSignalSpy revisionSpy(pipeline.data(), SIGNAL(revisionUpdated(qint64)));
76 QVERIFY(revisionSpy.isValid()); 76 QVERIFY(revisionSpy.isValid());