Beispiel #1
0
 public void StartTwice()
 {
     TestAppOnce.Start <DummyRunner>();
     TestAppOnce.Start <DummyRunner>();
 }
Beispiel #2
0
 public void RegisterUnknownClassToMakeResolveSucceed()
 {
     TestAppOnce.Start((ClassWithInnerClass.UnknownInnerClass dummy) => {});
 }
Beispiel #3
0
 public void StartWithTwoClasses()
 {
     TestAppOnce.Start((DummyRunner dummy1, DummyPresenter dummy2) => { });
 }
Beispiel #4
0
 public void StartWithThreeClasses()
 {
     TestAppOnce.Start((DummyRunner dummy1, DummyRunner dummy2, DummyRunner dummy3) => {});
 }
Beispiel #5
0
 public void StartWithOneClass()
 {
     TestAppOnce.Start((DummyRunner dummy) => {}, () => {});
 }
Beispiel #6
0
 public void StartWithRunner()
 {
     TestAppOnce.Start <DummyRunner>();
 }
Beispiel #7
0
 public void WarnIfTestRunsTooLong()
 {
     TestAppOnce.Start((DummyRunner dummy) => Thread.Sleep(11));
 }
Beispiel #8
0
 public void ResizeWindow()
 {
     TestAppOnce.Start((Window window) => window.TotalSize = new Size(800, 600));
 }
Beispiel #9
0
 public void CreateWindowAndDevice()
 {
     TestAppOnce.Start((Window window, Device device) => Assert.IsTrue(window.IsVisible));
 }