// Ensure we have the proper schema with no transient data.
createCqlSchema();
- // Check that host manager open the database opens correctly and tidy up.
- // If it fails, print the error message.
+ // Check that host manager opens the database correctly and tidy up. If it
+ // fails, print the error message.
try {
HostMgr::create();
EXPECT_NO_THROW(HostMgr::addBackend(validCqlConnectionString()));
<< "*** before the CQL tests will run correctly.\n";
}
- // Check that host manager open the database opens correctly with a longer
+ // Check that host manager opens the database correctly with a longer
// timeout. If it fails, print the error message.
try {
// CQL specifies the timeout values in ms, not seconds. Therefore
}
// Check that attempting to get an instance of the host data source when
- // none is set throws an exception.
+ // none is set returns empty pointer.
EXPECT_FALSE(HostMgr::instance().getHostDataSource());
// Check that wrong specification of backend throws an exception.
destroyMySQLSchema();
createMySQLSchema();
- // Check that host manager open the database opens correctly and tidy up.
- // If it fails, print the error message.
+ // Check that host manager opens the database correctly and tidy up. If it
+ // fails, print the error message.
try {
HostMgr::create();
EXPECT_NO_THROW(HostMgr::addBackend(validMySQLConnectionString()));
<< "*** before the MySQL tests will run correctly.\n";
}
- // Check that host manager open the database opens correctly with a longer
+ // Check that host manager opens the database correctly with a longer
// timeout. If it fails, print the error message.
try {
string connection_string = validMySQLConnectionString() + string(" ") +
}
// Check that attempting to get an instance of the host data source when
- // none is set throws an exception.
+ // none is set returns empty pointer.
EXPECT_FALSE(HostMgr::instance().getHostDataSource());
// Check that wrong specification of backend throws an exception.
destroyMySQLSchema();
createMySQLSchema();
- // Check that host manager open the database opens correctly and tidy up.
- // If it fails, print the error message.
+ // Check that host manager opens the database correctly and tidy up. If it
+ // fails, print the error message.
try {
HostMgr::create();
EXPECT_NO_THROW(HostMgr::addBackend(validMySQLConnectionString()));
<< "*** before the MySQL tests will run correctly.\n";
}
- // Check that host manager open the database opens correctly with a longer
+ // Check that host manager opens the database correctly with a longer
// timeout. If it fails, print the error message.
try {
string connection_string = validMySQLConnectionString() + string(" ") +
}
// Check that attempting to get an instance of the host data source when
- // none is set throws an exception.
+ // none is set returns empty pointer.
EXPECT_FALSE(HostMgr::instance().getHostDataSource());
// Check that wrong specification of backend throws an exception.
destroyPgSQLSchema();
createPgSQLSchema();
- // Check that host manager open the database opens correctly and tidy up.
- // If it fails, print the error message.
+ // Check that host manager opens the database correctly and tidy up. If it
+ // fails, print the error message.
try {
HostMgr::create();
EXPECT_NO_THROW(HostMgr::addBackend(validPgSQLConnectionString()));
<< "*** before the PostgreSQL tests will run correctly.\n";
}
- // Check that host manager open the database opens correctly with a longer
+ // Check that host manager opens the database correctly with a longer
// timeout. If it fails, print the error message.
try {
string connection_string = validPgSQLConnectionString() + string(" ") +
}
// Check that attempting to get an instance of the host data source when
- // none is set throws an exception.
+ // none is set returns empty pointer.
EXPECT_FALSE(HostMgr::instance().getHostDataSource());
// Check that wrong specification of backend throws an exception.
destroyPgSQLSchema();
createPgSQLSchema();
- // Check that host manager open the database opens correctly and tidy up.
- // If it fails, print the error message.
+ // Check that host manager opens the database correctly and tidy up. If it
+ // fails, print the error message.
try {
HostMgr::create();
EXPECT_NO_THROW(HostMgr::addBackend(validPgSQLConnectionString()));
<< "*** before the PostgreSQL tests will run correctly.\n";
}
- // Check that host manager open the database opens correctly with a longer
+ // Check that host manager opens the database correctly with a longer
// timeout. If it fails, print the error message.
try {
string connection_string = validPgSQLConnectionString() + string(" ") +
}
// Check that attempting to get an instance of the host data source when
- // none is set throws an exception.
+ // none is set returns empty pointer.
EXPECT_FALSE(HostMgr::instance().getHostDataSource());
// Check that wrong specification of backend throws an exception.