public void DropDownItemConstructorTest() { string text = string.Empty; // TODO: Initialize to an appropriate value Action onClick = null; // TODO: Initialize to an appropriate value DropDownItem target = new DropDownItem(text, onClick); Assert.Inconclusive("TODO: Implement code to verify target"); }
public void AddChildTest() { string text = string.Empty; // TODO: Initialize to an appropriate value Action onClick = null; // TODO: Initialize to an appropriate value DropDownItem target = new DropDownItem(text, onClick); // TODO: Initialize to an appropriate value DropDownItem d = null; // TODO: Initialize to an appropriate value target.AddChild(d); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void AddItem(DropDownItem item) { items.Add(item); CalculateDimensions(); }
public void AddChild(DropDownItem d) { children.Add(d); hasChildren = true; }
public void AddChild(DropDownItem d) { children.Add(d); hasChildren = true; }