summaryrefslogtreecommitdiff
path: root/dbtests
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-02-06 16:56:14 -0500
committerDwight <dmerriman@gmail.com>2009-02-06 16:56:14 -0500
commit7d593671fec6aa3a449b895c1220a2e4c6fc42e7 (patch)
treebcc277a7677809b5403021d760326a3a9a4a52e8 /dbtests
parent0759ee54b4fc10cb4125748d7f35e0b773d9bc8a (diff)
downloadmongo-7d593671fec6aa3a449b895c1220a2e4c6fc42e7.tar.gz
rename classes and add a new client connect method
Diffstat (limited to 'dbtests')
-rw-r--r--dbtests/namespacetests.cpp2
-rw-r--r--dbtests/pairingtests.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/dbtests/namespacetests.cpp b/dbtests/namespacetests.cpp
index bfb658165f4..486348a4cef 100644
--- a/dbtests/namespacetests.cpp
+++ b/dbtests/namespacetests.cpp
@@ -251,7 +251,7 @@ namespace NamespaceTests {
BSONObjSetDefaultOrder keys;
ASSERT_EXCEPTION( id().getKeysFromObject( b.done(), keys ),
- UserAssertionException );
+ UserException );
}
private:
virtual BSONObj key() const {
diff --git a/dbtests/pairingtests.cpp b/dbtests/pairingtests.cpp
index 8734998dfbc..541b0fd9959 100644
--- a/dbtests/pairingtests.cpp
+++ b/dbtests/pairingtests.cpp
@@ -94,16 +94,16 @@ namespace PairingTests {
checkFields( rp3, "", "", DBPort, "bar" );
ASSERT_EXCEPTION( ReplPair( "foo:", "bar" ),
- UserAssertionException );
+ UserException );
ASSERT_EXCEPTION( ReplPair( "foo:0", "bar" ),
- UserAssertionException );
+ UserException );
ASSERT_EXCEPTION( ReplPair( "foo:10000000", "bar" ),
- UserAssertionException );
+ UserException );
ASSERT_EXCEPTION( ReplPair( "foo", "" ),
- UserAssertionException );
+ UserException );
}
private:
void checkFields( const ReplPair &rp,