Annotation Interface JmcTrustStrategy
This annotation is used to configure the JMC trust strategy for a test method or class. It allows
specifying the scheduling policy, seed, debug mode, and report path for the trust strategy.
It can be applied to methods or classes and is equivalent to using the JmcCheckConfiguration.strategy() with value "trust".
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDebug flag to enable graph logging.The path to store the execution graphs explored.The scheduling policy for the trust strategy.longThe seed for the scheduling strategy.
-
Element Details
-
seed
long seedThe seed for the scheduling strategy.- Default:
0L
-
schedulingPolicy
TrustStrategy.SchedulingPolicy schedulingPolicyThe scheduling policy for the trust strategy.- RANDOM: Randomly selects a thread to schedule. - FIFO: Selects the thread that has been waiting the longest.
- Default:
RANDOM
-
debug
boolean debugDebug flag to enable graph logging.- Default:
false
-
reportPath
String reportPathThe path to store the execution graphs explored.- Default:
"build/test-results/jmc-report"
-