public class JiraSetupInstanceHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JiraSetupInstanceHelper.SetupStage
Setup stages put in order.
|
Constructor and Description |
---|
JiraSetupInstanceHelper(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData jiraEnvironmentData) |
Modifier and Type | Method and Description |
---|---|
void |
connectToTestDatabase(PostgresContainer dbContainer)
Configures database connection to test container which can be managed in the test framework.
|
void |
ensureJIRAIsReadyToGo() |
boolean |
isJiraSetup() |
static void |
setupDirectJDBCConnection(net.sourceforge.jwebunit.WebTester webTester,
JIRAEnvironmentData environmentData) |
void |
setupJIRAStepsInSet(EnumSet<JiraSetupInstanceHelper.SetupStage> stepsInRange)
Performs JIRA setup steps in given range.
|
public JiraSetupInstanceHelper(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData jiraEnvironmentData)
public void ensureJIRAIsReadyToGo()
public boolean isJiraSetup()
public void setupJIRAStepsInSet(EnumSet<JiraSetupInstanceHelper.SetupStage> stepsInRange)
stepsInRange
- stepsp to perform - by EnumSet definition they are always in proper order. Use EnumSet.range
and SetupStage.next, prev.JiraSetupInstanceHelper.SetupStage.to(com.atlassian.jira.functest.framework.setup.JiraSetupInstanceHelper.SetupStage)
,
EnumSet.range(Enum, Enum)
public void connectToTestDatabase(PostgresContainer dbContainer)
dbContainer
- public static void setupDirectJDBCConnection(net.sourceforge.jwebunit.WebTester webTester, JIRAEnvironmentData environmentData)
Copyright © 2002-2023 Atlassian. All Rights Reserved.