|
||||||||||
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.TestWorklogResource
public class TestWorklogResource
Func test for Worklog resource.
Field Summary | |
---|---|
static String |
TIME_FORMAT
|
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 | |
---|---|
TestWorklogResource()
|
Method Summary | |
---|---|
protected void |
setUpTest()
Setup for an actual test |
void |
testAddWorklog()
|
void |
testAddWorklogIssueFields()
|
void |
testAddWorklogUsingSeconds()
|
void |
testAddWorklogWhenGroupDoesntExist()
|
void |
testAddWorklogWhenRoleDoesntExist()
|
void |
testDeleteWorklog()
|
void |
testDeleteWorklogAdjustEstimate()
|
void |
testEditWorklog()
|
void |
testEditWorklogIssueFields()
|
void |
testEditWorklogToGroupWhichDoesntExist()
|
void |
testEditWorklogToRoleWhichDoesntExist()
|
void |
testViewAllWorklogs()
|
void |
testViewWorklog()
|
void |
testViewWorklogNotFound()
|
void |
testWorklogVisibility()
|
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, createRestClient, createRestClient, getAssertions, getEnvironmentData, getTester, getWebClientListener, log, log, runBare, runTest, setEnvironmentData, setUp, shouldSkipSetup, tearDown, waitAndReloadBulkOperationProgressPage, waitAndReloadBulkOperationProgressPage, 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 |
Field Detail |
---|
public static final String TIME_FORMAT
Constructor Detail |
---|
public TestWorklogResource()
Method Detail |
---|
public void testViewWorklog() throws Exception
Exception
public void testViewWorklogNotFound() throws Exception
Exception
public void testViewAllWorklogs() throws Exception
Exception
public void testAddWorklog() throws Exception
Exception
public void testAddWorklogUsingSeconds() throws Exception
Exception
public void testAddWorklogWhenRoleDoesntExist()
public void testAddWorklogWhenGroupDoesntExist()
public void testEditWorklog() throws Exception
Exception
public void testEditWorklogToRoleWhichDoesntExist()
public void testEditWorklogToGroupWhichDoesntExist()
public void testAddWorklogIssueFields() throws Exception
Exception
public void testEditWorklogIssueFields() throws Exception
Exception
public void testDeleteWorklog() throws Exception
Exception
public void testDeleteWorklogAdjustEstimate() throws Exception
Exception
public void testWorklogVisibility() throws Exception
Exception
protected void setUpTest()
FuncTestCase
setUpTest
in class RestFuncTest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |