use of com.google.refine.extension.database.model.DatabaseInfo in project OpenRefine by OpenRefine.
the class SQLiteDatabaseServiceTest method testExecuteQuery.
@Test
public void testExecuteQuery() throws DatabaseServiceException {
SQLiteDatabaseService sqLiteDatabaseService = (SQLiteDatabaseService) DatabaseService.get(SQLiteDatabaseService.DB_NAME);
DatabaseInfo databaseInfo = sqLiteDatabaseService.testQuery(testDbConfig, "SELECT * FROM " + testTable);
Assert.assertNotNull(databaseInfo);
}
use of com.google.refine.extension.database.model.DatabaseInfo in project OpenRefine by OpenRefine.
the class SQLiteDatabaseServiceTest method testConnect.
@Test
public void testConnect() throws DatabaseServiceException {
SQLiteDatabaseService sqLiteDatabaseService = (SQLiteDatabaseService) DatabaseService.get(SQLiteDatabaseService.DB_NAME);
DatabaseInfo databaseInfo = sqLiteDatabaseService.connect(testDbConfig);
Assert.assertNotNull(databaseInfo);
}
use of com.google.refine.extension.database.model.DatabaseInfo in project OpenRefine by OpenRefine.
the class MariaDBDatabaseServiceTest method testConnect.
@Test
public void testConnect() throws DatabaseServiceException {
MariaDBDatabaseService pgSqlService = (MariaDBDatabaseService) DatabaseService.get(MariaDBDatabaseService.DB_NAME);
DatabaseInfo databaseInfo = pgSqlService.connect(testDbConfig);
Assert.assertNotNull(databaseInfo);
}
use of com.google.refine.extension.database.model.DatabaseInfo in project OpenRefine by OpenRefine.
the class MySQLDatabaseServiceTest method testConnect.
@Test
public void testConnect() throws DatabaseServiceException {
MySQLDatabaseService pgSqlService = (MySQLDatabaseService) DatabaseService.get(MySQLDatabaseService.DB_NAME);
DatabaseInfo databaseInfo = pgSqlService.connect(testDbConfig);
Assert.assertNotNull(databaseInfo);
}
use of com.google.refine.extension.database.model.DatabaseInfo in project OpenRefine by OpenRefine.
the class MySQLDatabaseServiceTest method testExecuteQuery.
@Test
public void testExecuteQuery() throws DatabaseServiceException {
MySQLDatabaseService pgSqlService = (MySQLDatabaseService) DatabaseService.get(MySQLDatabaseService.DB_NAME);
DatabaseInfo databaseInfo = pgSqlService.testQuery(testDbConfig, "SELECT * FROM " + testTable);
Assert.assertNotNull(databaseInfo);
}
Aggregations