コード例 #1
0
 public virtual MainScreen SetUp(InitializeOption initializeOption)
 {
     WinFormTestConfiguration configuration = new WinFormTestConfiguration(string.Empty);
     application = configuration.Launch();
     ScreenRepository screenRepository = new ScreenRepository(application.ApplicationSession);
     mainScreen = screenRepository.Get<MainScreen>("Form1", initializeOption);
     return mainScreen;
 }
コード例 #2
0
 public void FixtureSetup()
 {
     var configuration = new WinFormTestConfiguration(string.Empty);
     application = configuration.Launch();
     window = application.GetWindow("Form1");
 }