ClockMock Class |
Namespace: Test.Framework
The ClockMock type exposes the following members.
Name | Description | |
---|---|---|
Behavior | (Inherited from Mock.) | |
CallBase | (Inherited from Mock.) | |
DefaultValue | (Inherited from Mock.) | |
LocalNowValue |
Gets or sets the value of the LocalNow property.
| |
Object | (Inherited from MockIClock.) | |
UtcNowValue |
Gets or sets the value of the UtcNow property.
|
Name | Description | |
---|---|---|
AddMilliseconds |
Advances UtcNowValue and LocalNowValue by so-many milliseconds.
| |
As``1 | (Inherited from Mock.) | |
Equals | (Inherited from Object.) | |
Expect(ExpressionActionUTP) | Obsolete. (Inherited from MockIClock.) | |
Expect(ExpressionActionUTP) | Obsolete. (Inherited from MockIClock.) | |
ExpectGet``1 | Obsolete. (Inherited from MockIClock.) | |
ExpectSet``1(ExpressionFuncUTP, UMP) | Obsolete. (Inherited from MockIClock.) | |
ExpectSet``1(ExpressionFuncUTP, UMP, UMP) | Obsolete. (Inherited from MockIClock.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnGetObject | (Inherited from MockIClock.) | |
Raise(ActionUTP, EventArgs) | (Inherited from MockIClock.) | |
Raise(ActionUTP, Object) | (Inherited from MockIClock.) | |
SetReturnsDefault``1 | (Inherited from Mock.) | |
Setup(ExpressionActionUTP) | (Inherited from MockIClock.) | |
Setup(ExpressionActionUTP) | (Inherited from MockIClock.) | |
SetupAllProperties | (Inherited from MockIClock.) | |
SetupGet``1 | (Inherited from MockIClock.) | |
SetupProperty``1(ExpressionFuncUTP, UMP) | (Inherited from MockIClock.) | |
SetupProperty``1(ExpressionFuncUTP, UMP, UMP) | (Inherited from MockIClock.) | |
SetupSet``1 | (Inherited from MockIClock.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Verify | (Inherited from Mock.) | |
Verify(ExpressionActionUTP) | (Inherited from MockIClock.) | |
Verify(ExpressionActionUTP, Times) | (Inherited from MockIClock.) | |
Verify(ExpressionActionUTP, String) | (Inherited from MockIClock.) | |
Verify(ExpressionActionUTP, Times, String) | (Inherited from MockIClock.) | |
Verify(ExpressionActionUTP) | (Inherited from MockIClock.) | |
Verify(ExpressionActionUTP, Times) | (Inherited from MockIClock.) | |
Verify(ExpressionActionUTP, String) | (Inherited from MockIClock.) | |
Verify(ExpressionActionUTP, Times, String) | (Inherited from MockIClock.) | |
VerifyAll | (Inherited from Mock.) | |
VerifyGet``1(ExpressionFuncUTP, UMP) | (Inherited from MockIClock.) | |
VerifyGet``1(ExpressionFuncUTP, UMP, Times) | (Inherited from MockIClock.) | |
VerifyGet``1(ExpressionFuncUTP, UMP, String) | (Inherited from MockIClock.) | |
VerifyGet``1(ExpressionFuncUTP, UMP, Times, String) | (Inherited from MockIClock.) | |
VerifySet(ActionUTP) | (Inherited from MockIClock.) | |
VerifySet(ActionUTP, Times) | (Inherited from MockIClock.) | |
VerifySet(ActionUTP, String) | (Inherited from MockIClock.) | |
VerifySet(ActionUTP, Times, String) | (Inherited from MockIClock.) | |
When | (Inherited from MockIClock.) |