提交 7823e22c 编写于 作者: J Jason Malinowski

CodeModel operation tests need WpfFact for now

上级 825ef0be
......@@ -8,6 +8,8 @@ Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.CodeModel
Inherits AbstractCodeModelObjectTests(Of EnvDTE80.FileCodeModel2)
Protected Async Function TestOperation(code As XElement, expectedCode As XElement, operation As Action(Of EnvDTE80.FileCodeModel2)) As Task
Roslyn.Test.Utilities.WpfTestCase.RequireWpfFact($"Test calls TestOperation which means we're creating new CodeModel elements.")
Using state = Await CreateCodeModelTestStateAsync(GetWorkspaceDefinition(code))
Dim fileCodeModel = state.FileCodeModel
Assert.NotNull(fileCodeModel)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册