Class UnrealGameStateTests
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Tests
Assembly: GameStateTracker.Tests.dll
Syntax
[TestClass]
public class UnrealGameStateTests : IDisposable
Constructors
View SourceUnrealGameStateTests()
Declaration
public UnrealGameStateTests()
Methods
View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
TestBaseClassQueryAfterGetAllSubclass()
Verify that the cache can access objects using a different query than the original one.
Declaration
[TestMethod]
public Task TestBaseClassQueryAfterGetAllSubclass()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestCleanup()
Declaration
[TestCleanup]
public void TestCleanup()
TestGetCachedUnrealObject()
Verify that the cache can remember the query used to retrieve an object.
Declaration
[TestMethod]
public Task TestGetCachedUnrealObject()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestGetDuplicateUnrealObject()
Verify that queries using short object names throw if there are multiple results.
Declaration
[TestMethod]
public Task TestGetDuplicateUnrealObject()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestGetMissingFromCache()
Verify that the cache can remember that a specific object is missing.
Declaration
[TestMethod]
public Task TestGetMissingFromCache()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestGetUniqueUnrealObject()
Verify that queries using short object names succeed if there is a single result.
Declaration
[TestMethod]
public Task TestGetUniqueUnrealObject()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestGetUnrealObjectByCompletePath()
Verify that queries can use complete object paths.
Declaration
[TestMethod]
public Task TestGetUnrealObjectByCompletePath()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestGetUnrealObjectByPartialPath()
Verify that queries can use partial object paths.
Declaration
[TestMethod]
public Task TestGetUnrealObjectByPartialPath()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestInferUnrealObjectClass()
Verify that the cache can remember the query used to retrieve an object.
Declaration
[TestMethod]
public Task TestInferUnrealObjectClass()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |