summaryrefslogtreecommitdiffstats
path: root/tests/resourcecommunicationtest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-19 14:26:45 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-19 14:26:45 +0100
commitcd7287325944571e9d53b00b48abdba4c9257474 (patch)
treefe6f822597e17c3a6f7d06fb512fcda36e490f21 /tests/resourcecommunicationtest.cpp
parent1812c077d6461b3e9fb865f47cffafc3c179e136 (diff)
downloadsink-cd7287325944571e9d53b00b48abdba4c9257474.tar.gz
sink-cd7287325944571e9d53b00b48abdba4c9257474.zip
Moved all commands in to the Commands namespace
Diffstat (limited to 'tests/resourcecommunicationtest.cpp')
-rw-r--r--tests/resourcecommunicationtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/resourcecommunicationtest.cpp b/tests/resourcecommunicationtest.cpp
index 18e9223..1b09c5f 100644
--- a/tests/resourcecommunicationtest.cpp
+++ b/tests/resourcecommunicationtest.cpp
@@ -32,8 +32,8 @@ private Q_SLOTS:
32 32
33 flatbuffers::FlatBufferBuilder fbb; 33 flatbuffers::FlatBufferBuilder fbb;
34 auto name = fbb.CreateString("test"); 34 auto name = fbb.CreateString("test");
35 auto command = Akonadi2::CreateHandshake(fbb, name); 35 auto command = Akonadi2::Commands::CreateHandshake(fbb, name);
36 Akonadi2::FinishHandshakeBuffer(fbb, command); 36 Akonadi2::Commands::FinishHandshakeBuffer(fbb, command);
37 auto result = resourceAccess.sendCommand(Akonadi2::Commands::HandshakeCommand, fbb).exec(); 37 auto result = resourceAccess.sendCommand(Akonadi2::Commands::HandshakeCommand, fbb).exec();
38 result.waitForFinished(); 38 result.waitForFinished();
39 QVERIFY(!result.errorCode()); 39 QVERIFY(!result.errorCode());