From 458eff1de031d840ca0446b49014a3f28dcb3c0e Mon Sep 17 00:00:00 2001 From: filipe Date: Fri, 6 Sep 2024 17:25:51 -0300 Subject: [PATCH] chore: convert groovy tests to java + add slf4j api --- pom.xml | 15 ++++++++++----- .../AdvancedExtensionHarnessTestSuite.groovy | 6 ------ .../ContributedExtensionHarnessTestSuite.groovy | 6 ------ .../FoundationalExtensionHarnessTestSuite.groovy | 6 ------ .../AdvancedExtensionHarnessTestSuite.java | 6 ++++++ .../ContributedExtensionHarnessTestSuite.java | 6 ++++++ .../FoundationalExtensionHarnessTestSuite.java | 6 ++++++ 7 files changed, 28 insertions(+), 23 deletions(-) delete mode 100644 src/test/groovy/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.groovy delete mode 100644 src/test/groovy/liquibase/ext/databricks/ContributedExtensionHarnessTestSuite.groovy delete mode 100644 src/test/groovy/liquibase/ext/databricks/FoundationalExtensionHarnessTestSuite.groovy create mode 100644 src/test/java/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.java create mode 100644 src/test/java/liquibase/ext/databricks/ContributedExtensionHarnessTestSuite.java create mode 100644 src/test/java/liquibase/ext/databricks/FoundationalExtensionHarnessTestSuite.java diff --git a/pom.xml b/pom.xml index d359c5b5..6e5faea3 100644 --- a/pom.xml +++ b/pom.xml @@ -70,11 +70,16 @@ - - - - - + + org.liquibase + liquibase-core + ${liquibase.version} + + + org.slf4j + slf4j-api + 1.7.36 + com.databricks databricks-jdbc diff --git a/src/test/groovy/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.groovy b/src/test/groovy/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.groovy deleted file mode 100644 index 82f807c6..00000000 --- a/src/test/groovy/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.groovy +++ /dev/null @@ -1,6 +0,0 @@ -package liquibase.ext.databricks - -import liquibase.harness.AdvancedHarnessSuite - -class AdvancedExtensionHarnessTestSuite extends AdvancedHarnessSuite { -} \ No newline at end of file diff --git a/src/test/groovy/liquibase/ext/databricks/ContributedExtensionHarnessTestSuite.groovy b/src/test/groovy/liquibase/ext/databricks/ContributedExtensionHarnessTestSuite.groovy deleted file mode 100644 index 25614c30..00000000 --- a/src/test/groovy/liquibase/ext/databricks/ContributedExtensionHarnessTestSuite.groovy +++ /dev/null @@ -1,6 +0,0 @@ -package liquibase.ext.databricks - -import liquibase.harness.BaseHarnessSuite - -class ContributedExtensionHarnessTestSuite extends BaseHarnessSuite { -} \ No newline at end of file diff --git a/src/test/groovy/liquibase/ext/databricks/FoundationalExtensionHarnessTestSuite.groovy b/src/test/groovy/liquibase/ext/databricks/FoundationalExtensionHarnessTestSuite.groovy deleted file mode 100644 index 211fda20..00000000 --- a/src/test/groovy/liquibase/ext/databricks/FoundationalExtensionHarnessTestSuite.groovy +++ /dev/null @@ -1,6 +0,0 @@ -package liquibase.ext.databricks - -import liquibase.harness.FoundationalHarnessSuite - -class FoundationalExtensionHarnessTestSuite extends FoundationalHarnessSuite { -} \ No newline at end of file diff --git a/src/test/java/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.java b/src/test/java/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.java new file mode 100644 index 00000000..26abdb26 --- /dev/null +++ b/src/test/java/liquibase/ext/databricks/AdvancedExtensionHarnessTestSuite.java @@ -0,0 +1,6 @@ +package liquibase.ext.databricks; + +import liquibase.harness.AdvancedHarnessSuite; + +public class AdvancedExtensionHarnessTestSuite extends AdvancedHarnessSuite { +} diff --git a/src/test/java/liquibase/ext/databricks/ContributedExtensionHarnessTestSuite.java b/src/test/java/liquibase/ext/databricks/ContributedExtensionHarnessTestSuite.java new file mode 100644 index 00000000..828b718e --- /dev/null +++ b/src/test/java/liquibase/ext/databricks/ContributedExtensionHarnessTestSuite.java @@ -0,0 +1,6 @@ +package liquibase.ext.databricks; + +import liquibase.harness.BaseHarnessSuite; + +public class ContributedExtensionHarnessTestSuite extends BaseHarnessSuite { +} diff --git a/src/test/java/liquibase/ext/databricks/FoundationalExtensionHarnessTestSuite.java b/src/test/java/liquibase/ext/databricks/FoundationalExtensionHarnessTestSuite.java new file mode 100644 index 00000000..ee00f5f7 --- /dev/null +++ b/src/test/java/liquibase/ext/databricks/FoundationalExtensionHarnessTestSuite.java @@ -0,0 +1,6 @@ +package liquibase.ext.databricks; + +import liquibase.harness.FoundationalHarnessSuite; + +public class FoundationalExtensionHarnessTestSuite extends FoundationalHarnessSuite { +}