public void ZeroTimeoutMeansInfinite()
 {
     var attrib = new DefaultTestCaseTimeoutAttribute(0);
     Assert.AreEqual(0, attrib.TimeoutSeconds);
     Assert.IsNull(attrib.Timeout);
 }
 public void TimeoutIsEvaluatedInSeconds()
 {
     var attrib = new DefaultTestCaseTimeoutAttribute(120);
     Assert.AreEqual(120, attrib.TimeoutSeconds);
     Assert.AreEqual(TimeSpan.FromSeconds(120), attrib.Timeout);
 }