コード例 #1
0
 public override void Before(MethodInfo methodUnderTest)
 {
     // Must be called synchronously. Otherwise, the test will start then
     // ResetDatabase() may complete in the middle of the test.
     DatabaseFixture.ResetDatabase(DatabaseFixture.FullResetCheckpoint).GetAwaiter().GetResult();
 }
コード例 #2
0
ファイル: TestUtility.cs プロジェクト: ycp-cjkn/Plum
 public TestUtility(DatabaseFixture fixture)
 {
     _fixture = fixture;
 }