Show / Hide Table of Contents

Class ObjectInfoTests

Inheritance
object
ObjectInfoTests
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 ObjectInfoTests

Methods

View Source

TestClassName(string, string)

Declaration
[TestMethod]
[DataRow(new object?[] { "Class'/Path/To/Object.Name'", "Class" })]
[DataRow(new object?[] { "Class'/Path/To:Object.Name'", "Class" })]
[DataRow(new object?[] { "/Script/Module.Class'/Path/To/Object.Name'", "/Script/Module.Class" })]
[DataRow(new object?[] { "/Script/Module.Class'/Path/To:Object.Name'", "/Script/Module.Class" })]
public void TestClassName(string item, string expectedClassName)
Parameters
Type Name Description
string item
string expectedClassName
View Source

TestInvalidPathBasedClassName(string)

Declaration
[TestMethod]
[DataRow("Script/Module.Class'/Path/To/Object.Name'")]
[DataRow("Script/Module.Class'/Path/To:Object.Name'")]
[DataRow(".Class'/Path/To/Object.Name'")]
[DataRow(".Class'/Path/To:Object.Name'")]
public void TestInvalidPathBasedClassName(string item)
Parameters
Type Name Description
string item
View Source

TestObjectName(string, string)

Declaration
[TestMethod]
[DataRow(new object?[] { "Class'/Path/To/Object.Name'", "/Path/To/Object.Name" })]
[DataRow(new object?[] { "Class'/Path/To:Object.Name'", "/Path/To:Object.Name" })]
[DataRow(new object?[] { "/Script/Module.Class'/Path/To/Object.Name'", "/Path/To/Object.Name" })]
[DataRow(new object?[] { "/Script/Module.Class'/Path/To:Object.Name'", "/Path/To:Object.Name" })]
public void TestObjectName(string item, string expectedObjectName)
Parameters
Type Name Description
string item
string expectedObjectName
  • View Source
In this article
Back to top Generated by DocFX