summaryrefslogtreecommitdiffstats
path: root/tests/genericfacadebenchmark.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-15 13:56:45 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-15 13:56:45 +0200
commit35b28af1f449edb1bac0b0bda606c3c06b2fe102 (patch)
tree6237f0421afc8dc7adeb37dc823f7b34c30846a1 /tests/genericfacadebenchmark.cpp
parent2eb3810b66de3130f3e650627380c28a96acded7 (diff)
downloadsink-35b28af1f449edb1bac0b0bda606c3c06b2fe102.tar.gz
sink-35b28af1f449edb1bac0b0bda606c3c06b2fe102.zip
Moved more entitystorage functionality back to facade.
To avoid unnecessary abstraction layers that don't solve a problem, and to allow facades to customize how entities are loaded.
Diffstat (limited to 'tests/genericfacadebenchmark.cpp')
-rw-r--r--tests/genericfacadebenchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/genericfacadebenchmark.cpp b/tests/genericfacadebenchmark.cpp
index 3e98fce..10aabd4 100644
--- a/tests/genericfacadebenchmark.cpp
+++ b/tests/genericfacadebenchmark.cpp
@@ -53,7 +53,7 @@ private Q_SLOTS:
53 QBENCHMARK { 53 QBENCHMARK {
54 auto resultSet = QSharedPointer<Akonadi2::ResultProvider<Akonadi2::ApplicationDomain::Event::Ptr> >::create(); 54 auto resultSet = QSharedPointer<Akonadi2::ResultProvider<Akonadi2::ApplicationDomain::Event::Ptr> >::create();
55 auto resourceAccess = QSharedPointer<TestResourceAccess>::create(); 55 auto resourceAccess = QSharedPointer<TestResourceAccess>::create();
56 auto storage = QSharedPointer<EntityStorage<Akonadi2::ApplicationDomain::Event> >::create("identifier", domainTypeAdaptorFactory, "bufferType"); 56 auto storage = QSharedPointer<EntityStorage<Akonadi2::ApplicationDomain::Event> >::create("identifier");
57 TestResourceFacade facade(identifier, storage, resourceAccess); 57 TestResourceFacade facade(identifier, storage, resourceAccess);
58 58
59 async::SyncListResult<Akonadi2::ApplicationDomain::Event::Ptr> result(resultSet->emitter()); 59 async::SyncListResult<Akonadi2::ApplicationDomain::Event::Ptr> result(resultSet->emitter());