aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/burn/WixTestTools/Firewall/UniqueCheck.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/burn/WixTestTools/Firewall/UniqueCheck.cs b/src/test/burn/WixTestTools/Firewall/UniqueCheck.cs
index 598350f9..7bc2e527 100644
--- a/src/test/burn/WixTestTools/Firewall/UniqueCheck.cs
+++ b/src/test/burn/WixTestTools/Firewall/UniqueCheck.cs
@@ -23,6 +23,7 @@ namespace WixTestTools.Firewall
23 this.ApplicationName = details.ApplicationName; 23 this.ApplicationName = details.ApplicationName;
24 this.LocalUserOwner = details.LocalUserOwner; 24 this.LocalUserOwner = details.LocalUserOwner;
25 this.RemoteAddresses = details.RemoteAddresses; 25 this.RemoteAddresses = details.RemoteAddresses;
26 this.Grouping = details.Grouping;
26 } 27 }
27 28
28 29
@@ -40,6 +41,8 @@ namespace WixTestTools.Firewall
40 41
41 public string RemoteAddresses { get; set; } 42 public string RemoteAddresses { get; set; }
42 43
44 public string Grouping { get; set; }
45
43 public bool FirewallRuleIsUnique(INetFwRule3 rule) 46 public bool FirewallRuleIsUnique(INetFwRule3 rule)
44 { 47 {
45 if (this.Name != null && rule.Name != this.Name) 48 if (this.Name != null && rule.Name != this.Name)
@@ -77,6 +80,11 @@ namespace WixTestTools.Firewall
77 return false; 80 return false;
78 } 81 }
79 82
83 if (this.Grouping != null && rule.Grouping != this.Grouping)
84 {
85 return false;
86 }
87
80 return true; 88 return true;
81 } 89 }
82 } 90 }