Utilities Class |
Namespace: Hummingbird.TestFramework
The Utilities type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | EMPTY |
This string represent an empty object used by the object string representation. Empty means the an Element does not exist.
|
![]() ![]() | NULL |
This string represent a object used by the object string representation.
|
Name | Description | |
---|---|---|
![]() ![]() | ArrayFromString |
Converts an Array from string.
|
![]() ![]() | CompressString |
Compresses the string.
|
![]() ![]() | CopyExtensionToInstall |
Copies the extension package to install folder and it will be installed next time application restarts.
|
![]() ![]() | Escape |
Escape string array for writing in CSV files
|
![]() ![]() | EscapeString |
Escapes the string which contains \r, \n or \t
|
![]() ![]() | EvaluateXPath |
Evaluates the XPath expression in a given XML Document.
|
![]() ![]() | FindMetadata |
Finds the metadata object from the Identifier.
|
![]() ![]() | GenerateId |
Generates the GUID from a given id and another string.
|
![]() ![]() | GetDefinition |
Gets the ExtensionDefinition from an Extension Package File (*.zip)
|
![]() ![]() | GetImageSourceFromString |
Gets the image source from string.
|
![]() ![]() | GetType |
Get the Type object from it's FullName, This function scans the type that defined in the Test Framework and also all loaded assemblies from Extension.
|
![]() ![]() | InstallCertificates |
This method imports stock certificates that is used Installs the certificates.
|
![]() ![]() | InstallExtension |
Installs an extension from given zip archive
|
![]() ![]() | IsSimpleType |
Determines whether the specified Type is simple type.
|
![]() ![]() | LocalIPAddresses |
Get available IP address for the current machine.
|
![]() ![]() | ObjectFromString |
The create an object which can be initialized by String.
The object must have a Public Static Method Parse, with a String as parameter.
|
![]() ![]() | ParseObject |
Parses the object with the variables provided in the current scope.
|
![]() ![]() | RegisterPortWcf |
Registers the port used for HTTP and WebService Server (WCF). For SSL supports, Certificate Thumbprint mus be specified in certhash |
![]() ![]() | ToEnumT |
Concerts a string to its enum value
|
![]() ![]() | ToString(Double) |
Returns a String that represents an double in seconds.
|
![]() ![]() | ToString(TimeSpan) |
Returns a String that represents an TimeSpan.
|
![]() ![]() | UncompressString |
Uncompresses the string from byte array
|
![]() ![]() | UninstallExtension |
Uninstall the extension defined by ExtensionDefinition
|
![]() ![]() | WriteError |
Writes the error message to the console
|
![]() ![]() | WriteLog |
Writes the an message to the console, usually used by command line tool
|