BaseModelHelpers Methods
Gets the version string including the build time in UTC of the provided assembly Version.
public static string GetVersionString(
Version versionInfo
)
Parameter | Description |
versionInfo | Type: Version
The version information of the assembly for which the version string shall be built. E.g. var assembly = System.Reflection.Assembly.GetExecutingAssembly().GetName(); versionInfo = assembly.Version; |
Logs the assembly version of the base model, if it wasn't already logged before.
public static void LogBaseModelVersion(
ITester t
)
Parameter | Description |
t | Access to the tester interface. |
Maps the remote directory on the host and returns a directory info for the remote directory.
Make sure to unmap the remote directory in the tear down step by calling UnmapRemoteDirectoryOnHost!
public static DirectoryInfo MapRemoteDirectoryOnHost(
ITester t
)
Parameter | Description |
t | Access to the tester interface. |
Exception | Condition |
RemoteDirectory could not be mapped on host. |
public static void UnmapRemoteDirectoryOnHost(
ITester t
)
Parameter | Description |
t | The tester interface. |
Last modified 3yr ago