Ejemplo n.º 1
0
 /// <summary>
 /// A function called before every test is run.
 /// Invokes the function on this type which has been marked with the microsoft unit testing framework TestInitialize attribute.
 /// </summary>
 private void OnTestStart()
 {
     if (TestInitialize != null)
     {
         TestInitialize.Invoke(this, null);
     }
 }
Ejemplo n.º 2
0
 protected static void Before()
 {
     TestInitialize.Run();
 }