AddTextBox() public method

public AddTextBox ( ) : IChilliTextBox
return IChilliTextBox
示例#1
0
        public void TestAddTextBoxWin()
        {
            //---------------Set up test pack-------------------
            IChilliFilterControl ctl = new FilterControlWin();

            //---------------Execute Test ----------------------
            IChilliTextBox myTextBox = ctl.AddTextBox();
            //---------------Test Result -----------------------
            Assert.IsNotNull(myTextBox);
            Assert.AreEqual(1, ctl.ChilliControls.Count);
            //---------------Tear Down -------------------------          
        }
示例#2
0
        public void TestAddTextBoxWin()
        {
            //---------------Set up test pack-------------------
            IChilliFilterControl ctl = new FilterControlWin();

            //---------------Execute Test ----------------------
            IChilliTextBox myTextBox = ctl.AddTextBox();

            //---------------Test Result -----------------------
            Assert.IsNotNull(myTextBox);
            Assert.AreEqual(1, ctl.ChilliControls.Count);
            //---------------Tear Down -------------------------
        }