Compartir a través de


CoverageDynamicTraversal Members

A coverage dynamic traversal.

The following tables list the members exposed by the CoverageDynamicTraversal type.

Protected Constructors

  Name Description
  CoverageDynamicTraversal The constructor.

Top

Protected Fields

  Name Description
protected field callDelegates  A mapping relation between call transition and its callback delegates. (Inherited from DynamicTraversalBase)
protected field eventDelegates  A mapping relation between event transition and its callback delegates. (Inherited from DynamicTraversalBase)
protected field returnDelegates  A mapping relation between return transition and its callback delegates. (Inherited from DynamicTraversalBase)
protected field startTime  The start time of dynamic traversal. (Inherited from DynamicTraversalBase)
protected field stateCoverageCounterDict Dictionary stores state coverage information.
protected field testCleanup  Test cleanup callback delegate. (Inherited from DynamicTraversalBase)
protected field testInitialize  Test initialize callback delegate. (Inherited from DynamicTraversalBase)
protected field testProperties  Test properties associates with the traversal. (Inherited from DynamicTraversalBase)
protected field transitionCoverageCounterDict Dictionary stores transition coverage information.
protected field transitionSystem  Transition system which is traversed on. (Inherited from DynamicTraversalBase)

Top

Public Properties

  Name Description
public property Manager  The test manager used to monitor return/event queue, handle event/return selection. (Inherited from DynamicTraversalBase)
public property ProceedControlTimeout  Gets or sets proceed control timeout. (Inherited from DynamicTraversalBase)
public property QuiescenceTimeout  Gets or sets quiescence timeout. (Inherited from DynamicTraversalBase)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method ChooseControllableTransition  Choose a controllable transition. (Inherited from DynamicTraversalBase)
public method ChooseInitialState  Choose an initial state from transition system (Inherited from DynamicTraversalBase)
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method RunTestSuite  In general, the strategy interacts with serialized transition system to verify SUT on the fly. (Inherited from DynamicTraversalBase)
public method ShouldStopTestCaseAt  Whether to stop test case at an accepting state. (Inherited from DynamicTraversalBase)
public method ShouldStopTestSuite  Whether to stop the test suite. (Inherited from DynamicTraversalBase)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method CoverState The event handler when a state is covered.
protected method CoverTransition The event handler when a transition is taken
protected method Finalize  (Inherited from Object)
protected method GenerateExpectedEvents  Generate ExpectedEvent array for a list of event transitions. (Inherited from DynamicTraversalBase)
protected method GenerateExpectedReturns  Generate ExpectedReturn array for a list of return transitions. (Inherited from DynamicTraversalBase)
protected method GetUniqueTestCaseName  Get an unique test case name. (Inherited from DynamicTraversalBase)
protected method MemberwiseClone  (Inherited from Object)
protected method RunTest  Run test from a given initial state. (Inherited from DynamicTraversalBase)
protected method SplitEventControlTransitions  Split transtions to event transitions and control transitions. (Inherited from DynamicTraversalBase)

Top

Protected Events

  Name Description
protected event StateReached  State notification handler which can be used to collect state coverage information. (Inherited from DynamicTraversalBase)
protected event TransitionTaken  Transition notification handler which can be used to collect transition coverage information. (Inherited from DynamicTraversalBase)

Top

See Also

Reference

CoverageDynamicTraversal Class
Microsoft.SpecExplorer.DynamicTraversal Namespace