SoundbankTests ClassDelta Engine Documentation
Unit tests for Soundbank class View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Platforms TestWithMocksOrVisually
    Blocks.Tests SoundbankTests

Namespace: Blocks.Tests
Assembly: Blocks.Tests (in Blocks.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class SoundbankTests : TestWithMocksOrVisually

The SoundbankTests type exposes the following members.

Constructors

  NameDescription
Public methodSoundbankTests
Initializes a new instance of the SoundbankTests class
Top
Methods

  NameDescription
Protected methodAdvanceTimeAndUpdateEntities (Inherited from TestWithMocksOrVisually.)
Public methodConstructor
Public methodInitializeResolver (Inherited from TestWithMocksOrVisually.)
Protected methodRegisterMock T  (Inherited from TestWithMocksOrVisually.)
Protected methodResolve T  (Inherited from TestWithMocksOrVisually.)
Protected methodRunAfterFirstFrame (Inherited from TestWithMocksOrVisually.)
Public methodRunTestAndDisposeResolverWhenDone (Inherited from TestWithMocksOrVisually.)
Top
Properties

  NameDescription
Protected propertyIsMockResolver (Inherited from TestWithMocksOrVisually.)
Top
Examples

[Test, CloseAfterFirstFrame]
public void Constructor()
{
    var soundbank = new Soundbank(new JewelBlocksContent());
    Assert.IsNotNull(soundbank.BlockAffixed);
    Assert.IsNotNull(soundbank.BlockCouldNotMove);
    Assert.IsNotNull(soundbank.BlockMoved);
    Assert.IsNotNull(soundbank.GameLost);
    Assert.IsNotNull(soundbank.MultipleRowsRemoved);
    Assert.IsNotNull(soundbank.RowRemoved);
}
See Also