Skip to content

Commit a96e2e4

Browse files
CopilotToddGrun
andcommitted
Add WorkItem attributes to all new tests in BlazorDataAttributeCompletionItemProviderTest
Co-authored-by: ToddGrun <6785178+ToddGrun@users.noreply.github.com>
1 parent ae0cf46 commit a96e2e4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Razor/test/Microsoft.CodeAnalysis.Razor.Workspaces.Test/Completion/BlazorDataAttributeCompletionItemProviderTest.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public BlazorDataAttributeCompletionItemProviderTest(ITestOutputHelper testOutpu
3232
}
3333

3434
[Fact]
35+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
3536
public void GetCompletionItems_OnFormElement_ReturnsDataEnhance()
3637
{
3738
// Arrange
@@ -50,6 +51,7 @@ public void GetCompletionItems_OnFormElement_ReturnsDataEnhance()
5051
}
5152

5253
[Fact]
54+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
5355
public void GetCompletionItems_OnAnchorElement_ReturnsDataEnhanceNav()
5456
{
5557
// Arrange
@@ -68,6 +70,7 @@ public void GetCompletionItems_OnAnchorElement_ReturnsDataEnhanceNav()
6870
}
6971

7072
[Fact]
73+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
7174
public void GetCompletionItems_OnDivElement_ReturnsDataPermanent()
7275
{
7376
// Arrange
@@ -86,6 +89,7 @@ public void GetCompletionItems_OnDivElement_ReturnsDataPermanent()
8689
}
8790

8891
[Fact]
92+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
8993
public void GetCompletionItems_OnNonFormElement_DoesNotReturnDataEnhance()
9094
{
9195
// Arrange
@@ -101,6 +105,7 @@ public void GetCompletionItems_OnNonFormElement_DoesNotReturnDataEnhance()
101105
}
102106

103107
[Fact]
108+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
104109
public void GetCompletionItems_OnDivElement_ReturnsDataEnhanceNav()
105110
{
106111
// Arrange - data-enhance-nav can go on any element, not just anchors
@@ -116,6 +121,7 @@ public void GetCompletionItems_OnDivElement_ReturnsDataEnhanceNav()
116121
}
117122

118123
[Fact]
124+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
119125
public void GetCompletionItems_OnNonComponentFile_ReturnsEmpty()
120126
{
121127
// Arrange - need to test with non-component file, which requires different setup
@@ -141,6 +147,7 @@ public void GetCompletionItems_OnNonComponentFile_ReturnsEmpty()
141147
}
142148

143149
[Fact]
150+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
144151
public void GetCompletionItems_OnDirectiveAttribute_ReturnsEmpty()
145152
{
146153
// Arrange
@@ -155,6 +162,7 @@ public void GetCompletionItems_OnDirectiveAttribute_ReturnsEmpty()
155162
}
156163

157164
[Fact]
165+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
158166
public void GetCompletionItems_ExistingDataEnhanceAttribute_DoesNotDuplicateOnDifferentAttribute()
159167
{
160168
// Arrange
@@ -171,6 +179,7 @@ public void GetCompletionItems_ExistingDataEnhanceAttribute_DoesNotDuplicateOnDi
171179
}
172180

173181
[Fact]
182+
[Roslyn.Test.Utilities.WorkItem("https://github.com/dotnet/razor/issues/9378")]
174183
public void GetCompletionItems_WithSnippetsDisabled_ReturnsPlainText()
175184
{
176185
// Arrange

0 commit comments

Comments
 (0)