Show / Hide Table of Contents

Class ClassManagerTests

Inheritance
object
ClassManagerTests
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.GameStateTracker.Tests
Assembly: GameStateTracker.Tests.dll
Syntax
[TestClass]
public class ClassManagerTests

Methods

View Source

TestClassManagerThrowsForMissingClassName()

Verify the class manager throws an exception if it cannot find a game class name for the given type.

Declaration
[TestMethod]
public void TestClassManagerThrowsForMissingClassName()
View Source

TestClassManagerWithCustomProperty()

Verify that updating a game object re-uses objects in the cache, and that transient properties are not discarded.

Declaration
[TestMethod]
public Task TestClassManagerWithCustomProperty()
Returns
Type Description
Task

A task that completes when the test is done.

View Source

TestClassManagerWithCustomSubclass()

Verify a property specified on the base class is also retrieved for subclass objects, even though the base class was queried.

Declaration
[TestMethod]
public Task TestClassManagerWithCustomSubclass()
Returns
Type Description
Task

A task that completes when the test is done.

View Source

TestClassManagerWithDataContract()

Verify that properties can be detected for a DataContract-supported C# type.

Declaration
[TestMethod]
public Task TestClassManagerWithDataContract()
Returns
Type Description
Task

A task that completes when the test is done.

View Source

TestClassManagerWithInterfaceProperty()

Verify that properties can be added to a game class without specifying a C# type.

Declaration
[TestMethod]
public Task TestClassManagerWithInterfaceProperty()
Returns
Type Description
Task

A task that completes when the test is done.

View Source

TestClassManagerWithListProperty()

Verify the property value is a list of strings.

Declaration
[TestMethod]
public Task TestClassManagerWithListProperty()
Returns
Type Description
Task

A task that completes when the test is done.

View Source

TestClassManagerWithMissingProperty()

Verify the property value is null if the queried property does not exist.

Declaration
[TestMethod]
public Task TestClassManagerWithMissingProperty()
Returns
Type Description
Task

A task that completes when the test is done.

View Source

TestClassManagerWithUnimportedSubclass()

TODO. This test sometimes fails.

Declaration
[Ignore]
[TestMethod]
public Task TestClassManagerWithUnimportedSubclass()
Returns
Type Description
Task

A task that completes when the test is done.

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