Partilhar via


ExpectedReturn Members

Describes a method return that a test expects from the system under test. This structure supports the generated test cases and is not intended to be used directly from your code.

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

Public Constructors

  Name Description
  ExpectedReturn Initializes a new instance of the ExpectedReturn structure.

Top

Public Properties

  Name Description
public property Checker Gets the method to call when the method return arrives.
public property Method Gets the reflection information for the method return.
public property Target Gets the object on which the method was called.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  Overridden. (Inherited from Object)
public method GetHashCode  Overridden. (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString Overridden. Returns a string that represents the method return.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

ExpectedReturn Structure
Microsoft.SpecExplorer.Runtime.Testing Namespace