Example #1
0
 public void TestGetConfigName01()
 {
     using (MarkerGroup markerGroup = MarkerGroupFactory.CreateMarkerGroup01())
     {
         string str = markerGroup.GetConfigName();
     }
 }
Example #2
0
 public void TestSetCurrentGrpName01()
 {
     using (MarkerGroup markerGroup = MarkerGroupFactory.CreateMarkerGroup01())
     {
         string grpName = string.Empty;
         markerGroup.SetCurrentGrpName(grpName);
     }
 }
Example #3
0
 public void TestSetFormType01()
 {
     using (MarkerGroup markerGroup = MarkerGroupFactory.CreateMarkerGroup01())
     {
         FormType type = FormType.Edit;
         markerGroup.SetFormType(type);
     }
 }
Example #4
0
 public void TestInitializeComponent01()
 {
     using (MarkerGroup markerGroup = MarkerGroupFactory.CreateMarkerGroup01())
     {
         Accessor markerGroupAccessor = ReflectionAccessor.Wrap(markerGroup);
         markerGroupAccessor.Call("InitializeComponent");
     }
 }
Example #5
0
 public void TestDispose01()
 {
     using (MarkerGroup markerGroup = MarkerGroupFactory.CreateMarkerGroup01())
     {
         bool     disposing           = true;
         Accessor markerGroupAccessor = ReflectionAccessor.Wrap(markerGroup);
         markerGroupAccessor.SetField("components", new System.ComponentModel.Container());
         markerGroupAccessor.Call("Dispose", disposing);
     }
 }
Example #6
0
 public void TestTranslateCaption01()
 {
     using (MarkerGroup markerGroup = MarkerGroupFactory.CreateMarkerGroup01())
     {
         markerGroup.SetFormType(FormType.Load);
         markerGroup.TranslateCaption();
         markerGroup.SetFormType(FormType.Save);
         markerGroup.TranslateCaption();
     }
 }