it
Class AbstractJerseyRestClientTest

java.lang.Object
  extended by com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase
      extended by it.AbstractJerseyRestClientTest
Direct Known Subclasses:
ExamplesTest, JerseyComponentRestClientTest, JerseyIssueRestClientCommentTest, JerseyIssueRestClientCreateIssueTest, JerseyIssueRestClientReadOnlyTest, JerseyIssueRestClientTest, JerseyIssueRestClientWithAnonymousThingsJerseyRestClientTest, JerseyIssueRestClientWorklogTest, JerseyMetadataRestClientReadOnlyTest, JerseyProjectRestClientReadOnlyTest, JerseyProjectRoleRestClientTest, JerseySearchRestClientTest, JerseySessionRestClientTest, JerseyUserRestClientTest, JerseyVersionRestClientTest, SessionAuthenticationHandlerTest

public abstract class AbstractJerseyRestClientTest
extends com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase
com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase.FuncTestLogger, com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase.RestoreConfig
 
Field Summary
protected  com.atlassian.jira.rest.client.internal.jersey.JerseyJiraRestClient client
           
protected  URI jiraAuthRootUri
           
protected  URI jiraRestRootUri
           
protected  URI jiraUri
           
protected  NullProgressMonitor pm
           
 
Fields inherited from class com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase
administration, assertions, environmentData, form, locator, log, navigation, page, parse, runningTestMethod, tester, text
 
Constructor Summary
AbstractJerseyRestClientTest()
           
 
Method Summary
 void beforeMethod()
           
protected  boolean isJira4x3OrNewer()
           
protected  boolean isJira4x4OrNewer()
           
protected  boolean isJira5xOrNewer()
           
protected  void setAdmin()
           
protected  void setAnonymousMode()
           
protected  void setClient(String username, String password)
           
protected  void setUser1()
           
protected  void setUser2()
           
 
Methods inherited from class com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase
afterMethod, beforeClass, getRestoreConfig, isTestEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jiraUri

protected URI jiraUri

client

protected com.atlassian.jira.rest.client.internal.jersey.JerseyJiraRestClient client

jiraRestRootUri

protected URI jiraRestRootUri

jiraAuthRootUri

protected URI jiraAuthRootUri

pm

protected final NullProgressMonitor pm
Constructor Detail

AbstractJerseyRestClientTest

public AbstractJerseyRestClientTest()
Method Detail

beforeMethod

public void beforeMethod()
Overrides:
beforeMethod in class com.atlassian.jira.nimblefunctests.framework.NimbleFuncTestCase

setAdmin

protected void setAdmin()

setClient

protected void setClient(String username,
                         String password)

setAnonymousMode

protected void setAnonymousMode()

setUser2

protected void setUser2()

setUser1

protected void setUser1()

isJira4x4OrNewer

protected boolean isJira4x4OrNewer()

isJira5xOrNewer

protected boolean isJira5xOrNewer()

isJira4x3OrNewer

protected boolean isJira4x3OrNewer()


Copyright © 2012 Atlassian Pty Ltd. All Rights Reserved.