diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-10-22 11:22:10 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-10-22 11:22:10 -0400 |
commit | e316c78bc3dcbd0729454b81eff4e172579c1bc0 (patch) | |
tree | 18e2a9e92070fa069019fc932da8478934cd40c5 /dbtests/querytests.cpp | |
parent | 1c04baf9442be8109d0c271fc259b0181c23c64d (diff) | |
download | mongo-r1.0.1.tar.gz |
removed 1 test that shouldn't have been mergedr1.0.1
Diffstat (limited to 'dbtests/querytests.cpp')
-rw-r--r-- | dbtests/querytests.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dbtests/querytests.cpp b/dbtests/querytests.cpp index 0b062db3c48..d4ef7e8d7ca 100644 --- a/dbtests/querytests.cpp +++ b/dbtests/querytests.cpp @@ -668,28 +668,6 @@ namespace QueryTests { } }; - class SymbolStringSame : public ClientBase { - public: - ~SymbolStringSame(){ - client().dropCollection( ns() ); - } - const char * ns(){ - return "unittests.querytests.symbolstringsame"; - } - void run(){ - { BSONObjBuilder b; b.appendSymbol( "x" , "eliot" ); b.append( "z" , 17 ); client().insert( ns() , b.obj() ); } - ASSERT_EQUALS( 17 , client().findOne( ns() , BSONObj() )["z"].number() ); - { - BSONObjBuilder b; - b.appendSymbol( "x" , "eliot" ); - ASSERT_EQUALS( 17 , client().findOne( ns() , b.obj() )["z"].number() ); - } - ASSERT_EQUALS( 17 , client().findOne( ns() , BSON( "x" << "eliot" ) )["z"].number() ); - client().ensureIndex( ns() , BSON( "x" << 1 ) ); - ASSERT_EQUALS( 17 , client().findOne( ns() , BSON( "x" << "eliot" ) )["z"].number() ); - } - }; - class TailableCappedRaceCondition : public ClientBase { public: @@ -781,7 +759,6 @@ namespace QueryTests { add< FastCountIn >(); add< EmbeddedArray >(); add< DifferentNumbers >(); - add< SymbolStringSame >(); add< TailableCappedRaceCondition >(); } }; |