|
||||||||||
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.TestIssueResourceWatchers
public class TestIssueResourceWatchers
Func tests for issue watching use cases.
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 | |
---|---|
TestIssueResourceWatchers()
|
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 TestIssueResourceWatchers()
Method Detail |
---|
public void testWatchingDisabled() throws Exception
Exception
public void testViewWatchersRequestExpanded() throws Exception
Exception
public void testViewWatchersNoPermissionToViewButCanStillSeeCount() throws Exception
Exception
public void testViewWatchersNoPermissionToViewButCanStillSeeMyselfAndCount() throws Exception
Exception
public void testViewWatchersIsWatching() throws Exception
Exception
public void testViewWatchersIsNotWatching() throws Exception
Exception
public void testWatchers_Anonymous() throws Exception
Exception
public void testViewWatchersSubresourceExpanded() throws Exception
Exception
public void testViewWatchersSubresourceExpandedIssueDoesNotExist() throws Exception
Exception
public void testAddWatchWhenWatchingIsDisabled() throws Exception
Exception
public void testAddWatchToIssueThatDoesNotExist() throws Exception
Exception
public void testAddWatchToIssueThatIAmAlreadyWatching() throws Exception
Exception
public void testAddWatchToIssue() throws Exception
Exception
public void testAddWatchToIssue_emptyPOST() throws Exception
Exception
public void testAddWatchForAnotherUser() throws Exception
Exception
public void testAddWatchForAnotherUserCannotView() throws Exception
Exception
public void testRemoveWatchForAnotherUserCannotView() throws Exception
Exception
public void testRemoveWatchWhenWatchingIsDisabled() throws Exception
Exception
public void testRemoveWatchToIssueThatDoesNotExist() throws Exception
Exception
public void testRemoveWatchFromIssueThatIAmNotWatching() throws Exception
Exception
public void testRemoveWatchForAnotherUser_Denied() throws Exception
Exception
public void testRemoveWatchForAnotherUser_Allowed() throws Exception
Exception
public void testRemoveWatch() throws Exception
Exception
public void testSlashNamesWatchIssue() throws Exception
Exception
public void testAddingOrRemovingWatcherFromIssuesThatIAmNotAllowedToSeeReturns401() throws Exception
Exception
protected boolean isWatching(String issueKey, String username)
protected void restoreData(boolean watchingEnabled) throws IOException
IOException
protected void setUpTest()
FuncTestCase
setUpTest
in class RestFuncTest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |