Пример #1
0
 public EncryptedTransportQueueTests(SharedTestDirectory testDirectory)
 {
     _testDirectory = testDirectory;
     _scheduler     = new TestScheduler();
     _queue         = ObjectMother.NewQueue(testDirectory.CreateNewDirectoryForTest(), scheduler: _scheduler, secureTransport: true);
 }
Пример #2
0
 public IntegrationTests(SharedTestDirectory testDirectory)
 {
     _senderLogger = new RecordingLogger();
     _receiver     = ObjectMother.NewQueue(testDirectory.CreateNewDirectoryForTest(), "receiver");
     _sender       = ObjectMother.NewQueue(testDirectory.CreateNewDirectoryForTest(), "sender", _senderLogger);
 }
Пример #3
0
 public ProfilingTests(SharedTestDirectory testDirectory)
 {
     _sender   = ObjectMother.NewQueue(testDirectory.CreateNewDirectoryForTest(), logger: new NulloLogger());
     _receiver = ObjectMother.NewQueue(testDirectory.CreateNewDirectoryForTest(), logger: new NulloLogger());
 }
Пример #4
0
 public QueueTests(SharedTestDirectory testDirectory)
 {
     _testDirectory = testDirectory;
     _scheduler     = new TestScheduler();
     _queue         = ObjectMother.NewQueue(testDirectory.CreateNewDirectoryForTest(), scheduler: _scheduler);
 }