Directory Class |
Namespace: SIC.Test.Helper
The Directory type exposes the following members.
Name | Description | |
---|---|---|
_TestContext |
Temporary TestContext object. Uses see TestContext.
| |
CreateDirectory |
Should be created the directory.
| |
Data |
Gives directory of test data files
| |
DataRedirect |
Regular test data directory or manual (DataRedirecting | |
DataRedirecting |
Redirection test data directory. Example @"C:\Work\Data\"
| |
GetProjectDirectory |
Get regular test project directory. Compose path: source directory \ project name.
| |
Result |
Gives test result directory. Control by variable ResultRedirect | |
ResultRedirect |
Regular test result directory from object TestContext is deleted when test was successful
so can this redirect to ResultRedirecting | |
ResultRedirecting |
Redirection test result directory. Detail see ResultRedirect. Example @"C:\Work\"
| |
TestContext |
Test context object used properties e.g. property TestDir (test directory) writing for test data
|
Name | Description | |
---|---|---|
CheckPath |
Check exists path (directory). If not exist then create directory and gives text "created" back.
| |
Equals | (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 a hash function for a particular type. (Inherited from Object.) | |
GetPath |
Check path with ends \. If not then adds a \.
| |
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.) |