|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.jira.functest.framework.FuncTestCase com.atlassian.jira.webtests.ztests.comment.TestCommentVisibility
public class TestCommentVisibility
NOTE: Adding a comment with visibility is tested in TestAddComment
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestCommentVisibility()
|
Method Summary | |
---|---|
void |
setUpTest()
Setup for an actual test |
void |
testAnonymousCommenterAllowed()
|
void |
testCommentSearchNoLevels()
Checks that comments searches produce the correct issues in search results when the comment visibility is not restricted to roles or groups. |
void |
testCommentSearchResultsWithLevels()
Checks the search results for comment searches where the comment visibility is restricted to role levels. |
void |
testCommentVisibilitySwitchOnViewIssue()
|
void |
testLogWorkReflectsCommentVisibilitySwitch()
|
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builtInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, shouldSkipSetup, tearDown, tearDownTest, xpath |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestCommentVisibility()
Method Detail |
---|
public void setUpTest()
FuncTestCase
setUpTest
in class FuncTestCase
public void testCommentVisibilitySwitchOnViewIssue()
public void testAnonymousCommenterAllowed()
public void testLogWorkReflectsCommentVisibilitySwitch()
public void testCommentSearchNoLevels()
public void testCommentSearchResultsWithLevels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |