Class Counterexample
- java.lang.Object
-
- cloud.filibuster.instrumentation.helpers.Counterexample
-
public class Counterexample extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancanLoadCounterexample()static org.json.JSONObjectloadCounterexampleAsJsonObject(java.lang.String counterexampleFileName)static org.json.JSONObjectloadCounterexampleAsJsonObjectFromEnvironment()static org.json.JSONObjectloadTestExecutionFromCounterexample(org.json.JSONObject counterexample)static org.json.JSONObjectshouldFailRequestWith(java.lang.String distributedExecutionIndex, org.json.JSONObject testExecution)static org.json.JSONObjectshouldFailRequestWithOrDefault(java.lang.String distributedExecutionIndex, org.json.JSONObject testExecution)
-
-
-
Method Detail
-
canLoadCounterexample
public static boolean canLoadCounterexample()
-
loadCounterexampleAsJsonObjectFromEnvironment
public static org.json.JSONObject loadCounterexampleAsJsonObjectFromEnvironment()
-
loadCounterexampleAsJsonObject
public static org.json.JSONObject loadCounterexampleAsJsonObject(java.lang.String counterexampleFileName)
-
loadTestExecutionFromCounterexample
public static org.json.JSONObject loadTestExecutionFromCounterexample(org.json.JSONObject counterexample)
-
shouldFailRequestWith
@Nullable public static org.json.JSONObject shouldFailRequestWith(java.lang.String distributedExecutionIndex, org.json.JSONObject testExecution)
-
shouldFailRequestWithOrDefault
public static org.json.JSONObject shouldFailRequestWithOrDefault(java.lang.String distributedExecutionIndex, org.json.JSONObject testExecution)
-
-