diff options
Diffstat (limited to 'tests/dummyresourcebenchmark.cpp')
-rw-r--r-- | tests/dummyresourcebenchmark.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp index a2de316..79c0c96 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp | |||
@@ -14,6 +14,7 @@ | |||
14 | #include "notification_generated.h" | 14 | #include "notification_generated.h" |
15 | #include "test.h" | 15 | #include "test.h" |
16 | #include "testutils.h" | 16 | #include "testutils.h" |
17 | #include "adaptorfactoryregistry.h" | ||
17 | 18 | ||
18 | #include "hawd/dataset.h" | 19 | #include "hawd/dataset.h" |
19 | #include "hawd/formatter.h" | 20 | #include "hawd/formatter.h" |
@@ -150,7 +151,7 @@ private slots: | |||
150 | QTime time; | 151 | QTime time; |
151 | time.start(); | 152 | time.start(); |
152 | 153 | ||
153 | DummyResource resource(Sink::ResourceContext{"sink.dummy.instance1", "test"}); | 154 | DummyResource resource(Sink::ResourceContext{"sink.dummy.instance1", "sink.dummy", Sink::AdaptorFactoryRegistry::instance().getFactories("sink.dummy")}); |
154 | 155 | ||
155 | flatbuffers::FlatBufferBuilder eventFbb; | 156 | flatbuffers::FlatBufferBuilder eventFbb; |
156 | eventFbb.Clear(); | 157 | eventFbb.Clear(); |