public void TestAddFormulaToList_DeleteByFormulaLblName_EditFormula() { EtyFormula ety = new EtyFormula(); ety.DPLblName = "tempName"; formulaListController.AddFormulaToList(ety); formulaListController.EditFormula("tempName"); formulaListController.DeleteByFormulaLblName("tempName"); }
public void TestdataPointListDataGridView_CellDoubleClick02() { //exception Accessor formulaListAccessor = ReflectionAccessor.Wrap(formulaList); DataGridView formulaListDataGridView = (DataGridView)(formulaListAccessor.GetField("formulaListDataGridView")); FormulaListController ctl = (FormulaListController)(formulaList.getController()); EtyFormula formula = new EtyFormula(); formula.DPEquation = "::a::"; ctl.AddFormulaToList(formula); object sender = null; DataGridViewCellEventArgs e = new DataGridViewCellEventArgs(7, 0); formulaListAccessor.Call("dataPointListDataGridView_CellDoubleClick", sender, e); }