Class ClassDataProviderTests
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Tests
Assembly: GameStateTracker.Tests.dll
Syntax
[TestClass]
public class ClassDataProviderTests : IDisposable
Constructors
View SourceClassDataProviderTests()
Declaration
public ClassDataProviderTests()
Methods
View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
TestCleanup()
Declaration
[TestCleanup]
public void TestCleanup()
TestManagedGameObject()
Verify the managed game object queries its managed properties for basic types.
Declaration
[TestMethod]
public Task TestManagedGameObject()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestManagedGameObjectProperties()
Verify the base managed game object registers no queryable properties.
Declaration
[TestMethod]
public void TestManagedGameObjectProperties()
TestManagedGameObjectWithAdditionalData()
Verify the managed game object queries additional properties specified with the GameProperty attribute.
Declaration
[TestMethod]
public Task TestManagedGameObjectWithAdditionalData()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestManagedGameObjectWithCustomPropertyName()
Verify the managed game object queries its managed properties with custom names specified by the GameProperty attribute.
Declaration
[TestMethod]
public Task TestManagedGameObjectWithCustomPropertyName()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |
TestManagedGameObjectWithListProperty()
Verify the managed game object queries its managed properties for array types.
Declaration
[TestMethod]
public Task TestManagedGameObjectWithListProperty()
Returns
Type | Description |
---|---|
Task | A task that completes when the test is done. |