31 references to GetTestAccessor
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (31)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (31)
194session.GetTestAccessor().SetTelemetryLogger((id, message) => _telemetryLog.Add($"{id}: {message.GetMessage()}"), () => ++_telemetryId);
1306AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate());
1423AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate());
1640AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate());
1796AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate());
1841AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate());
2379Assert.Null(debuggingSession.GetTestAccessor().GetPendingSolutionUpdate());
2685Assert.Empty(debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate());
2735var pendingUpdate = debuggingSession.GetTestAccessor().GetPendingSolutionUpdate();
2741var readers = debuggingSession.GetTestAccessor().GetBaselineModuleReaders();
2751Assert.Null(debuggingSession.GetTestAccessor().GetPendingSolutionUpdate());
2756var baselineReaders = debuggingSession.GetTestAccessor().GetBaselineModuleReaders();
2762Assert.Same(newBaseline, debuggingSession.GetTestAccessor().GetProjectEmitBaseline(document2.Project.Id));
2774Assert.Null(debuggingSession.GetTestAccessor().GetPendingSolutionUpdate());
2795AssertEx.SetEqual(new[] { moduleId }, debuggingSession.GetTestAccessor().GetModulesPreparedForUpdate());
2870var pendingUpdate = debuggingSession.GetTestAccessor().GetPendingSolutionUpdate();
2873var readers = debuggingSession.GetTestAccessor().GetBaselineModuleReaders();
2884Assert.Null(debuggingSession.GetTestAccessor().GetPendingSolutionUpdate());
2890Assert.Same(newBaseline, debuggingSession.GetTestAccessor().GetProjectEmitBaseline(document2.Project.Id));
2912Assert.Null(debuggingSession.GetTestAccessor().GetPendingSolutionUpdate());
3377var pendingUpdate = debuggingSession.GetTestAccessor().GetPendingSolutionUpdate();
3384var readers = debuggingSession.GetTestAccessor().GetBaselineModuleReaders();
3392Assert.Null(debuggingSession.GetTestAccessor().GetPendingSolutionUpdate());
3398Assert.Same(newBaselineA1, debuggingSession.GetTestAccessor().GetProjectEmitBaseline(projectA.Id));
3399Assert.Same(newBaselineB1, debuggingSession.GetTestAccessor().GetProjectEmitBaseline(projectB.Id));
3425pendingUpdate = debuggingSession.GetTestAccessor().GetPendingSolutionUpdate();
3437var baselineReaders = debuggingSession.GetTestAccessor().GetBaselineModuleReaders();
3441Assert.Null(debuggingSession.GetTestAccessor().GetPendingSolutionUpdate());
3447baselineReaders = debuggingSession.GetTestAccessor().GetBaselineModuleReaders();
3451Assert.Same(newBaselineA2, debuggingSession.GetTestAccessor().GetProjectEmitBaseline(projectA.Id));
3452Assert.Same(newBaselineB2, debuggingSession.GetTestAccessor().GetProjectEmitBaseline(projectB.Id));