Class TestTitleConfigContainer
Implementation of IConfigContainer as an example project. Uses Xml files in AppData. Uses VSTS.
Inheritance
Inherited Members
Namespace: Phoenix.Aruba.TestTitle
Assembly: Phoenix.Plugin.Aruba.TestTitle.dll
Syntax
public class TestTitleConfigContainer : TfsConfigContainer<TestTitleGameClient>, IConfigContainer, IDisposableRemarks
Initializes a new instance of the TestTitleConfigContainer class.
Constructors
View SourceTestTitleConfigContainer(IPhoenixLogger, IEventAggregator, IServiceProvider, IClientManager<IDevice, TestHookGameClient>)
Implementation of IConfigContainer as an example project. Uses Xml files in AppData. Uses VSTS.
Declaration
public TestTitleConfigContainer(IPhoenixLogger phoenixLogger, IEventAggregator eventAggregator, IServiceProvider serviceProvider, IClientManager<IDevice, TestHookGameClient> clientManager)Parameters
| Type | Name | Description | 
|---|---|---|
| IPhoenixLogger | phoenixLogger | The logger. | 
| IEventAggregator | eventAggregator | The event aggregator. | 
| IServiceProvider | serviceProvider | The service provider. | 
| IClientManager<IDevice, TestHookGameClient> | clientManager | The client manager that manages to connection to the game. | 
Remarks
Initializes a new instance of the TestTitleConfigContainer class.
Properties
View SourceProjectName
Gets the name of the project on Tfs.
Declaration
public override string ProjectName { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
ServiceEndpoint
Gets the Tfs uri for the bug service.
Declaration
public override string ServiceEndpoint { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
TitleName
Gets the name of the title.
Declaration
public override string TitleName { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
Methods
View SourceCanPerformTestBugAction(BugInfo, IGameClient)
Test function for checking if a bug action can be performed.
Declaration
public static bool CanPerformTestBugAction(BugInfo bugInfo, IGameClient gameClient)Parameters
| Type | Name | Description | 
|---|---|---|
| BugInfo | bugInfo | The bug info. | 
| IGameClient | gameClient | The game client. | 
Returns
| Type | Description | 
|---|---|
| bool | Whether the action can be performed. | 
CreateGameClient()
Creates an instance of TestTitleGameClient.
Declaration
protected override TestTitleGameClient CreateGameClient()Returns
| Type | Description | 
|---|---|
| TestTitleGameClient | The TestTitleGameClient instance, EmptyGameClient for an IConfigContainer without a game client. | 
Overrides
InitializeAsync()
Initializes the BaseConfigContainer<TGameClient>.
Declaration
public override Task InitializeAsync()Returns
| Type | Description | 
|---|---|
| Task | A Task representing the asynchronous operation. | 
Overrides
PerformTestBugAction(BugInfo, IGameClient)
Test function for performing a bug action.
Declaration
public Task PerformTestBugAction(BugInfo bugInfo, IGameClient gameClient)Parameters
| Type | Name | Description | 
|---|---|---|
| BugInfo | bugInfo | The bug info. | 
| IGameClient | gameClient | The game client. | 
Returns
| Type | Description | 
|---|---|
| Task | A task. | 
UninitializeAsync()
Uninitializes the BaseConfigContainer<TGameClient>.
Declaration
public override Task UninitializeAsync()Returns
| Type | Description | 
|---|---|
| Task | A Task representing the asynchronous operation. |