diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-04-03 15:01:01 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-04-05 16:25:41 -0400 |
commit | d0235e5499f7d484d767fe8cfb792440d5efbd96 (patch) | |
tree | d61dd36381cabe32871de41677fbfca869e44f75 /src/mongo/util/util.cpp | |
parent | de834d925921c3be654a12e339400d790ab653f7 (diff) | |
download | mongo-d0235e5499f7d484d767fe8cfb792440d5efbd96.tar.gz |
Rename the UnitTest class to StartupTest, and the containing file to startup_test.
Diffstat (limited to 'src/mongo/util/util.cpp')
-rw-r--r-- | src/mongo/util/util.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/util/util.cpp b/src/mongo/util/util.cpp index 398997d9638..70ccefaecec 100644 --- a/src/mongo/util/util.cpp +++ b/src/mongo/util/util.cpp @@ -17,7 +17,7 @@ #include "pch.h" #include "goodies.h" -#include "unittest.h" +#include "mongo/util/startup_test.h" #include "file_allocator.h" #include "optime.h" #include "time_support.h" @@ -135,9 +135,6 @@ namespace mongo { return ""; } - vector<UnitTest*> *UnitTest::tests = 0; - bool UnitTest::running = false; - const char *default_getcurns() { return ""; } const char * (*getcurns)() = default_getcurns; @@ -165,7 +162,7 @@ namespace mongo { return n; } - struct UtilTest : public UnitTest { + struct UtilTest : public StartupTest { void run() { verify( isPrime(3) ); verify( isPrime(2) ); |