Exemple #1
0
 private MySqlStorage CreateStorage()
 {
     return(new MySqlStorage(
                ConnectionUtils.GetConnectionString(),
                _options));
 }
Exemple #2
0
 private MySqlConnection CreateConnection()
 {
     return(ConnectionUtils.CreateConnection());
 }
 public CountersAggregatorTests()
 {
     _connection = ConnectionUtils.CreateConnection();
     _storage    = new MySqlStorage(_connection);
     _sut        = new CountersAggregator(_storage, TimeSpan.Zero);
 }
Exemple #4
0
 private ElasticStorage.ElasticStorage CreateStorage()
 {
     return(new ElasticStorage.ElasticStorage(
                ConnectionUtils.GetConnectionString(),
                _options));
 }