OTX-Runtime Converter
|
|
Represents a checker and a compiler. More...
Public Member Functions | |
void | Compile (string destination) |
Compiles the loaded ptx/ppx/project and exports it with built-in CppOutput. More... | |
void | LoadPpx (string fileName) |
Loads a PPX file. More... | |
void | LoadPpx (string fileName, string password) |
Loads a PPX file. More... | |
void | LoadProject (string projectDirectory) |
Load a project. More... | |
void | LoadPtx (string fileName) |
Loads a PTX file. More... | |
void | LoadPtx (string fileName, string password) |
Loads a PTX file. More... | |
IError[] | Validate () |
Validates the loaded ptx/ppx/project. More... | |
Properties | |
DiagValidationGroups | DiagValidationGroups [get, set] |
Gets or sets DiagValidationGroups. More... | |
string | ProjectVersion [get] |
Gets project version More... | |
ushort | XmlDbPort [get, set] |
Gets or sets XmlDbPort. XmlDbPort (default: 1984) is a port number which a BaseX Server is running on. The BaseX Server supports loading (needed for IRuntimeConverter.Compile) and querying (needed for IRuntimeConverter.Validate) OTX files via inter process communication. More... | |
Represents a checker and a compiler.
void OpenTestSystem.Otx.RuntimeConverter.Api.IRuntimeConverter.Compile | ( | string | destination | ) |
Compiles the loaded ptx/ppx/project and exports it with built-in CppOutput.
destination | Path of exported ptx/ppx. |
void OpenTestSystem.Otx.RuntimeConverter.Api.IRuntimeConverter.LoadPpx | ( | string | fileName | ) |
Loads a PPX file.
fileName | Path of PPX file to load. |
System.ArgumentNullException | Thrown when the given file name is null. |
System.ArgumentException | Thrown when the given file name is empty. |
System.IO.FileNotFoundException | Thrown when the given file cannot be found. |
Exceptions.FileFormatException | Thrown when the file is not a ppx or it has no command. |
Exceptions.WrongSignatureException | Thrown when the signature of ptx is wrong. Either the password is wrong or the content of the file was changed. |
void OpenTestSystem.Otx.RuntimeConverter.Api.IRuntimeConverter.LoadPpx | ( | string | fileName, |
string | password | ||
) |
Loads a PPX file.
fileName | Path of PPX file to load. |
password | The password to decrypt the ppx file. |
System.ArgumentNullException | Thrown when the given file name is null. |
System.ArgumentException | Thrown when the given file name is empty. |
System.IO.FileNotFoundException | Thrown when the given file cannot be found. |
Exceptions.FileFormatException | Thrown when the file is not a ppx or it has no command. |
Exceptions.WrongSignatureException | Thrown when the signature of ptx is wrong. Either the password is wrong or the content of the file was changed. |
void OpenTestSystem.Otx.RuntimeConverter.Api.IRuntimeConverter.LoadProject | ( | string | projectDirectory | ) |
Load a project.
projectDirectory | Project directory which contains project file (*.otfPrj). |
System.ArgumentNullException | Thrown when the given directory name is null. |
System.ArgumentException | Thrown when the given directory name is empty. |
System.IO.DirectoryNotFoundException | Thrown when the given directory cannot be found. |
void OpenTestSystem.Otx.RuntimeConverter.Api.IRuntimeConverter.LoadPtx | ( | string | fileName | ) |
Loads a PTX file.
fileName | Path of PTX file to load. |
System.ArgumentNullException | Thrown when the given file name is null. |
System.ArgumentException | Thrown when the given file name is empty. |
System.IO.FileNotFoundException | Thrown when the given file cannot be found. |
Exceptions.FileFormatException | Thrown when the file is not a ptx. |
Exceptions.WrongSignatureException | Thrown when the signature of ptx is wrong. Either the password is wrong or the content of the file was changed. |
void OpenTestSystem.Otx.RuntimeConverter.Api.IRuntimeConverter.LoadPtx | ( | string | fileName, |
string | password | ||
) |
Loads a PTX file.
fileName | Path of PTX file to load. |
password | The password to decrypt the ptx file. |
System.ArgumentNullException | Thrown when the given file name is null. |
System.ArgumentException | Thrown when the given file name is empty. |
System.IO.FileNotFoundException | Thrown when the given file cannot be found. |
Exceptions.FileFormatException | Thrown when the file is not a ptx. |
Exceptions.WrongSignatureException | Thrown when the signature of ptx is wrong. Either the password is wrong or the content of the file was changed. |
IError [] OpenTestSystem.Otx.RuntimeConverter.Api.IRuntimeConverter.Validate | ( | ) |
Validates the loaded ptx/ppx/project.
|
getset |
Gets or sets DiagValidationGroups.
|
get |
Gets project version
|
getset |
Gets or sets XmlDbPort. XmlDbPort (default: 1984) is a port number which a BaseX Server is running on. The BaseX Server supports loading (needed for IRuntimeConverter.Compile) and querying (needed for IRuntimeConverter.Validate) OTX files via inter process communication.