- Remove test runs with different hash algorithms in the abstract super class - Create resource-closing tests for the new extension classes
23 lines
564 B
Java
23 lines
564 B
Java
package fr.xephi.authme.datasource;
|
|
|
|
import fr.xephi.authme.settings.Settings;
|
|
|
|
import java.lang.reflect.Method;
|
|
import java.sql.Connection;
|
|
|
|
/**
|
|
* Resource closing test for {@link SQLite}.
|
|
*/
|
|
public class SQLiteResourceClosingTest extends AbstractSqlDataSourceResourceClosingTest {
|
|
|
|
public SQLiteResourceClosingTest(Method method, String name) {
|
|
super(method, name);
|
|
}
|
|
|
|
@Override
|
|
protected DataSource createDataSource(Settings settings, Connection connection) throws Exception {
|
|
return new SQLite(settings, connection);
|
|
}
|
|
|
|
}
|