Exemplo n.º 1
0
        public void ToString2()
        {
            DropDownItem item = new DropDownItem(descriptionTest, true, maskAll);

            Assert.AreEqual(item.ToString(), descriptionTest + " (*.*)");
        }
Exemplo n.º 2
0
        public void ToString4()
        {
            DropDownItem item = new DropDownItem(descriptionTest, true, "*.1", "*.2");

            Assert.AreEqual(item.ToString(), descriptionTest + " (*.1 | *.2)");
        }
Exemplo n.º 3
0
        public void ToString1()
        {
            DropDownItem item = new DropDownItem(descriptionTest, false, maskAll);

            Assert.AreEqual(item.ToString(), descriptionTest);
        }
Exemplo n.º 4
0
        public void ToString3()
        {
            DropDownItem item = new DropDownItem(descriptionTest, false, "*.1", "*.2");

            Assert.AreEqual(item.ToString(), descriptionTest);
        }