Exemple #1
0
        static void Main(string[] args)
        {
            FileCreator fileCreator = new FileCreator();

            TestSetup testSetup = new TestSetup(fileCreator);

            MainForm mainForm = new MainForm();

            TestExecutor testExecutor = new TestExecutor(testSetup, fileCreator, mainForm);

            testExecutor.Execute();
        }
 public TestExecutor(TestSetup testSetup, FileCreator fileCreator, MainForm mainForm)
 {
     _testSetup = testSetup;
     _fileCreator = fileCreator;
     _mainForm = mainForm;
 }
Exemple #3
0
 public TestSetup(FileCreator fileCreator)
 {
     _fileCreator = fileCreator;
 }