com.atlassian.confluence.it.rpc
Class RpcAssertions
java.lang.Object
com.atlassian.confluence.it.rpc.RpcAssertions
public class RpcAssertions
- extends java.lang.Object
Some common assertions that crop up while testing RPC methods
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcAssertions
public RpcAssertions()
assertCausesRemoteException
public static void assertCausesRemoteException(ConfluenceRpc rpc,
java.lang.String methodName,
java.lang.Object... args)
- Execute an RPC call with the expectation that it will throw a RemoteException
assertCausesNotPermittedException
public static void assertCausesNotPermittedException(ConfluenceRpc rpc,
java.lang.String methodName,
java.lang.Object... args)
- Execute an RPC call with the expectation that it will throw a RemoteException
assertIsRemoteException
public static void assertIsRemoteException(java.lang.Throwable e)
assertIsNotPermittedException
public static void assertIsNotPermittedException(java.lang.Throwable e)
Copyright © 2003-2014 Atlassian. All Rights Reserved.