2 // Tests for System.Windows.Threading.DispatcherTimer
5 // Konrad M. Kruczynski
10 using System.Windows.Threading;
12 namespace MonoTests.System.Windows.Threading
16 public class DispatcherTimerTest {
19 public void IntervalSettingTest ()
21 var timer = new DispatcherTimer ();
22 var second = new TimeSpan (0, 0, 0, 1);
23 timer.Interval = second;
24 var timerInterval = timer.Interval;
25 Assert.AreEqual (second, timerInterval,
26 "Interval given to timer was not preserved.");