BaseModelHelpers Methods
GetVersionString
Gets the version string including the build time in UTC of the provided assembly Version.
Syntax:
Parameters:
Parameter
Description
versionInfo
var assembly = System.Reflection.Assembly.GetExecutingAssembly().GetName();
versionInfo = assembly.Version;
LogBaseModelVersion
Logs the assembly version of the base model, if it wasn't already logged before.
Syntax:
Parameters:
Parameter
Description
t
Access to the tester interface.
MapRemoteDirectoryOnHost
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!
Syntax:
Parameters:
Parameter
Description
t
Access to the tester interface.
Return Value:
A System.IO.DirectoryInfo for the mapped remote directory.
Exceptions:
Exception
Condition
RemoteDirectory could not be mapped on host.
UnmapRemoteDirectoryOnHost
Unmaps the remote directory on the host.
Syntax:
Parameters:
Parameter
Description
t
The tester interface.
Last updated