Fix Database extension testing for Maven

This commit is contained in:
Antonin Delpeuch 2018-09-10 13:37:51 +01:00
parent 2f2fa86800
commit 1184528098
26 changed files with 20 additions and 4 deletions

View File

@ -140,6 +140,11 @@
<artifactId>jackson-annotations</artifactId> <artifactId>jackson-annotations</artifactId>
<version>2.9.1</version> <version>2.9.1</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.6</version>
</dependency>
<dependency> <dependency>
@ -148,6 +153,13 @@
<version>6.9.10</version> <version>6.9.10</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.8.9</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>

View File

@ -35,7 +35,7 @@
<exclude name="requiresPgSQL"/> <exclude name="requiresPgSQL"/>
<exclude name="requiresMariaDB" /> <exclude name="requiresMariaDB" />
</run> </run>
</groups> </groups> <!--
<classes> <classes>
<class name="com.google.refine.extension.database.DatabaseImportControllerTest"/> <class name="com.google.refine.extension.database.DatabaseImportControllerTest"/>
<class name="com.google.refine.extension.database.DatabaseServiceTest"/> <class name="com.google.refine.extension.database.DatabaseServiceTest"/>
@ -51,6 +51,10 @@
<class name="com.google.refine.extension.database.mysql.MySQLDatabaseServiceTest"/> <class name="com.google.refine.extension.database.mysql.MySQLDatabaseServiceTest"/>
<class name="com.google.refine.extension.database.pgsql.PgSQLConnectionManagerTest"/> <class name="com.google.refine.extension.database.pgsql.PgSQLConnectionManagerTest"/>
<class name="com.google.refine.extension.database.pgsql.PgSQLDatabaseServiceTest" /> <class name="com.google.refine.extension.database.pgsql.PgSQLDatabaseServiceTest" />
</classes> </classes> -->
<packages>
<package name="org.openrefine.wikidata.*" />
</packages>
</test> </test>
</suite> </suite>

View File

@ -13,7 +13,7 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.Random; import java.util.Random;
import org.apache.commons.lang.text.StrSubstitutor; import org.apache.commons.lang3.text.StrSubstitutor;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;