private TestByCommandParameterEnum ( ) : void | ||
Résultat | void |
public void TestByCommandParameterEnum()
{
var buttons = TreeUtility.LogicalTree((AppVar)_ctrl).ByType<Button>();
AppVar button4 = ButtonSearcher.ByCommandParameter(buttons, CommandPrameterType.A).Single();
Assert.AreEqual(button4, _ctrl._button4);
button4 = ButtonSearcher.ByCommandParameter(buttons, new ExplicitAppVar(_app.Copy(CommandPrameterType.A))).Single();
Assert.AreEqual(button4, _ctrl._button4);
}