Example #1
0
        [Category("NotWorking")]         //Not implemented
        public void SetPostDataSelection()
        {
            Poker    p   = new Poker();
            ListItem foo = new ListItem("foo");
            ListItem bar = new ListItem("bar");

            p.Items.Add(foo);
            p.Items.Add(bar);
            p.SetPostDataSelection(1);
            Assert.AreEqual(1, p.SelectedIndex, "SetPostDataSelection");
        }
Example #2
0
		[Category("NotWorking")] //Not implemented
		public void SetPostDataSelection ()
		{
			Poker p = new Poker ();
			ListItem foo = new ListItem ("foo");
			ListItem bar = new ListItem ("bar");
			p.Items.Add (foo);
			p.Items.Add (bar);
			p.SetPostDataSelection (1);
			Assert.AreEqual (1, p.SelectedIndex, "SetPostDataSelection");
		}