Esempio n. 1
0
 public void ReadyToRunAfterTargetHasBeenCalled()
 {
     JUUTTestMethodAttribute testAfter = new TestAfterAttribute(typeof(TestClassTarget), "TargetMethod");
     TestClassTarget target = new TestClassTarget();
     target.TargetMethod();
     AssertEx.That(testAfter.IsTestReadyToRun, Is.True());
 }
Esempio n. 2
0
 public void Creation()
 {
     JUUTTestMethodAttribute testAfter = new TestAfterAttribute(typeof(TestClassTarget), "TargetMethod");
     AssertEx.That(testAfter.Name, Is.EqualTo("TestAfter"));
     AssertEx.That(testAfter.IsSetUpOrTearDown, Is.False());
     AssertEx.That(testAfter.IsTestReadyToRun, Is.False());
 }