Click or drag to resize

Act Class

The base class of all Act classes that are not expressions (such as invoking a void method).
Inheritance Hierarchy

Namespace:  SmartTests
Assembly:  SmartTests (in SmartTests.dll) Version: 1.8.0
Syntax
public abstract class Act : ActBase

The Act type exposes the following members.

Constructors
  NameDescription
Protected methodAct
Initializes a new instance of the Act class
Top
Properties
  NameDescription
Public propertyAssertions
The Smart Assertion implied in the Associated RunTest Overload methods, if any.
(Inherited from ActBase.)
Public propertyConstructor
The ConstructorInfo of the Act part of the test, if any.
(Inherited from ActBase.)
Public propertyContext
Gets the context of this Act.
(Inherited from ActBase.)
Public propertyException
The thrown Exception when running RunTest Overload methods, if any.
(Inherited from ActBase.)
Public propertyField
The FieldInfo of the Act part of the test, if any.
(Inherited from ActBase.)
Public propertyInstance
The instance of the Act part of the test, if any.
(Inherited from ActBase.)
Public propertyMember
The MemberInfo of the Act prt of the test, if any.
(Inherited from ActBase.)
Public propertyMethod
The MethodInfo of the Act part of the test, if any.
(Inherited from ActBase.)
Public propertyProperty
The PropertyInfo of the Act part of the test, if any.
(Inherited from ActBase.)
Top
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 the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke
Run the Act part of your test with a context.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Do not use directly. Prefer using RunTest Overload methods.
See Also