Show / Hide Table of Contents

Class TestTitleConfigContainer

Implementation of IConfigContainer as an example project. Uses Xml files in AppData. Uses VSTS.

Inheritance
object
BaseConfigContainer<TestTitleGameClient>
TfsConfigContainer<TestTitleGameClient>
TestTitleConfigContainer
Implements
IConfigContainer
IDisposable
Inherited Members
TfsConfigContainer<TestTitleGameClient>.Dispose()
TfsConfigContainer<TestTitleGameClient>.InitializeBugServiceAsync()
BaseConfigContainer<TestTitleGameClient>.BugServiceClient
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba.TestTitle
Assembly: Phoenix.Plugin.Aruba.TestTitle.dll
Syntax
public class TestTitleConfigContainer : TfsConfigContainer<TestTitleGameClient>, IConfigContainer, IDisposable
Remarks

Initializes a new instance of the TestTitleConfigContainer class.

Constructors

View Source

TestTitleConfigContainer(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 Source

ProjectName

Gets the name of the project on Tfs.

Declaration
public override string ProjectName { get; }
Property Value
Type Description
string
Overrides
Microsoft.Internal.Studios.Aruba.Tfs.TfsConfigContainer<Phoenix.Aruba.TestTitle.TestTitleGameClient>.ProjectName
View Source

ServiceEndpoint

Gets the Tfs uri for the bug service.

Declaration
public override string ServiceEndpoint { get; }
Property Value
Type Description
string
Overrides
Microsoft.Internal.Studios.Aruba.Tfs.TfsConfigContainer<Phoenix.Aruba.TestTitle.TestTitleGameClient>.ServiceEndpoint
View Source

TitleName

Gets the name of the title.

Declaration
public override string TitleName { get; }
Property Value
Type Description
string
Overrides
Microsoft.Internal.Studios.Aruba.Infrastructure.BaseConfigContainer<Phoenix.Aruba.TestTitle.TestTitleGameClient>.TitleName

Methods

View Source

CanPerformTestBugAction(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.

View Source

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
Microsoft.Internal.Studios.Aruba.Infrastructure.BaseConfigContainer<Phoenix.Aruba.TestTitle.TestTitleGameClient>.CreateGameClient()
View Source

InitializeAsync()

Initializes the BaseConfigContainer<TGameClient>.

Declaration
public override Task InitializeAsync()
Returns
Type Description
Task

A Task representing the asynchronous operation.

Overrides
Microsoft.Internal.Studios.Aruba.Infrastructure.BaseConfigContainer<Phoenix.Aruba.TestTitle.TestTitleGameClient>.InitializeAsync()
View Source

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.

View Source

UninitializeAsync()

Uninitializes the BaseConfigContainer<TGameClient>.

Declaration
public override Task UninitializeAsync()
Returns
Type Description
Task

A Task representing the asynchronous operation.

Overrides
Microsoft.Internal.Studios.Aruba.Infrastructure.BaseConfigContainer<Phoenix.Aruba.TestTitle.TestTitleGameClient>.UninitializeAsync()

Implements

IConfigContainer
IDisposable
  • View Source
In this article
Back to top Generated by DocFX