Restart() public static method

Closes the connection after the tests.
public static Restart ( ) : void
return void
示例#1
0
 public override void TearDown()
 {
     base.TearDown();
     InMemoryConnectionProvider.Restart();
 }
示例#2
0
 /// <summary>
 /// The common test teardown code. To activate it in a specific test framework,
 /// it must be called from a framework-specific teardown-Method.
 /// </summary>
 public virtual void TearDown()
 {
     ActiveRecordStarter.ResetInitializationFlag();
     InMemoryConnectionProvider.Restart();
 }