|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.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, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
| Constructor Summary | |
|---|---|
TestCommentResource()
|
|
| Method Summary | |
|---|---|
void |
assertCommentsEqual(com.atlassian.jira.testkit.client.restclient.Comment comment1,
com.atlassian.jira.testkit.client.restclient.Comment comment2)
|
protected void |
setUpTest()
Setup for an actual test |
void |
testAddComment()
|
void |
testAddCommentExpandRendered()
|
void |
testAdminCanEditAndDeleteAllComments()
|
void |
testAnonCanEditAndDeleteNothing()
|
void |
testAnonymous()
|
void |
testAnonymousComment()
|
void |
testCanAddCommentWhenNoIssueEditPerm()
|
void |
testDeleteComment()
|
void |
testEditComment()
|
void |
testEditCommentExpandRendered()
|
void |
testFredCanEditAndDeleteOwnComments()
|
void |
testGetCommentExpandRendered()
|
void |
testGetCommentFromWrongIssue()
|
void |
testGetCommentsExpandRendered()
|
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, getBaseUriPlus, getBaseUrl, getBaseUrlPlus, getBaseUrlPlus, getJSON, getRestApiUri, getRestApiUri, getRestApiUrl, isDumpHTML, POST, POST, PUT, PUT, setUpHttpUnitOptions, tearDownTest |
| Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
|---|
builtInCustomFieldKey, 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
Exceptionpublic void testViewComments()
public void testGetCommentExpandRendered()
public void testGetCommentsExpandRendered()
public void testEditComment()
public void testEditCommentExpandRendered()
public void testAddComment()
public void testAddCommentExpandRendered()
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
Exceptionpublic void testCanAddCommentWhenNoIssueEditPerm()
public void assertCommentsEqual(com.atlassian.jira.testkit.client.restclient.Comment comment1,
com.atlassian.jira.testkit.client.restclient.Comment comment2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||