diff options
author | Benety Goh <benety@mongodb.com> | 2015-09-21 10:48:55 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2015-09-22 10:31:20 -0400 |
commit | 230005e3ac47b6278e22144af8d9ce417e3e1aa2 (patch) | |
tree | 858eff44a9254337bc7bdb49f15ff8c90dc2f7d9 /src/mongo/unittest/unittest.h | |
parent | 65c034766b1e84827f7b0715349d5586f2ec10b3 (diff) | |
download | mongo-230005e3ac47b6278e22144af8d9ce417e3e1aa2.tar.gz |
SERVER-7244 added tests for rolling back index creation and operations with no _id
Diffstat (limited to 'src/mongo/unittest/unittest.h')
-rw-r--r-- | src/mongo/unittest/unittest.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/unittest/unittest.h b/src/mongo/unittest/unittest.h index 9c40621b3a4..8953681f428 100644 --- a/src/mongo/unittest/unittest.h +++ b/src/mongo/unittest/unittest.h @@ -319,6 +319,11 @@ protected: return _capturedLogMessages; } + /** + * Returns the number of collected log lines containing "needle". + */ + int64_t countLogLinesContaining(const std::string& needle); + private: /** * Called on the test object before running the test. |