示例#1
0
 public void ValidateConnection()
 {
     using (var client = new CouchDbClient(_couchDbSettings, _logger))
     {
         client.ValidateConnection();
     }
 }
示例#2
0
 public void SaveRun(DatabaseEntity <Run> runEntity)
 {
     using (var client = new CouchDbClient(_couchDbSettings, _logger))
     {
         client.SaveRun(runEntity);
     }
 }
示例#3
0
 public void SaveScreenshot(DatabaseEntity <TestScreenshot> testScreenshotEntity)
 {
     using (var client = new CouchDbClient(_couchDbSettings, _logger))
     {
         client.SaveScreenshot(testScreenshotEntity);
     }
 }
示例#4
0
 public void SaveReportSettings(DatabaseEntity <ReportSettings> reportSettingsEntity)
 {
     using (var client = new CouchDbClient(_couchDbSettings, _logger))
     {
         client.SaveReportSettings(reportSettingsEntity);
     }
 }
示例#5
0
 public void CreateDb()
 {
     using (var client = new CouchDbClient(_couchDbSettings, _logger))
     {
         client.CreateDb();
     }
 }