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 boolean
canLoadCounterexample()
static org.json.JSONObject
loadCounterexampleAsJsonObject(java.lang.String counterexampleFileName)
static org.json.JSONObject
loadCounterexampleAsJsonObjectFromEnvironment()
static org.json.JSONObject
loadTestExecutionFromCounterexample(org.json.JSONObject counterexample)
static org.json.JSONObject
shouldFailRequestWith(java.lang.String distributedExecutionIndex, org.json.JSONObject testExecution)
static org.json.JSONObject
shouldFailRequestWithOrDefault(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)
-
-