public void Execute() { var t = new LocalMsmqGrantReadWriteTask(_address, @"TEST\ReynoldsR"); DeploymentResult r = t.Execute(); Assert.IsFalse(r.ContainsError(), "Errors occured during permission setting."); }
public override void Context() { base.Context(); RemoveLocalQueueIfExistsAndCreate(address.LocalName); task = new LocalMsmqGrantReadWriteTask(address, user); }
public override void Context() { base.Context(); if (MessageQueue.Exists(address.LocalName)) { MessageQueue.Delete(address.LocalName); } MessageQueue.Create(address.LocalName); task = new LocalMsmqGrantReadWriteTask(address, user); }