diff --git a/src/test/java/com/rapiddweller/benerator/main/DBSnaphotToolTest.java b/src/test/java/com/rapiddweller/benerator/main/DBSnaphotToolTest.java index 231f277f8..c3403adca 100644 --- a/src/test/java/com/rapiddweller/benerator/main/DBSnaphotToolTest.java +++ b/src/test/java/com/rapiddweller/benerator/main/DBSnaphotToolTest.java @@ -37,6 +37,7 @@ import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.junit.After; +import org.junit.Assume; import org.junit.BeforeClass; import org.junit.Test; import org.w3c.dom.Document; @@ -45,6 +46,7 @@ import java.io.File; import java.sql.Connection; +import static com.rapiddweller.common.SystemInfo.isLinux; import static org.junit.Assert.*; /** @@ -106,7 +108,7 @@ public void testMissingDriver() { @Test public void testHsqlDbUnitSnapshot() throws Exception { -// Assume.assumeTrue(isLinux()); + Assume.assumeTrue(isLinux()); // prepare DB Connection connection = HSQLUtil.connectInMemoryDB(dbName); DBUtil.executeScriptFile(CREATION_SCRIPT, ENCODING, connection, true, new ErrorHandler(getClass())); @@ -128,7 +130,7 @@ public void testHsqlDbUnitSnapshot() throws Exception { @Test public void testHsqlXlsSnapshot() throws Exception { -// Assume.assumeTrue(isLinux()); + Assume.assumeTrue(isLinux()); // prepare DB Connection connection = HSQLUtil.connectInMemoryDB(dbName); DBUtil.executeScriptFile(CREATION_SCRIPT, ENCODING, connection, true, new ErrorHandler(getClass()));