示例#1
0
        public void ToString2()
        {
            DropDownItem item = new DropDownItem(descriptionTest, true, maskAll);

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

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

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

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