summaryrefslogtreecommitdiff
path: root/dbtests/repltests.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-09-17 17:23:38 -0400
committerEliot Horowitz <eliot@10gen.com>2009-09-17 17:23:38 -0400
commit34e48aaf5d1a626c3d114d88bab11d2e0921770e (patch)
tree598545a1220dc40eb26bd56102edfc34b97b68b9 /dbtests/repltests.cpp
parent18b1091e01df79d6412e25d63f850735b952bd9e (diff)
downloadmongo-34e48aaf5d1a626c3d114d88bab11d2e0921770e.tar.gz
new unit test framework
Diffstat (limited to 'dbtests/repltests.cpp')
-rw-r--r--dbtests/repltests.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbtests/repltests.cpp b/dbtests/repltests.cpp
index 740bc339f0b..48681bb8914 100644
--- a/dbtests/repltests.cpp
+++ b/dbtests/repltests.cpp
@@ -935,7 +935,10 @@ namespace ReplTests {
class All : public Suite {
public:
- All() {
+ All() : Suite( "repl" ){
+ }
+
+ void setupTests(){
add< LogBasic >();
add< Idempotence::InsertTimestamp >();
add< Idempotence::InsertAutoId >();
@@ -978,10 +981,7 @@ namespace ReplTests {
add< MemIdsTest >();
add< IdTrackerTest >();
}
- };
+ } myall;
} // namespace ReplTests
-UnitTest::TestPtr replTests() {
- return UnitTest::createSuite< ReplTests::All >();
-}