Example #1
0
        public void SetUp()
        {
            CommonUtil.DeletePrivateTestQ();
            CreateTestQueue();

            msmq = new MsmqLogDistributionStrategy();
            msmq.Initialize(new TestLoggingConfigurationView(new ConfigurationContext(new ConfigurationDictionary())));
        }
        public void SetUp()
        {
            data           = new MsmqDistributionStrategyData();
            data.QueuePath = CommonUtil.MessageQueuePath;

            CommonUtil.DeletePrivateTestQ();
            CreateQueueForTesting();
            msmqDistributor = new MsmqLogDistributor(Context);
            msmqDistributor.StopReceiving = false;

            msmq = new MsmqLogDistributionStrategy();
            msmq.Initialize(new TestLoggingConfigurationView(data, Context));
        }
        public void SetUp()
        {
            CommonUtil.DeletePrivateTestQ();
            CreateTestQueue();

            msmq = new MsmqLogDistributionStrategy();
            msmq.Initialize(new TestLoggingConfigurationView(new ConfigurationContext(new ConfigurationDictionary())));
        }