com.atlassian.confluence.api
Class AbstractRemoteServiceAcceptanceTest
java.lang.Object
com.atlassian.confluence.api.AbstractAcceptanceTest
com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
- Direct Known Subclasses:
- RemoteAttachmentServiceAcceptanceTest, RemoteChildContentServiceAcceptanceTest, RemoteContentBodyConversionServiceAcceptanceTest, RemoteContentLabelServiceAcceptanceTest, RemoteContentMacroServiceAcceptanceTest, RemoteContentPropertyServiceAcceptanceTest, RemoteContentRestrictionServiceAcceptanceTest, RemoteContentServiceAcceptanceTest, RemoteContentTrashServiceAcceptanceTest, RemoteCQLSearchServiceAcceptanceTest, RemoteSpaceServiceAcceptanceTest
public abstract class AbstractRemoteServiceAcceptanceTest
- extends AbstractAcceptanceTest
Provides common acceptance tests for RemoteServices.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxyCreator
protected ProxyCreator proxyCreator
AbstractRemoteServiceAcceptanceTest
public AbstractRemoteServiceAcceptanceTest()
proxySetUp
public final void proxySetUp()
throws Exception
- Throws:
Exception
getService
protected abstract Object getService()
- Returns:
- the proxy of the API Service under test.
getServiceClass
protected abstract Class getServiceClass()
- Returns:
- the class of the API Service under test.
testServiceProxy
public void testServiceProxy()
throws Exception
- Test that RemoteService equivalents for API Service interfaces include all of the methods on the Services.
- Throws:
Exception
getExcludedMethodNamesForProxyTest
protected Collection<String> getExcludedMethodNamesForProxyTest()
- Returns a collection of method names to skip the proxy test for.
Overridden by test classes for services with methods that are known to be implemented on the proxy, but
not able to be tested with the logic in testServiceProxy. If we end up fixing the logic, these exclusions
can (and should) be removed.
Copyright © 2003–2015 Atlassian. All rights reserved.