|
||||||||||
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.issue.comments.TestCommentPermissions
public class TestCommentPermissions
Tests Permissions to delete and edit Comments. See http://jira.atlassian.com/browse/JRA-16138
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 | |
---|---|
TestCommentPermissions()
|
Method Summary | |
---|---|
protected void |
setUpTest()
Setup for an actual test |
void |
testAdminCanEditAndDeleteAllComments()
|
void |
testAnonCanEditAndDeleteNothing()
|
void |
testCantEditOrDeleteCommentsInClosedIssues()
|
void |
testFredCanEditAndDeleteOwnComments()
|
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 TestCommentPermissions()
Method Detail |
---|
protected void setUpTest()
FuncTestCase
setUpTest
in class FuncTestCase
public void testAdminCanEditAndDeleteAllComments() throws Exception
Exception
public void testCantEditOrDeleteCommentsInClosedIssues() throws Exception
Exception
public void testFredCanEditAndDeleteOwnComments() throws Exception
Exception
public void testAnonCanEditAndDeleteNothing() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |