* CalendarTest.cs (TestSelectedColorDefault): we need to split up
the color tests since they're rendered in different orders by
ms/us.
svn path=/trunk/mcs/; revision=49673
PokerCalendar p = new PokerCalendar ();
p.TodaysDate = new DateTime (2005, 8, 4);
p.SelectedDate = p.TodaysDate;
- Assert.IsTrue (p.Render ().IndexOf ("color:White;background-color:Silver;") != -1);
+ string s = p.Render();
+ Assert.IsTrue (s.IndexOf ("color:White") != 1 && s.IndexOf ("background-color:Silver") != -1, "A1");
}
}
}
+2005-09-07 Chris Toshok <toshok@ximian.com>
+
+ * CalendarTest.cs (TestSelectedColorDefault): we need to split up
+ the color tests since they're rendered in different orders by
+ ms/us.
+
2005-09-07 Chris Toshok <toshok@ximian.com>
* ListControlTest.cs: add tests for the ControlState.