it
Class JerseyIssueRestClientReadOnlyTest

java.lang.Object
  extended by com.atlassian.jira.rest.client.functest.framework.FuncTestCase4
      extended by it.AbstractJerseyRestClientTest
          extended by it.JerseyIssueRestClientReadOnlyTest

public class JerseyIssueRestClientReadOnlyTest
extends AbstractJerseyRestClientTest

Those tests mustn't change anything on server side, as jira is restored only once


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.rest.client.functest.framework.FuncTestCase4
FuncTestCase4.FakeFuncTestCase, FuncTestCase4.RestoreConfig
 
Field Summary
 
Fields inherited from class it.AbstractJerseyRestClientTest
client, jiraAuthRootUri, jiraRestRootUri, jiraUri, pm
 
Fields inherited from class com.atlassian.jira.rest.client.functest.framework.FuncTestCase4
administration, assertions, environmentData, form, locator, log, navigation, page, parse, runningTestMethod, tester, text
 
Constructor Summary
JerseyIssueRestClientReadOnlyTest()
           
 
Method Summary
 void testGetIssue()
           
 void testGetIssueWithAnonymouslyCreatedAttachment()
           
 void testGetIssueWithAnonymouslyCreatedWorklogEntry()
           
 void testGetIssueWithNonTrivialComments()
           
 void testGetIssueWithNoViewWatchersPermission()
           
 void testGetTransitions()
           
 void testGetVoter()
           
 void testGetVotersAnonymously()
           
 void testGetVotersWithoutViewIssuePermission()
           
 void testGetVotersWithoutViewVotersPermission()
           
 void testGetWatcherForAnonymouslyAccessibleIssue()
           
 void testGetWatchers()
           
 void testTransition()
           
 
Methods inherited from class it.AbstractJerseyRestClientTest
beforeMethod, doesJiraSupportRestIssueLinking, isJira4x3OrNewer, isJira4x4OrNewer, isJira5xOrNewer, setAdmin, setAnonymousMode, setClient, setUser1, setUser2
 
Methods inherited from class com.atlassian.jira.rest.client.functest.framework.FuncTestCase4
afterMethod, beforeClass, getRestoreConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JerseyIssueRestClientReadOnlyTest

public JerseyIssueRestClientReadOnlyTest()
Method Detail

testGetWatchers

public void testGetWatchers()
                     throws Exception
Throws:
Exception

testGetWatcherForAnonymouslyAccessibleIssue

public void testGetWatcherForAnonymouslyAccessibleIssue()

testGetIssueWithAnonymouslyCreatedAttachment

public void testGetIssueWithAnonymouslyCreatedAttachment()

testGetIssueWithAnonymouslyCreatedWorklogEntry

public void testGetIssueWithAnonymouslyCreatedWorklogEntry()

testGetIssue

public void testGetIssue()
                  throws Exception
Throws:
Exception

testGetIssueWithNonTrivialComments

public void testGetIssueWithNonTrivialComments()

testGetIssueWithNoViewWatchersPermission

public void testGetIssueWithNoViewWatchersPermission()

testGetVoter

public void testGetVoter()

testGetVotersWithoutViewIssuePermission

public void testGetVotersWithoutViewIssuePermission()

testGetVotersWithoutViewVotersPermission

public void testGetVotersWithoutViewVotersPermission()

testGetVotersAnonymously

public void testGetVotersAnonymously()

testGetTransitions

public void testGetTransitions()
                        throws Exception
Throws:
Exception

testTransition

public void testTransition()
                    throws Exception
Throws:
Exception


Copyright © 2012 Atlassian Pty Ltd. All Rights Reserved.