diff options
author | Jason Rassi <rassi@10gen.com> | 2014-05-21 19:45:10 -0400 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2014-05-21 19:47:49 -0400 |
commit | eb8b368edb239a7a698d734dedcf4f6950bf64ec (patch) | |
tree | 80b2bb99da4958e4a318e824f3f1059f36a310d4 /src/mongo/dbtests/pdfiletests.cpp | |
parent | a7526c96e9a584c646294d4414acbad1b452a6f4 (diff) | |
download | mongo-eb8b368edb239a7a698d734dedcf4f6950bf64ec.tar.gz |
SERVER-13737 Pull CollectionOptions out into libcollection_options.a
Diffstat (limited to 'src/mongo/dbtests/pdfiletests.cpp')
-rw-r--r-- | src/mongo/dbtests/pdfiletests.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mongo/dbtests/pdfiletests.cpp b/src/mongo/dbtests/pdfiletests.cpp index 8b64ab3de73..59d5f1bc483 100644 --- a/src/mongo/dbtests/pdfiletests.cpp +++ b/src/mongo/dbtests/pdfiletests.cpp @@ -208,31 +208,6 @@ namespace PdfileTests { } }; - class CollectionOptionsRoundTrip { - public: - - void check( const CollectionOptions& options1 ) { - CollectionOptions options2; - options2.parse( options1.toBSON() ); - ASSERT_EQUALS( options1.toBSON(), options2.toBSON() ); - } - - void run() { - CollectionOptions options; - check( options ); - - options.capped = true; - options.cappedSize = 10240; - options.cappedMaxDocs = 1111; - check( options ); - - options.setNoIdIndex(); - options.flags = 5; - check( options ); - - } - }; - class All : public Suite { public: All() : Suite( "pdfile" ) {} @@ -243,7 +218,6 @@ namespace PdfileTests { add< Insert::UpdateDate2 >(); add< Insert::ValidId >(); add< ExtentSizing >(); - add< CollectionOptionsRoundTrip >(); } } myall; |