Class TestFeatureFlagResource
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraRestTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestFeatureFlagResource
Func tests for FeatureFlagResource.
- Since:
- v7.1
-
Field Summary
FieldsFields inherited from class com.atlassian.jira.functest.framework.BaseJiraRestTest
backdoor, environmentData, initClass, initData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
Tests disablingvoid
Tests setting feature flagvoid
testGet()
Tests getting a feature flagvoid
Tests getting a feature flagvoid
Tests non-admin permissionsMethods inherited from class com.atlassian.jira.functest.framework.BaseJiraRestTest
getEnvironmentData
-
Field Details
-
FULL_DARK_FEATURE_KEY_ENABLED
- See Also:
-
FULL_DARK_FEATURE_KEY_DISABLED
- See Also:
-
-
Constructor Details
-
TestFeatureFlagResource
public TestFeatureFlagResource()
-
-
Method Details
-
setUpTest
public void setUpTest() -
tearDownTest
public void tearDownTest() -
testGet
Tests getting a feature flag- Throws:
Exception
-
testGetAll
Tests getting a feature flag- Throws:
Exception
-
testEnable
Tests setting feature flag- Throws:
Exception
-
testDisable
Tests disabling- Throws:
Exception
-
testNonAdministrator
Tests non-admin permissions- Throws:
Exception
-