Class GenericAssertions
- java.lang.Object
-
- cloud.filibuster.junit.assertions.protocols.GenericAssertions
-
- Direct Known Subclasses:
GrpcAssertions
public class GenericAssertions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GenericAssertions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanwasFaultInjected()Returns true if any fault was injected.protected static booleanwasFaultInjectedHelper(java.lang.String uri)static booleanwasFaultInjectedOnJavaClassAndMethod(java.lang.String fullyQualifiedMethodName)Returns true if a fault was injected on the following Java method.static booleanwasFaultInjectedOnJavaClassAndMethod(java.lang.String className, java.lang.String methodName)Returns true if a fault was injected on the following Java method.
-
-
-
Method Detail
-
wasFaultInjected
public static boolean wasFaultInjected()
Returns true if any fault was injected.- Returns:
- if a fault was injected.
-
wasFaultInjectedOnJavaClassAndMethod
public static boolean wasFaultInjectedOnJavaClassAndMethod(java.lang.String className, java.lang.String methodName)Returns true if a fault was injected on the following Java method.- Parameters:
className- class name including fully-qualified namespace and packagemethodName- method name- Returns:
- if a fault was injected.
-
wasFaultInjectedOnJavaClassAndMethod
public static boolean wasFaultInjectedOnJavaClassAndMethod(java.lang.String fullyQualifiedMethodName)
Returns true if a fault was injected on the following Java method.- Parameters:
fullyQualifiedMethodName- fully qualified class name in form com.namespace.package.class/Method*- Returns:
- if a fault was injected.
-
wasFaultInjectedHelper
protected static boolean wasFaultInjectedHelper(java.lang.String uri)
-
-