Example #1
0
 public void TestGetMarkerName01()
 {
     using (MarkerData markerData = MarkerDataFactory.CreateMarkerData01())
     {
         string str = markerData.GetMarkerName();
     }
 }
Example #2
0
 public void TestGetNewMarker01()
 {
     using (MarkerData markerData = MarkerDataFactory.CreateMarkerData01())
     {
         EtyMarker etyMarker = markerData.GetNewMarker();
     }
 }
Example #3
0
 public void TestSetFormType01()
 {
     using (MarkerData markerData = MarkerDataFactory.CreateMarkerData01())
     {
         FormType type = FormType.Edit;
         markerData.SetFormType(type);
     }
 }
Example #4
0
 public void TestInitializeComponent01()
 {
     using (MarkerData markerData = MarkerDataFactory.CreateMarkerData01())
     {
         Accessor markerDataAccessor = ReflectionAccessor.Wrap(markerData);
         markerDataAccessor.Call("InitializeComponent");
     }
 }
Example #5
0
 public void TestDispose01()
 {
     using (MarkerData markerData = MarkerDataFactory.CreateMarkerData01())
     {
         bool     disposing          = true;
         Accessor markerDataAccessor = ReflectionAccessor.Wrap(markerData);
         markerDataAccessor.SetField("components", new System.ComponentModel.Container());
         markerDataAccessor.Call("Dispose", disposing);
     }
 }
Example #6
0
 public void TestTranslateCaption01()
 {
     using (MarkerData markerData = MarkerDataFactory.CreateMarkerData01())
     {
         markerData.SetFormType(FormType.Add);
         markerData.TranslateCaption();
         markerData.SetFormType(FormType.Edit);
         markerData.TranslateCaption();
     }
 }