Click or drag to resize

TestFixture Methods

The TestFixture type exposes the following members.

Methods
  NameDescription
Protected methodCheckDisposed
Verifies that the fixture instance has not been disposed.
Protected methodCheckWithinAction
Verifies that the fixture instance's Start(Action) method is executing.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases all associated resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizer.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(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 methodOnRestart

Called when an already started fixture is being restarted. This provides the fixture an opportunity to do some custom initialization. This base method does nothing.

Note Note
This method is intended only for use by test fixture implementations. Unit tests or test fixtures should never call this directly.
Public methodReset
INTERNAL USE ONLY: Resets the fixture state.
Public methodStart
Starts the fixture if it hasn't already been started including invoking the optional Action when the first time Start(Action) is called for a fixture instance.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also