Class ParameterSerializationTests
Contains tests related to serializing brain parameter. TODO: add more.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Tests
Assembly: BotBrain.Core.Tests.dll
Syntax
[TestClass]
public class ParameterSerializationTestsMethods
View SourceTestParameterNotFoundException()
Test that parameters which don't exist throw an exception when retrieved.
Declaration
[TestMethod]
[ExpectedException(typeof(KeyNotFoundException))]
public void TestParameterNotFoundException()TestParameterSerialization()
Test that parameters can be serialized and deserialized.
Declaration
[TestMethod]
public void TestParameterSerialization()TestParameterTryGet(string)
Test that parameters which are invalid don't throw an exception when retrieved.
Declaration
[TestMethod]
[DataRow(null)]
[DataRow("Bar")]
public void TestParameterTryGet(string value)Parameters
| Type | Name | Description | 
|---|---|---|
| string | value | The parameter value. |