Class MSSQLTestSystem
java.lang.Object
liquibase.extension.testing.testsystem.TestSystem
liquibase.extension.testing.testsystem.DatabaseTestSystem
liquibase.extension.testing.testsystem.core.MSSQLTestSystem
- All Implemented Interfaces:
Plugin,org.junit.rules.TestRule
-
Nested Class Summary
Nested classes/interfaces inherited from class liquibase.extension.testing.testsystem.TestSystem
TestSystem.Definition -
Field Summary
Fields inherited from class liquibase.extension.testing.testsystem.DatabaseTestSystem
wrapperFields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull DatabaseWrapperReturn the url used to connect to this database.protected String[]Define SQL to run byDatabaseTestSystem.setup()voidsetCollation(String collation) Methods inherited from class liquibase.extension.testing.testsystem.DatabaseTestSystem
createJdbcWrapper, createWrapper, execute, execute, executeInverses, executeSql, getAltCatalog, getAltSchema, getAltTablespace, getCatalog, getConnection, getConnection, getConnection, getDatabaseFromFactory, getDriver, getDriverJar, getImageName, getPassword, getSetupPassword, getSetupUsername, getUsername, getVersion, openSetupConnection, setup, start, stopMethods inherited from class liquibase.extension.testing.testsystem.TestSystem
apply, getConfigurationKeys, getConfiguredValue, getConfiguredValue, getConfiguredValue, getDefinition, getEnabledTestSystems, getKeepRunning, getPriority, shouldTest, toString
-
Constructor Details
-
MSSQLTestSystem
public MSSQLTestSystem() -
MSSQLTestSystem
-
-
Method Details
-
createContainerWrapper
- Specified by:
createContainerWrapperin classDatabaseTestSystem
-
getConnectionUrl
Description copied from class:DatabaseTestSystemReturn the url used to connect to this database. NOTE: this may be different than the 'url' configured value because the TestSystem implementations are free to tweak and control this URL based on other settings.- Overrides:
getConnectionUrlin classDatabaseTestSystem
-
getSetupSql
Description copied from class:DatabaseTestSystemDefine SQL to run byDatabaseTestSystem.setup()- Specified by:
getSetupSqlin classDatabaseTestSystem
-
getCollation
-
setCollation
-