diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2014-09-11 15:31:21 -0400 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2014-09-11 16:21:29 -0400 |
commit | 1a90996313ec83f0913bf2aef322193b0884f499 (patch) | |
tree | 8c93a84b2a7c3fbbedadd7e34c8c9ffd07b9eea7 /src/mongo/dbtests/matchertests.cpp | |
parent | b6e5d1e2af49ebb2edfb6522ba744d344b73c4f6 (diff) | |
download | mongo-1a90996313ec83f0913bf2aef322193b0884f499.tar.gz |
SERVER-14668 split dbdirectclient out of instance.cpp
Diffstat (limited to 'src/mongo/dbtests/matchertests.cpp')
-rw-r--r-- | src/mongo/dbtests/matchertests.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/mongo/dbtests/matchertests.cpp b/src/mongo/dbtests/matchertests.cpp index efe21b9cb88..e4e1bc91316 100644 --- a/src/mongo/dbtests/matchertests.cpp +++ b/src/mongo/dbtests/matchertests.cpp @@ -29,8 +29,6 @@ * then also delete it in the license file. */ -#include "mongo/pch.h" - #include "mongo/db/json.h" #include "mongo/db/matcher/matcher.h" #include "mongo/db/operation_context_impl.h" @@ -41,19 +39,9 @@ namespace MatcherTests { class CollectionBase { public: - CollectionBase() : _ns( "unittests.matchertests" ) { - - } - - virtual ~CollectionBase() { - OperationContextImpl txn; - DBDirectClient client(&txn); - - client.dropCollection(_ns); - } + CollectionBase() { } - protected: - const char * const _ns; + virtual ~CollectionBase() { } }; template <typename M> |