Example #1
0
 public void editRule_InGUI()
 {
     O2AscxGUI.launch("test Rule execution");
     xRulesEditor    = (ascx_XRules_Editor)O2AscxGUI.openAscx(typeof(ascx_XRules_Editor));
     xRulesExecution = (ascx_XRules_Execution)O2AscxGUI.openAscx(typeof(ascx_XRules_Execution), O2DockState.DockLeft, "Rules Execution");
     Assert.That(xRulesEditor != null, "xRulesEditor was null");
     Assert.That(xRulesExecution != null, "xRulesEditor was null");
     O2AscxGUI.waitForAscxGuiClose();
 }
Example #2
0
 public void setupGui()
 {
     O2AscxGUI.openAscxAsForm(typeof(ascx_XRules_Editor));
     xRulesEditor = (ascx_XRules_Editor)O2AscxGUI.getAscx("ascx_XRules_Editor");
     Assert.That(xRulesEditor != null, "xRulesEditor was null");
 }