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");
		}
		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);
		}
		public void FindAllDeltaEngineTests()
		{
			using (var starter = new AssemblyStarter("DeltaEngine.Tests.dll", false))
				foreach (var test in starter.GetTestNames())
					Console.WriteLine(test);
		}
		public void StartGlobalTimeTest()
		{
			using (var starter = new AssemblyStarter("DeltaEngine.Tests.dll", false))
				starter.Start("GlobalTimeTests", "CalculateFpsWithStopwatch");
		}
Esempio n. 5
0
 private static void StartTest(string assembly, string entryClass, string entryMethod)
 {
     using (var starter = new AssemblyStarter(assembly, false))
         starter.Start(entryClass, entryMethod);
 }
		public void Select(Project project)
		{
			StopUpdating();
			dynamicAssembly = new AssemblyStarter(project.FilePath, true);
			Tests = new List<string>(dynamicAssembly.GetTestNames());
			SelectTest(Tests[0]);
		}