Esempio n. 1
0
 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");
 }
Esempio n. 2
0
 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.");
 }
Esempio n. 3
0
 public void AddItem(DropDownItem item)
 {
     items.Add(item);
     CalculateDimensions();
 }
Esempio n. 4
0
 public void AddChild(DropDownItem d)
 {
     children.Add(d);
     hasChildren = true;
 }
Esempio n. 5
0
 public void AddChild(DropDownItem d)
 {
     children.Add(d);
     hasChildren = true;
 }