public void SetUp()
        {
            mocks = new MockRepository();
            IGui gui = StubFactory.CreateGuiStub(mocks);

            gui.Stub(g => g.ViewCommands).Return(mocks.Stub <IViewCommands>());
            mocks.ReplayAll();

            plugin = new RiskeerPlugin
            {
                Gui = gui
            };
            importInfo = plugin.GetImportInfos().First(i => i.DataType == typeof(HydraulicBoundaryDatabaseContext));
        }
Example #2
0
 public void SetUp()
 {
     plugin     = new RiskeerPlugin();
     importInfo = plugin.GetImportInfos().First(i => i.DataType == typeof(FailureMechanismSectionsContext));
 }
Example #3
0
 private static ImportInfo GetImportInfo(RiskeerPlugin plugin)
 {
     return(plugin.GetImportInfos().First(ii => ii.DataType == typeof(ForeshoreProfilesContext)));
 }