public void TestPopulateDataMarkerListDataGridView01() { using (MarkerList markerList = MarkerListFactory.CreateMarkerList01()) { int mode = 1; markerList.PopulateDataMarkerListDataGridView(mode); } }
public void TestPopulateDataMarkerListDataGridView_GetMarkNameByRowIndex() { markerList.PopulateDataMarkerListDataGridView(1); markerList.GetMarkNameByRowIndex(10); MarkerListController ctl = (MarkerListController)(markerList.getController()); EtyMarker marker1 = new EtyMarker(); marker1.MarkerName = "a1"; ctl.AddMarkerToList(marker1); markerList.PopulateDataMarkerListDataGridView(1); markerList.GetMarkNameByRowIndex(0); EtyMarker marker2 = new EtyMarker(); marker2.MarkerName = "a2"; ctl.AddMarkerToList(marker2); EtyMarker marker3 = new EtyMarker(); marker3.MarkerName = "a3"; ctl.AddMarkerToList(marker3); EtyMarker marker4 = new EtyMarker(); marker4.MarkerName = "a4"; ctl.AddMarkerToList(marker4); EtyMarker marker5 = new EtyMarker(); marker5.MarkerName = "a5"; ctl.AddMarkerToList(marker5); EtyMarker marker6 = new EtyMarker(); marker6.MarkerName = "a6"; ctl.AddMarkerToList(marker6); EtyMarker marker7 = new EtyMarker(); marker7.MarkerName = "a7"; ctl.AddMarkerToList(marker7); EtyMarker marker8 = new EtyMarker(); marker8.MarkerName = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"; ctl.AddMarkerToList(marker8); markerList.PopulateDataMarkerListDataGridView(1); }