summaryrefslogtreecommitdiffstats
path: root/documentapi/src/tests/messagebus/messagebus_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-10-18 13:23:48 +0200
committerGitHub <noreply@github.com>2017-10-18 13:23:48 +0200
commitf91867f941921d784ee1dd47326f5b8f8b9a32ab (patch)
treec44716f65654f7e760bf8fa5556c463ee9a8ea60 /documentapi/src/tests/messagebus/messagebus_test.cpp
parent4dc24814728e5440466db2f765355fdae7208261 (diff)
parent7e0b620110d99f328843b61a201f5a0d75d3e2cb (diff)
Merge pull request #3782 from vespa-engine/balder/remove-searchxxxpolicy
Balder/remove searchxxxpolicy
Diffstat (limited to 'documentapi/src/tests/messagebus/messagebus_test.cpp')
-rw-r--r--documentapi/src/tests/messagebus/messagebus_test.cpp8
1 files changed, 1 insertions, 7 deletions
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(""));