|
||||||||||
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.bundledplugins2.rest.RestFuncTest com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestCommentResource
public class TestCommentResource
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestCommentResource()
|
Method Summary | |
---|---|
void |
assertCommentsEqual(Comment comment1,
Comment comment2)
|
protected void |
setUpTest()
Setup for an actual test |
void |
testAddComment()
|
void |
testAdminCanEditAndDeleteAllComments()
|
void |
testAnonCanEditAndDeleteNothing()
|
void |
testAnonymous()
|
void |
testAnonymousComment()
|
void |
testCanAddCommentWhenNoIssueEditPerm()
|
void |
testDeleteComment()
|
void |
testEditComment()
|
void |
testFredCanEditAndDeleteOwnComments()
|
void |
testGetCommentFromWrongIssue()
|
void |
testIncorrectIssueKey()
|
void |
testViewCommentJson()
|
void |
testViewCommentNotFound()
|
void |
testViewComments()
|
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.RestFuncTest |
---|
assertEqualDateStrings, DELETE, GET, GET, getBaseUriPlus, getBaseUrl, getBaseUrlPlus, getJSON, getRestApiUri, getRestApiUrl, isDumpHTML, POST, POST, PUT, PUT, setUpHttpUnitOptions, tearDownTest |
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, log, log, runBare, runTest, setEnvironmentData, setUp, shouldSkipSetup, tearDown, 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 TestCommentResource()
Method Detail |
---|
public void testViewCommentNotFound() throws Exception
Exception
public void testAnonymousComment() throws Exception
Exception
public void testAnonymous() throws Exception
Exception
public void testViewCommentJson() throws Exception
Exception
public void testViewComments()
public void testEditComment()
public void testAddComment()
public void testDeleteComment()
public void testIncorrectIssueKey()
public void testGetCommentFromWrongIssue()
protected void setUpTest()
FuncTestCase
setUpTest
in class RestFuncTest
public void testAdminCanEditAndDeleteAllComments() throws Exception
Exception
public void testFredCanEditAndDeleteOwnComments() throws Exception
Exception
public void testAnonCanEditAndDeleteNothing() throws Exception
Exception
public void testCanAddCommentWhenNoIssueEditPerm()
public void assertCommentsEqual(Comment comment1, Comment comment2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |