public void RunnersAreExecutedInCorrectOrder() { Output.Clear(); using (var resolver = new TestResolver()) resolver.Run(); const string ExpectedOutput = "Window.Run, Device.Run, AppRunnerTests, Device.Present"; Assert.AreEqual(ExpectedOutput, Output.ToText()); }
public static void Start <First, Second, Third>(Action <First, Second, Third> initCode, Action runCode = null) { using (var resolver = new TestResolver().Init(initCode)) resolver.Run(runCode); }
public static void Start <AppEntryRunner>() where AppEntryRunner : Runner { using (var resolver = new TestResolver().Init <AppEntryRunner>()) resolver.Run(); }