com.atlassian.confluence.api
Class RemoteServiceExceptionAcceptanceTest

java.lang.Object
  extended by com.atlassian.confluence.api.AbstractAcceptanceTest
      extended by com.atlassian.confluence.api.RemoteServiceExceptionAcceptanceTest

public class RemoteServiceExceptionAcceptanceTest
extends AbstractAcceptanceTest

Tests that ServiceExceptions thrown by API Services are correctly converted into RestErrors that can be used by the client.


Field Summary
 
Fields inherited from class com.atlassian.confluence.api.AbstractAcceptanceTest
rpc, testName
 
Constructor Summary
RemoteServiceExceptionAcceptanceTest()
           
 
Method Summary
 void setUp()
           
 void testDeleteUnknownContent()
           
 
Methods inherited from class com.atlassian.confluence.api.AbstractAcceptanceTest
commonSetUp, exceptionSupplier, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteServiceExceptionAcceptanceTest

public RemoteServiceExceptionAcceptanceTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

testDeleteUnknownContent

public void testDeleteUnknownContent()
                              throws ServiceException
Throws:
ServiceException


Copyright © 2003-2014 Atlassian. All Rights Reserved.