-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4a5d32
commit 29a7dec
Showing
13 changed files
with
142 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/test/java/net/snowflake/client/suites/ConnectionOldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import net.snowflake.client.category.TestTags; | ||
import org.junit.platform.suite.api.IncludeTags; | ||
|
||
@IncludeTags(TestTags.CONNECTION) | ||
public class ConnectionOldDriverTestSuite extends OldDriverTestSuite { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/test/java/net/snowflake/client/suites/CoreOldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import net.snowflake.client.category.TestTags; | ||
import org.junit.platform.suite.api.IncludeTags; | ||
|
||
@IncludeTags(TestTags.CORE) | ||
public class CoreOldDriverTestSuite extends OldDriverTestSuite {} |
8 changes: 8 additions & 0 deletions
8
src/test/java/net/snowflake/client/suites/DiagnosticOldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import net.snowflake.client.category.TestTags; | ||
import org.junit.platform.suite.api.IncludeTags; | ||
|
||
@IncludeTags(TestTags.DIAGNOSTIC) | ||
public class DiagnosticOldDriverTestSuite extends OldDriverTestSuite{ | ||
} |
8 changes: 8 additions & 0 deletions
8
src/test/java/net/snowflake/client/suites/LoaderOldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import net.snowflake.client.category.TestTags; | ||
import org.junit.platform.suite.api.IncludeTags; | ||
|
||
@IncludeTags(TestTags.LOADER) | ||
public class LoaderOldDriverTestSuite extends OldDriverTestSuite{ | ||
} |
20 changes: 20 additions & 0 deletions
20
src/test/java/net/snowflake/client/suites/OldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import java.util.Arrays; | ||
import net.snowflake.client.providers.SimpleFormatProvider; | ||
import org.junit.jupiter.params.provider.Arguments; | ||
import org.junit.platform.suite.api.AfterSuite; | ||
import org.junit.platform.suite.api.BeforeSuite; | ||
|
||
@BaseTestSuite | ||
public abstract class OldDriverTestSuite { | ||
@BeforeSuite | ||
public static void beforeAll() { | ||
SimpleFormatProvider.setSupportedFormats(Arrays.asList(Arguments.of("JSON"))); | ||
} | ||
|
||
@AfterSuite | ||
public static void afterAll() { | ||
SimpleFormatProvider.resetSupportedFormats(); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
src/test/java/net/snowflake/client/suites/OthersOldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import net.snowflake.client.category.TestTags; | ||
import org.junit.platform.suite.api.IncludeTags; | ||
|
||
@IncludeTags(TestTags.OTHERS) | ||
public class OthersOldDriverTestSuite extends OldDriverTestSuite{ | ||
} |
8 changes: 8 additions & 0 deletions
8
src/test/java/net/snowflake/client/suites/ResultSetOldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import net.snowflake.client.category.TestTags; | ||
import org.junit.platform.suite.api.IncludeTags; | ||
|
||
@IncludeTags(TestTags.RESULT_SET) | ||
public class ResultSetOldDriverTestSuite extends OldDriverTestSuite{ | ||
} |
8 changes: 8 additions & 0 deletions
8
src/test/java/net/snowflake/client/suites/StatementOldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import net.snowflake.client.category.TestTags; | ||
import org.junit.platform.suite.api.IncludeTags; | ||
|
||
@IncludeTags(TestTags.STATEMENT) | ||
public class StatementOldDriverTestSuite extends OldDriverTestSuite { | ||
} |
17 changes: 17 additions & 0 deletions
17
src/test/java/net/snowflake/client/suites/UnitOldDriverTestSuite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package net.snowflake.client.suites; | ||
|
||
import net.snowflake.client.category.TestTags; | ||
import org.junit.platform.suite.api.ExcludeTags; | ||
|
||
@ExcludeTags({ | ||
TestTags.CORE, | ||
TestTags.ARROW, | ||
TestTags.DIAGNOSTIC, | ||
TestTags.CONNECTION, | ||
TestTags.LOADER, | ||
TestTags.OTHERS, | ||
TestTags.RESULT_SET, | ||
TestTags.STATEMENT | ||
}) | ||
public class UnitOldDriverTestSuite extends OldDriverTestSuite{ | ||
} |