Inheritance Hierarchy
DeltaEngine.Platforms TestWithMocksOrVisually
DeltaEngine.Content.Json.Tests JsonContentTests
Namespace: DeltaEngine.Content.Json.Tests
Assembly: DeltaEngine.Content.Json.Tests (in DeltaEngine.Content.Json.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The JsonContentTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
JsonContentTests | Initializes a new instance of the JsonContentTests class |
Methods
Name | Description | |
---|---|---|
AdvanceTimeAndUpdateEntities | (Inherited from TestWithMocksOrVisually.) | |
InitializeResolver | (Inherited from TestWithMocksOrVisually.) | |
LoadJsonContentFromFile | ||
RegisterMock T | (Inherited from TestWithMocksOrVisually.) | |
Resolve T | (Inherited from TestWithMocksOrVisually.) | |
RunAfterFirstFrame | (Inherited from TestWithMocksOrVisually.) | |
RunTestAndDisposeResolverWhenDone | (Inherited from TestWithMocksOrVisually.) |
Properties
Name | Description | |
---|---|---|
IsMockResolver | (Inherited from TestWithMocksOrVisually.) |
Examples
[Test, Category("Slow"), Ignore] public void LoadJsonContentFromFile() { var json = ContentLoader.Load<JsonContent>("Level"); Assert.False(json.IsDisposed); Assert.AreEqual(9, json.Data.NumberOfNodes); Assert.AreEqual(48, json.Data.Get<int>("height")); }
See Also