public void Run( bool interceptors, bool dynamic) { var queueName = GenerateQueueName.Create(); var consumer = new DotNetWorkQueue.IntegrationTests.Shared.JobScheduler.Implementation.JobSchedulerTests(); consumer.Run <SqlServerMessageQueueInit, SqlServerJobQueueCreation, SqlServerMessageQueueCreation>( new QueueConnection(queueName, ConnectionInfo.ConnectionString), interceptors, dynamic, Helpers.Verify, Helpers.SetError); }
public void Run( bool dynamic, ConnectionInfoTypes type) { var queueName = GenerateQueueName.Create(); var connectionString = new ConnectionInfo(type).ConnectionString; var consumer = new DotNetWorkQueue.IntegrationTests.Shared.JobScheduler.Implementation.JobSchedulerTests(); consumer.Run <RedisQueueInit, RedisJobQueueCreation, RedisQueueCreation>( new QueueConnection(queueName, connectionString), false, dynamic, Helpers.Verify, Helpers.SetError); }
public void Run( bool dynamic) { using (var connectionInfo = new IntegrationConnectionInfo()) { var queueName = GenerateQueueName.Create(); var consumer = new DotNetWorkQueue.IntegrationTests.Shared.JobScheduler.Implementation.JobSchedulerTests(); consumer.Run <MemoryMessageQueueInit, JobQueueCreation, MessageQueueCreation>(new QueueConnection(queueName, connectionInfo.ConnectionString), false, dynamic, Helpers.Verify, Helpers.SetError); } }