Click or drag to resize

ActT Class

The base class of all Act classes that are expressions.
Inheritance Hierarchy

Namespace:  SmartTests
Assembly:  SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax
public abstract class Act<T> : ActBase

Type Parameters

T
The result Type of the Act.

The ActT type exposes the following members.

Constructors
  NameDescription
Protected methodActT
Initializes a new instance of the ActT 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.)
Public propertyResult
The returned value of the Act.
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.
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