コード例 #1
0
 public void BeforeTest()
 {
     var logger = new SqlServerLogger();
     logger.Log(new LogEntry() {
         Date = DateTime.Now,
         HttpHeaders = null,
         IP = IPAddress.Parse("::1"),
         Key = "00000000",
         RequestEntity = null,
         RequestMethod = "POST",
         RequestUri = "http://example.com/",
         ServerProtocol = "HTTP/1.1",
         UserAgent = "Mozilla/1.0"
     });
 }
コード例 #2
0
 public void AfterTest()
 {
     var logger = new SqlServerLogger();
     logger.Clear();
 }
コード例 #3
0
 public void TestFixtureSetUp()
 {
     var logger = new SqlServerLogger();
     logger.Init();
     logger.Clear();
 }
コード例 #4
0
 public void SetupDatabase()
 {
     var installer = new SqlServerLogger();
     installer.Init();
 }