Exemplo n.º 1
0
        public ExpirationManagerTests()
        {
            _storage = ConnectionUtils.GetStorage();
            var cts = new CancellationTokenSource();

            _context = new BackgroundProcessContext("dummy", _storage, new Dictionary <string, object>(), cts.Token);
        }
Exemplo n.º 2
0
        public ExpirationManagerTests()
        {
            _storage = ConnectionUtils.GetStorage();
            _storage.Options.JobExpirationCheckInterval = TimeSpan.Zero;
            var cts = new CancellationTokenSource();

            _context = new BackgroundProcessContext("dummy", _storage, new Dictionary <string, object>(), cts.Token);
        }
 public CountersAggregatorTests()
 {
     _storage            = ConnectionUtils.GetStorage();
     _countersAggregator = new CountersAggregator(_storage);
 }
Exemplo n.º 4
0
 public FluentNHibernateJobQueueMonitoringApiTests()
 {
     _storage = ConnectionUtils.GetStorage();
     _sut     = new FluentNHibernateJobQueueMonitoringApi(_storage);
 }
 public FluentNHibernateJobQueueTests()
 {
     _storage = ConnectionUtils.GetStorage();
 }
Exemplo n.º 6
0
 private FluentNHibernateStorage.FluentNHibernateJobStorage CreateStorage()
 {
     return(ConnectionUtils.GetStorage(_options));
 }
 public CountersAggregatorTests()
 {
     _storage = ConnectionUtils.GetStorage();
     _sut     = new CountersAggregator(_storage, TimeSpan.Zero);
 }