Package de.smartsquare.squit.entity
Class SquitTest
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class SquitTest implements Serializable
Entity describing a single indexed test for squit to run.
-
-
Method Summary
Modifier and Type Method Description final PathgetPath()final ConfiggetConfig()final PathgetRequest()final PathgetResponse()final Map<String, List<Path>>getPreSqlScripts()final Map<String, List<Path>>getPostSqlScripts()final List<Path>getDescriptions()final SquitTestmerge(SquitTest other)Merges this with the other test. -
-
Constructor Detail
-
SquitTest
SquitTest(Path path, Config config, Path request, Path response, Map<String, List<Path>> preSqlScripts, Map<String, List<Path>> postSqlScripts, List<Path> descriptions)
- Parameters:
path- The path.config- The config.request- The path of the request.response- The path of the response.preSqlScripts- The map of SQL scripts to run before the test.postSqlScripts- The map of SQL scripts to run after the test.descriptions- The list of descriptions for the test.
-
-
Method Detail
-
getRequest
final Path getRequest()
-
getResponse
final Path getResponse()
-
getPreSqlScripts
final Map<String, List<Path>> getPreSqlScripts()
-
getPostSqlScripts
final Map<String, List<Path>> getPostSqlScripts()
-
getDescriptions
final List<Path> getDescriptions()
-
-
-
-