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, RemoteContentServiceAcceptanceTest, 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 java.lang.Exception
- Throws:
java.lang.Exception
getService
protected abstract java.lang.Object getService()
- Returns:
- the proxy of the API Service under test.
getServiceClass
protected abstract java.lang.Class getServiceClass()
- Returns:
- the class of the API Service under test.
testServiceProxy
public void testServiceProxy()
throws java.lang.Exception
- Test that RemoteService equivalents for API Service interfaces include all of the methods on the Services.
- Throws:
java.lang.Exception
getExcludedMethodNamesForProxyTest
protected java.util.Collection<java.lang.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-2014 Atlassian. All Rights Reserved.