Class FilibusterCore


  • public class FilibusterCore
    extends java.lang.Object
    • Method Detail

      • getCurrentInstance

        public static FilibusterCore getCurrentInstance()
      • hasCurrentInstance

        public static boolean hasCurrentInstance()
      • getNumBypassedExecutions

        public int getNumBypassedExecutions()
      • removeCurrentInstance

        public static void removeCurrentInstance()
      • getMostRecentInitialTestExecutionReport

        public static TestExecutionReport getMostRecentInitialTestExecutionReport()
      • setMostRecentInitialTestExecutionReport

        public static void setMostRecentInitialTestExecutionReport​(TestExecutionReport report)
      • enableFaultInjection

        public void enableFaultInjection()
      • disableFaultInjection

        public void disableFaultInjection()
      • writePlaceholderReport

        public void writePlaceholderReport()
      • incrementTestScopeCounter

        public void incrementTestScopeCounter()
      • incrementTestScopeCounter

        public void incrementTestScopeCounter​(BlockType blockType)
      • getTestScopeCounter

        public int getTestScopeCounter()
      • getLastTestScopeBlockType

        public BlockType getLastTestScopeBlockType()
      • beginInvocation

        public org.json.JSONObject beginInvocation​(org.json.JSONObject payload)
      • endInvocation

        public org.json.JSONObject endInvocation​(org.json.JSONObject payload,
                                                 boolean isUpdate)
      • isNewTestExecution

        public boolean isNewTestExecution​(java.lang.String serviceName)
      • completeIteration

        public void completeIteration​(int currentIteration)
      • completeIteration

        public void completeIteration​(int currentIteration,
                                      int exceptionOccurred,
                                      @Nullable
                                      java.lang.Throwable throwable)
      • completeIteration

        public void completeIteration​(int currentIteration,
                                      int exceptionOccurred,
                                      java.lang.Throwable throwable,
                                      boolean shouldPrintRpcSummary)
      • iterationsRemaining

        public int iterationsRemaining()
      • hasNextIteration

        public boolean hasNextIteration​(int currentIteration)
      • hasNextIteration

        public boolean hasNextIteration​(int currentIteration,
                                        java.lang.String caller)
      • testContainsOrganicFailures

        public boolean testContainsOrganicFailures()
      • teardownsCompleted

        public void teardownsCompleted​(int currentIteration)
      • wasFaultInjected

        public boolean wasFaultInjected()
      • wasFaultInjectedOnService

        public boolean wasFaultInjectedOnService​(java.lang.String serviceName)
      • wasFaultInjectedOnHttpMethod

        public boolean wasFaultInjectedOnHttpMethod​(com.linecorp.armeria.common.HttpMethod httpMethod,
                                                    java.lang.String uriPattern)
      • wasFaultInjectedOnMethod

        public boolean wasFaultInjectedOnMethod​(java.lang.String serviceName,
                                                java.lang.String methodName)
      • wasFaultInjectedOnHttpRequest

        public boolean wasFaultInjectedOnHttpRequest​(com.linecorp.armeria.common.HttpMethod httpMethod,
                                                     java.lang.String uriPattern,
                                                     java.lang.String serializedRequestPattern)
      • wasFaultInjectedOnRequest

        public boolean wasFaultInjectedOnRequest​(java.lang.String serializedRequest)
      • wasFaultInjectedOnMethodWhereRequestContains

        public boolean wasFaultInjectedOnMethodWhereRequestContains​(java.lang.String serviceName,
                                                                    java.lang.String methodName,
                                                                    java.lang.String contains)
      • terminateFilibuster

        public void terminateFilibuster()
      • analysisFile

        public void analysisFile​(org.json.JSONObject analysisFile)