Export (0) Print
Expand All

TestContext Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The TestContext type exposes the following members.

  Name Description
Public method AddResultFile When overridden in a derived class, adds a file name to the list in TestResult.ResultFileNames.
Public method BeginTimer When overridden in a derived class, begins a timer with the specified name.
Public method EndTimer When overridden in a derived class, ends a timer with the specified name.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteLine When overridden in a derived class, used to write trace messages while the test is running.
Top
Show:
© 2015 Microsoft