public void Properties () { ScriptComponentBasePoker poker = new ScriptComponentBasePoker (); Assert.AreEqual ("", poker.ID, "A1"); Assert.IsNull (poker.GetOwner(), "A2"); BindingCollection bindings = poker.Bindings; Assert.IsNotNull (bindings, "A3"); DoBindings (poker, bindings); Assert.IsNotNull (poker.GetPropertyChanged(), "A7"); DoPropertyChanged (poker, poker.GetPropertyChanged()); Assert.IsNotNull (poker.GetScriptEvents(), "A8"); DoScriptEvents (poker, poker.GetScriptEvents()); }
public void Properties() { ScriptComponentBasePoker poker = new ScriptComponentBasePoker(); Assert.AreEqual("", poker.ID, "A1"); Assert.IsNull(poker.GetOwner(), "A2"); BindingCollection bindings = poker.Bindings; Assert.IsNotNull(bindings, "A3"); DoBindings(poker, bindings); Assert.IsNotNull(poker.GetPropertyChanged(), "A7"); DoPropertyChanged(poker, poker.GetPropertyChanged()); Assert.IsNotNull(poker.GetScriptEvents(), "A8"); DoScriptEvents(poker, poker.GetScriptEvents()); }