RunnerProject Class
Represents an XJRunner project.
Namespace: XJTAG.Integration.XJRunner
Syntax
public sealed class RunnerProject : ProjectBase
Remarks
The RunnerProject class is the main entry point to XJRunner in the XJIntegration assembly. It handles parsing of XJPack (.xjp), XJTAG Project (.xjd) and XJEase Project (.xje) files and provides methods to start the testing process. The XJTAG system is initialised on construction of a RunnerProject.
Example
This example shows how to create a RunnerProject using the XJPack file (.xjp) path.
class TestSystem { public TestSystem() { // Set Path to XJPack (.xjp) file. string packFilePath = @"C:\Some\PathTo\Pack\packfile.xjp"; try { // Load XJPack file by constructing a RunnerProject object. var xjtagProject = new RunnerProject(packFilePath); // ... } catch (ProjectException pe) { // An error occurred during creation of the RunnerProject object, // so handle it here. } } }
Inheritance Hierarchy
- ProjectBase
- object
- IDisposable
Members
Constructors
Name | Description |
---|---|
RunnerProject(string) | Initialises a new instance of the RunnerProject class for a given project. |
RunnerProject(string, string) | Initialises a new instance of the RunnerProject class for a specified variant in a given project. |
Properties
Name | Description |
---|---|
VariantName (from ProjectBase) | The name of the active Variant in the loaded project. This value is null if a variant is not loaded. |
Methods
Name | Description |
---|---|
CreateFromAnalyserProject | Create a new instance of the RunnerProject class, using a project previously opened in the XJAnalyser .NET Integration. |
Dispose() (from ProjectBase) | Cleans up resources used by the project instance. |
Dispose | |
Equals(object) (from object) | |
Finalize (from object) | |
GetHashCode (from object) | |
GetRunner(XJLink) | Gets a Runner instance for the specified XJLink. |
GetRunner(XJLink, string) | Gets a Runner instance for the specified XJLink using the specified pin mapping file. |
GetRunner(XJLink, XjtagOutputBox) | Gets a Runner object for the specified XJLink, displaying test output in an XjtagOutputBox. |
GetRunner(XJLink, XjtagOutputBox, string) | Gets a Runner object for the specified XJLink using the specified pin mapping file, displaying test output in an XjtagOutputBox. |
GetTestList | Gets a TestCollection representing the tests included in the project, with the default tests selected as specified by the project author. All Conditions saved in the project will be evaluated unless they have been overridden. |
GetType (from object) | |
MemberwiseClone (from object) | |
ToString (from object) |
XJTAG v4.1.100