Skip to content

Commit 855192c

Browse files
committed
Update incorrect test cases
1 parent c802940 commit 855192c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1623UnitTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ public class TestClass
9494
[InlineData("public", "int", "{ get; set; }", "Gets or sets")]
9595
[InlineData("public", "int", "{ get; protected set; }", "Gets or sets")]
9696
[InlineData("public", "int", "{ get; protected internal set; }", "Gets or sets")]
97-
[InlineData("public", "int", "{ get; internal set; }", "Gets")]
97+
[InlineData("public", "int", "{ get; internal set; }", "Gets or sets")]
9898
[InlineData("public", "int", "{ get; private set; }", "Gets")]
9999
[InlineData("public", "int", "{ get; }", "Gets")]
100100
[InlineData("public", "int", "{ get; } = 0;", "Gets")]
101101
[InlineData("public", "int", "=> 0;", "Gets")]
102102
[InlineData("public", "int", "{ set { } }", "Sets")]
103-
[InlineData("public", "int", "{ internal get { return 0; } set { } }", "Sets")]
103+
[InlineData("public", "int", "{ internal get { return 0; } set { } }", "Gets or sets")]
104104
[InlineData("public", "int", "{ private get { return 0; } set { } }", "Sets")]
105105
[InlineData("public", "bool", "{ get; set; }", "Gets or sets a value indicating whether")]
106106
[InlineData("public", "bool", "{ get; }", "Gets a value indicating whether")]
@@ -111,9 +111,9 @@ public class TestClass
111111
[InlineData("public", "bool", "{ private get { return false; } set { } }", "Sets a value indicating whether")]
112112
[InlineData("protected", "int", "{ get; private set; }", "Gets")]
113113
[InlineData("protected", "int", "{ private get { return 0; } set { } }", "Sets")]
114-
[InlineData("protected internal", "int", "{ get; internal set; }", "Gets")]
114+
[InlineData("protected internal", "int", "{ get; internal set; }", "Gets or sets")]
115115
[InlineData("protected internal", "int", "{ get; private set; }", "Gets")]
116-
[InlineData("protected internal", "int", "{ internal get { return 0; } set { } }", "Sets")]
116+
[InlineData("protected internal", "int", "{ internal get { return 0; } set { } }", "Gets or sets")]
117117
[InlineData("protected internal", "int", "{ private get { return 0; } set { } }", "Sets")]
118118
[InlineData("internal", "int", "{ get; private set; }", "Gets")]
119119
[InlineData("internal", "int", "{ private get { return 0; } set { } }", "Sets")]

StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1624UnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public class ContainerTestClass
125125
public {typeKeyword} TestType
126126
{{
127127
/// <summary>
128-
/// Gets or sets the test property.
128+
/// Gets the test property.
129129
/// </summary>
130130
public int TestProperty
131131
{{

0 commit comments

Comments
 (0)