/** * Returns the {@link DB} with the name that is specified in the properties * file. */ private DB getDatabase() { return getDatabaseForName(dbName); }
/** * Initializes the MongoDB version of a {@link CertPathStoreTestBase}. */ public CertPathStoreTest() throws Exception { MongoDbProvider mongoDbProvider = new MongoDbProvider("127.0.0.1", "27017", "wiab_test"); this.database = mongoDbProvider.getDatabaseForName(TEST_DATABASE); certPathStore = new MongoDbStore(database); }
/** * Initializes the MongoDB version of a {@link CertPathStoreTestBase}. */ public CertPathStoreTest() throws Exception { MongoDbProvider mongoDbProvider = new MongoDbProvider("127.0.0.1", "27017", "wiab_test"); this.database = mongoDbProvider.getDatabaseForName(TEST_DATABASE); certPathStore = new MongoDbStore(database); }
/** * Initializes the MongoDB version of a {@link AccountStoreTestBase}. */ public AccountStoreTest() throws Exception { MongoDbProvider mongoDbProvider = new MongoDbProvider("127.0.0.1", "27017", "wiab_test"); this.database = mongoDbProvider.getDatabaseForName(TEST_DATABASE); store = new MongoDbStore(database); }
/** * Initializes the MongoDB version of a {@link AttachmentStoreTestBase}. */ public AttachmentStoreTest() throws Exception { MongoDbProvider mongoDbProvider = new MongoDbProvider("127.0.0.1", "27017", "wiab_test"); this.database = mongoDbProvider.getDatabaseForName(TEST_DATABASE); store = new MongoDbStore(database); }
/** * Initializes the MongoDB version of a {@link AccountStoreTestBase}. */ public AccountStoreTest() throws Exception { MongoDbProvider mongoDbProvider = new MongoDbProvider("127.0.0.1", "27017", "wiab_test"); this.database = mongoDbProvider.getDatabaseForName(TEST_DATABASE); store = new MongoDbStore(database); }
/** * Initializes the MongoDB version of a {@link AttachmentStoreTestBase}. */ public AttachmentStoreTest() throws Exception { MongoDbProvider mongoDbProvider = new MongoDbProvider("127.0.0.1", "27017", "wiab_test"); this.database = mongoDbProvider.getDatabaseForName(TEST_DATABASE); store = new MongoDbStore(database); }