com.atlassian.confluence.it.rest
Class AbstractRestAcceptanceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.it.rest.AbstractRestAcceptanceTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BreadcrumbsAcceptanceTest, CommentAcceptanceTest, ContentAcceptanceTest, GroupsAcceptanceTest, I18nAcceptanceTest, KeyboardShortcutAcceptanceTest, PageAcceptanceTest, QuickReloadAcceptanceTest, RestAttachmentAcceptanceTest, RestEditorAcceptanceTest, RestSignupAcceptanceTest, RestSpaceAcceptanceTest, RestSpaceListAcceptanceTest, UserAcceptanceTest, UserHistoryAcceptanceTest, UsersAcceptanceTest

Deprecated. Since 5.2. No replacement. Write a JUnit 4 test with the helpers you need.

@Deprecated
public class AbstractRestAcceptanceTest
extends com.atlassian.confluence.junit3.JUnit3TimingTestCase


Field Summary
protected  java.lang.String baseUrl
          Deprecated. 
protected  com.sun.jersey.api.client.Client client
          Deprecated. 
protected static java.lang.String CONTENT_PATH
          Deprecated. 
protected static java.lang.String I18N_PATH
          Deprecated. 
 org.junit.rules.TestName name
          Deprecated.  
protected  com.sun.jersey.api.client.WebResource rootResource
          Deprecated. 
protected  ConfluenceRpc rpc
          Deprecated. 
protected  ServerStateManager serverStateManager
          Deprecated. 
protected static java.lang.String SPACE_PATH
          Deprecated. 
protected static Page TEST_PAGE
          Deprecated. 
protected static Space TEST_SPACE
          Deprecated. 
protected  AcceptanceTestHelper testHelper
          Deprecated. 
protected  UserManagementHelper userHelper
          Deprecated. 
 
Constructor Summary
AbstractRestAcceptanceTest()
          Deprecated.  
 
Method Summary
protected  void setUp()
          Deprecated.  
protected  void tearDown()
          Deprecated.  
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, 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

SPACE_PATH

@Deprecated
protected static final java.lang.String SPACE_PATH
Deprecated. 
See Also:
Constant Field Values

CONTENT_PATH

@Deprecated
protected static final java.lang.String CONTENT_PATH
Deprecated. 
See Also:
Constant Field Values

I18N_PATH

@Deprecated
protected static final java.lang.String I18N_PATH
Deprecated. 
See Also:
Constant Field Values

TEST_SPACE

@Deprecated
protected static final Space TEST_SPACE
Deprecated. 

TEST_PAGE

@Deprecated
protected static final Page TEST_PAGE
Deprecated. 

testHelper

@Deprecated
protected final AcceptanceTestHelper testHelper
Deprecated. 

name

public org.junit.rules.TestName name
Deprecated. 

rpc

@Deprecated
protected ConfluenceRpc rpc
Deprecated. 

baseUrl

@Deprecated
protected java.lang.String baseUrl
Deprecated. 

client

@Deprecated
protected com.sun.jersey.api.client.Client client
Deprecated. 

serverStateManager

@Deprecated
protected ServerStateManager serverStateManager
Deprecated. 

userHelper

@Deprecated
protected UserManagementHelper userHelper
Deprecated. 

rootResource

@Deprecated
protected com.sun.jersey.api.client.WebResource rootResource
Deprecated. 
Constructor Detail

AbstractRestAcceptanceTest

public AbstractRestAcceptanceTest()
Deprecated. 
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Deprecated. 
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Deprecated. 
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception


Copyright © 2003-2013 Atlassian. All Rights Reserved.