提交 c6a123d4 编写于 作者: C CyrusNajmabadi

Fix up tests.

上级 db9b0906
......@@ -859,7 +859,7 @@ public partial class C
_provider = new NavigateToItemProvider(
workspace, _glyphServiceMock.Object, aggregateListener,
workspace.ExportProvider.GetExportedValues<Lazy<INavigateToOptionsService, VisualStudioVersionMetadata>>());
workspace.ExportProvider.GetExportedValues<Lazy<INavigateToHostVersionService, VisualStudioVersionMetadata>>());
_aggregator = new NavigateToTestAggregator(_provider);
var items = await _aggregator.GetItemsAsync("VisibleMethod");
......
......@@ -25,7 +25,7 @@ public abstract class AbstractNavigateToTests
protected static ExportProvider s_exportProvider =
MinimalTestExportProvider.CreateExportProvider(
TestExportProvider.CreateAssemblyCatalogWithCSharpAndVisualBasic().WithPart(
typeof(Dev14NavigateToOptionsService)));
typeof(Dev14NavigateToHostVersionService)));
protected readonly Mock<IGlyphService> _glyphServiceMock = new Mock<IGlyphService>(MockBehavior.Strict);
......@@ -71,7 +71,7 @@ private void InitializeWorkspace(TestWorkspace workspace)
workspace,
_glyphServiceMock.Object,
aggregateListener,
workspace.ExportProvider.GetExportedValues<Lazy<INavigateToOptionsService, VisualStudioVersionMetadata>>());
workspace.ExportProvider.GetExportedValues<Lazy<INavigateToHostVersionService, VisualStudioVersionMetadata>>());
_aggregator = new NavigateToTestAggregator(_provider);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册