![]() | |
UnitTest Class |
Namespace: WeroSoft.UnitTesting
public static class UnitTest
The UnitTest type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ClassName |
Gets the class name of the Unit Test responsible for the current code execution.
|
![]() ![]() | MethodName |
Gets the method name of the Unit Test responsible for the current code execution.
|
Name | Description | |
---|---|---|
![]() ![]() | CreateGenericCollectionType |
Creates a type representing a generic collection by its base type and its generic parameters.
|
![]() ![]() | CreateGenericType |
Creates a generic type based on the particular base elements.
|
![]() ![]() | CreateInstance(Assembly, String, Object) |
Creates an instance using a particular assembly.
|
![]() ![]() | CreateInstanceT(Assembly, String, Object) |
Creates an instance using a particular assembly.
|
![]() ![]() | CreateMessage(String, Object) |
Creates a message like it is performed by the method string.Format().
|
![]() ![]() | CreateMessage(IFormatProvider, String, Object) |
Creates a message like it is performed by the method string.Format().
|
![]() ![]() | GetFieldValue(Object, String) |
Gets the data object held by a defined field of a particular type.
|
![]() ![]() | GetFieldValueT(Object, String) |
Gets the data object held by a defined field of a particular type.
|
![]() ![]() | GetFieldValueT(Type, String) |
Gets the data object held by a defined field of a particular type.
|
![]() ![]() | GetPropertyValue(Object, String) |
Gets the data object held by a defined property of a particular type.
|
![]() ![]() | GetPropertyValue(Type, String) |
Gets the data object held by a defined static property of a particular type.
|
![]() ![]() | GetPropertyValueT(Object, String) |
Gets the data object held by a defined property of a particular type.
|
![]() ![]() | GetPropertyValueT(Type, String) |
Gets the data object held by a defined property of a particular type.
|
![]() ![]() | GetTypeSmart |
Gets a type defined by its full name or it's name from a defined assembly.
|
![]() ![]() | Invoke(Object, String, Object) |
Invokes a method on an object by reflection.
|
![]() ![]() | Invoke(Type, String, Object) |
Invokes a method on an object by reflection.
|
![]() ![]() | InvokeTResult(Object, String, Object) |
Invokes a method on an object by reflection.
|
![]() ![]() | InvokeTResult(Type, String, Object) |
Invokes a static method on a particular type.
|
![]() ![]() | SetFieldValue(Object, String, Object) |
Sets the data object on a defined field of a particular type.
|
![]() ![]() | SetFieldValue(Type, String, Object) |
Sets the data object on a defined field of a particular type.
|
![]() ![]() | SetPropertyValue(Object, String, Object) |
Sets the data object on a defined property of a particular type.
|
![]() ![]() | SetPropertyValue(Type, String, Object) |
Sets the data object on a defined property of a particular type.
|
![]() ![]() | SetReadOnlyFieldValue(Object, String, Object) |
Sets the data object on a defined field of a particular type.
|
![]() ![]() | SetReadOnlyFieldValue(Type, String, Object) |
Sets the data object on a defined read only field of a particular type.
|
![]() ![]() | StartTestHost(String, String, String, Process) |
Starts the test server.
|
![]() ![]() | StartTestHost(String, String, String, String, Process, Int32) |
Starts the test server.
|
![]() ![]() | StopTestHost |
Stops running the test host.
|
Name | Description | |
---|---|---|
![]() ![]() | TestClassNotFound |
Gets the string which is returned, if no class marked with the TestClassAttribute is found ().
|
![]() ![]() | TestMethodNotFound |
Gets the string which is returned, if no method marked with the TestMethodAttribute is found ().
|