Skip to content

Commit

Permalink
test(DBSnapshot): remove test from windowsplattform
Browse files Browse the repository at this point in the history
  • Loading branch information
ake2l committed Aug 20, 2022
1 parent c7c6443 commit 4ba1fbf
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -45,6 +46,7 @@
import java.io.File;
import java.sql.Connection;

import static com.rapiddweller.common.SystemInfo.isLinux;
import static org.junit.Assert.*;

/**
Expand Down Expand Up @@ -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()));
Expand All @@ -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()));
Expand Down

0 comments on commit 4ba1fbf

Please sign in to comment.