From e316c78bc3dcbd0729454b81eff4e172579c1bc0 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Thu, 22 Oct 2009 11:22:10 -0400 Subject: removed 1 test that shouldn't have been merged --- dbtests/querytests.cpp | 23 ----------------------- 1 file changed, 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 >(); } }; -- cgit v1.2.1