AssemblyStarterTests ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Tests.Extensions AssemblyStarterTests

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

public class AssemblyStarterTests

The AssemblyStarterTests type exposes the following members.

Constructors

  NameDescription
Public methodAssemblyStarterTests
Initializes a new instance of the AssemblyStarterTests class
Top
Methods

  NameDescription
Public methodFindAllDeltaEngineTests
Public methodFindAllGraphicsTests
Public methodStartGlobalTimeTest
Public methodStartGraphicsVisualTest
Top
Examples

[Test, Ignore]
public void StartGlobalTimeTest()
{
    using (var starter = new AssemblyStarter("DeltaEngine.Tests.dll", false))
        starter.Start("GlobalTimeTests", "CalculateFpsWithStopwatch");
}
[Test, Ignore]
public void FindAllDeltaEngineTests()
{
    using (var starter = new AssemblyStarter("DeltaEngine.Tests.dll", false))
        foreach (var test in starter.GetTestNames())
            Console.WriteLine(test);
}
[Test, Ignore]
public void FindAllGraphicsTests()
{
    const string TestAssemblyFilename =
        @"c:\code\DeltaEngine\Graphics\Tests\bin\Debug\DeltaEngine.Graphics.Tests.dll";
    using (var starter = new AssemblyStarter(TestAssemblyFilename, false))
        foreach (var test in starter.GetTestNames())
            Console.WriteLine(test);
}
[Test, Ignore]
public void StartGraphicsVisualTest()
{
    const string TestAssemblyFilename =
        @"c:\code\DeltaEngine\Graphics\Tests\bin\Debug\DeltaEngine.Graphics.Tests.dll";
    using (var starter = new AssemblyStarter(TestAssemblyFilename, true))
        starter.Start("DeviceTests", "DrawRedBackground");
}
See Also