From fdd2cb3248e2f9d9b38f2a849b6c52156efb1630 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Tue, 17 Oct 2017 11:38:38 +0200 Subject: Remove testing of unused features. --- documentapi/src/tests/messagebus/messagebus_test.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'documentapi') diff --git a/documentapi/src/tests/messagebus/messagebus_test.cpp b/documentapi/src/tests/messagebus/messagebus_test.cpp index d8920b0577b..919dc6b6570 100644 --- a/documentapi/src/tests/messagebus/messagebus_test.cpp +++ b/documentapi/src/tests/messagebus/messagebus_test.cpp @@ -92,13 +92,7 @@ void Test::testProtocol() { DocumentProtocol protocol(set, _repo); EXPECT_TRUE(protocol.getName() == "document"); - IRoutingPolicy::UP policy = protocol.createPolicy(string("SearchRow"),string("")); - EXPECT_TRUE(policy.get() != NULL); - - policy = protocol.createPolicy(string("SearchColumn"),string("")); - EXPECT_TRUE(policy.get() != NULL); - - policy = protocol.createPolicy(string("DocumentRouteSelector"), string("file:documentrouteselectorpolicy.cfg")); + IRoutingPolicy::UP policy = protocol.createPolicy(string("DocumentRouteSelector"), string("file:documentrouteselectorpolicy.cfg")); EXPECT_TRUE(policy.get() != NULL); policy = protocol.createPolicy(string(""),string("")); -- cgit v1.2.3