コード例 #1
0
ファイル: SafeTests.cs プロジェクト: DeluxTalTech/Delux
        public void RunMethodTest()
        {
            var newLogBook = new LogTests.TestLogBook();

            Safe.Run(() => Log.LogBook = newLogBook);
            Assert.IsNull(newLogBook.LoggedException);
        }
コード例 #2
0
ファイル: SafeTests.cs プロジェクト: DeluxTalTech/Delux
 public void TestInitialize()
 {
     Type        = typeof(Safe);
     _logBook    = new LogTests.TestLogBook();
     Log.LogBook = _logBook;
 }