Пример #1
0
        public void TestMethodTemplate()
        {
            _env.DataManager.LoadProject(TestConstant.Project_Drosophila);

            TestPlugin plugin = new TestPlugin();
            plugin.DataAdd(new List<EcellObject>());
            EcellObject obj = null;
            plugin.DataAdd(obj);
            plugin.DataChanged(null, null, null, null);
            plugin.DataDelete(null, null, null);
            //
            plugin.AddSelect(null, null, null);
            plugin.RemoveSelect(null, null, null);
            plugin.SelectChanged(null, null, null);
            plugin.ResetSelect();

            plugin.AdvancedTime(0);
            plugin.Initialize();
            plugin.ChangeStatus(ProjectStatus.Loaded);
            plugin.Clear();

            plugin.LoggerAdd(null);
            plugin.ParameterAdd(null, null);
            plugin.ParameterDelete(null, null);
            plugin.ParameterSet(null, null);
            plugin.ParameterUpdate(null, null);
            plugin.RemoveMessage(null);

            plugin.SaveModel(null, null);
            plugin.SetPluginStatus(null);
            plugin.SetProgressBarValue(0);
            plugin.SetStatusBarMessage(StatusBarMessageKind.Generic, "");
        }