TestContextInfo Class |
Namespace: WeroSoft.UnitTesting
public class TestContextInfo : TestContext
The TestContextInfo type exposes the following members.
Name | Description | |
---|---|---|
TestContextInfo |
Initializes a new instance of the type TestContextInfo.
|
Name | Description | |
---|---|---|
CancellationTokenSource | (Inherited from TestContext.) | |
CurrentTestOutcome |
Gets the test outcome.
(Overrides TestContext.CurrentTestOutcome.) | |
DataConnection |
This property is not implemented.
(Overrides TestContext.DataConnection.) | |
DataRow |
This property is not implemented.
(Overrides TestContext.DataRow.) | |
DeploymentDirectory |
Gets the directory for files deployed for the test run. This property typically contains a subdirectory of TestRunDirectory.
(Overrides TestContext.DeploymentDirectory.) | |
FullyQualifiedTestClassName |
Gets the fully-qualified name of the class that contains the test method that is currently running.
(Overrides TestContext.FullyQualifiedTestClassName.) | |
ManagedMethod | (Inherited from TestContext.) | |
ManagedType | (Inherited from TestContext.) | |
Properties |
Gets the properties of the test context file.
(Overrides TestContext.Properties.) | |
ResultsDirectory |
Gets the top-level directory that contains test results and test result directories for the test run. This is typically a subdirectory of TestRunDirectory.
(Overrides TestContext.ResultsDirectory.) | |
TestDeploymentDir |
Gets the path to the test deployment directory. Deprecated. Use DeploymentDirectory instead.
(Overrides TestContext.TestDeploymentDir.) | |
TestDir |
Gets the path to the test directory. Deprecated. Use TestRunDirectory instead.
(Overrides TestContext.TestDir.) | |
TestLogsDir |
Gets the path to the test log directory. Deprecated. Use TestRunResultsDirectory instead.
(Overrides TestContext.TestLogsDir.) | |
TestName |
Gets the test name.
(Overrides TestContext.TestName.) | |
TestResultsDirectory |
Gets the directory for the test result files.
(Overrides TestContext.TestResultsDirectory.) | |
TestRunDirectory |
Gets the top-level directory for the test run that contains deployed files and result files.
(Overrides TestContext.TestRunDirectory.) | |
TestRunResultsDirectory |
Gets the top-level directory for the test run result files. This property typically contains a subdirectory of ResultsDirectory
(Overrides TestContext.TestRunResultsDirectory.) |
Name | Description | |
---|---|---|
AddResultFile |
This method is not implemented.
(Overrides TestContext.AddResultFile(String).) | |
BeginTimer |
This method is not implemented.
(Overrides TestContext.BeginTimer(String).) | |
EndTimer |
This method is not implemented.
(Overrides TestContext.EndTimer(String).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
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 the default hash function. (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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write(String) |
This method is not implemented.
(Overrides TestContext.Write(String).) | |
Write(String, Object) |
This method is not implemented.
(Overrides TestContext.Write(String, Object).) | |
WriteLine(String) |
This method is not implemented.
(Overrides TestContext.WriteLine(String).) | |
WriteLine(String, Object) |
Writes an output back to the original test context.
(Overrides TestContext.WriteLine(String, Object).) |
Name | Description | |
---|---|---|
Clone(CloneWorkingMode, IEnumerableType) | Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.) | |
CloneT(CloneWorkingMode, IEnumerableType) | Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.) | |
Convert | (Defined by DataConverterExtensions.) | |
CreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String) | Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.) | |
CreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32) | Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.) | |
CreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32) | Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.) | |
DynamicCast |
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.) | |
ExtractSystemParametersFromTrigger |
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Defined by TriggerExtensions.) | |
GetFieldValue(String) | Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.) | |
GetFieldValueT(String) | Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.) | |
GetPropertyValue(String) | Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.) | |
GetPropertyValueT(String) | Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.) | |
Inject(Type, Object) | Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.) | |
Inject(Type, Object, Boolean) | Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.) | |
InjectField |
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
InjectProperty(String, Object) | Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
InjectProperty(String, Type, Object) | Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
Invoke(String, Object) | Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.) | |
InvokeTResult(String, Object) | Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.) | |
SetFieldValue |
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.) | |
SetPropertyValue |
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.) | |
SetReadOnlyFieldValue |
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.) | |
TryInjectProperty |
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.) |