ClearMocksAttribute Properties

Typemock Isolator Developer Guide

The ClearMocksAttribute type exposes the following members.

Properties

  NameDescription
Public propertyHasTearDown
Signals that the test has a teardown method
(Inherited from DecoratorAttribute.)
Public propertyIgnoreStaleMocks
When set Typemock will not track stale mocks. A stale mock is an object that was faked in a previous test is used in current test. This may lead to an unexpected behavior.
(Inherited from DecoratorAttribute.)
Public propertyIsTearDown
Signals that the method being called is a teardown method
(Inherited from DecoratorAttribute.)
Protected propertyOriginalContext
Retrieves the instance that the original method was called with.
(Inherited from DecoratorAttribute.)
Protected propertyOriginalMethod
Retrieves the Original method info (the method which is tagged by the attribute)
(Inherited from DecoratorAttribute.)
Protected propertyOriginalParams
Retrieves the original parameters that were passed to the original method
(Inherited from DecoratorAttribute.)
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Top
See Also

Reference