TestResult Members

The TestResult type exposes the following members.

Constructors

  NameDescription
Protected methodTestResult
Creates an instance of the TestResult class.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Creates a string representation of a test result.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyExceptions
Gets a read-only list of exceptions caught during the test.
Public propertyExecutable
Gets a package element that was tested.
Public propertyFinishedAt
Gets a time when the test is finished.
Public propertyPackage
Gets a package that was tested.
Public propertyRepositoryName
Gets a repository name that contains the target package.
Public propertyStartedAt
Gets a time when the test is started.
Public propertyTestDescription
Gets the description of the unit test.
Public propertyTestId
Gets the id of the corresponding test.
Public propertyTestName
Gets the name of a class which implements the test.
Public propertyTestOutcome
Gets a value that represents the result of a test.

See Also