Example #1
0
        public async Task GetOutputWindowPaneAsync_ReturnsResult()
        {
            var outputWindow = IVsOutputWindowFactory.Create();

            var provider = CreateInstance(outputWindow: outputWindow);

            var result = await provider.GetOutputWindowPaneAsync();

            Assert.NotNull(result);
        }
Example #2
0
        public async Task GetOutputWindowPaneAsync_ReturnsCachedResult()
        {
            var outputWindow = IVsOutputWindowFactory.Create();

            var provider = CreateInstance(outputWindow: outputWindow);

            var result1 = await provider.GetOutputWindowPaneAsync();

            var result2 = await provider.GetOutputWindowPaneAsync();

            Assert.Same(result1, result2);
        }