Uses of Class
org.silverpeas.core.test.rule.DbSetupRule
-
Packages that use DbSetupRule Package Description org.silverpeas.core.test Provides classes to facilitate the writing of a both unit and integration tests in Silverpeas, whatever the testing platform used to run them.org.silverpeas.core.test.rule It contains all the JUnit 4 rules used in the execution of unit tests.org.silverpeas.web -
-
Uses of DbSetupRule in org.silverpeas.core.test
Methods in org.silverpeas.core.test that return DbSetupRule Modifier and Type Method Description DbSetupRule
DataSetTest. getDbSetupRule()
-
Uses of DbSetupRule in org.silverpeas.core.test.rule
Subclasses of DbSetupRule in org.silverpeas.core.test.rule Modifier and Type Class Description class
DbUnitLoadingRule
This rule permits to load data into database via DbUnit framework.Methods in org.silverpeas.core.test.rule that return DbSetupRule Modifier and Type Method Description static DbSetupRule
DbSetupRule. createDefaultTables()
Constructs a new instance of this rule by creating only the default tables (like UniqueId) required for the integration tests on database to run.static DbSetupRule
DbSetupRule. createTablesFrom(String... sqlScripts)
Constructs a new instance of this rule by specifying the SQL scripts containing the statements to create the different tables required by the integration test.DbSetupRule
DbSetupRule. loadInitialDataSetFrom(com.ninja_squad.dbsetup.operation.Operation... insertionOperation)
Loads the specified SQL scripts in order to insert into the database an initial data set before any test running.DbSetupRule
DbSetupRule. loadInitialDataSetFrom(String... sqlScripts)
Loads the specified SQL scripts in order to insert into the database an initial data set before any test running. -
Uses of DbSetupRule in org.silverpeas.web
Fields in org.silverpeas.web declared as DbSetupRule Modifier and Type Field Description DbSetupRule
RESTWebServiceTest. dbSetupRule
-