Inheritance Hierarchy
DeltaEngine.Tests.Extensions AssemblyStarterTests
Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The AssemblyStarterTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AssemblyStarterTests | Initializes a new instance of the AssemblyStarterTests class |
Methods
Name | Description | |
---|---|---|
FindAllDeltaEngineTests | ||
FindAllGraphicsTests | ||
StartGlobalTimeTest | ||
StartGraphicsVisualTest |
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