static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var repository = new NHibernateRepository(Configure.SQLite()); var accessPoint = new AccessPoint(new SimpliciTIDriver()); var watchPool = new WatchPool(); var watchDataSaver = new WatchDataSaver(repository, watchPool, accessPoint); var excelCreator = new SpreadsheetExporter(); var gui = new Gui(repository, accessPoint, watchPool, watchDataSaver, excelCreator); Application.Run(gui); }
public void TestInitialize() { mockSimplicitiDriver = MockRepository.GenerateStub<ISimpliciTIDriver>(); accessPoint = new AccessPoint(mockSimplicitiDriver); }