public EditorHostTest() { try { _editorHost = GetOrCreateEditorHost(); } catch (ReflectionTypeLoadException e) { // When this fails in AppVeyor the error message is useless. Need to construct a more actionable // error message here. var builder = new StringBuilder(); builder.AppendLine(e.Message); foreach (var item in e.LoaderExceptions) { builder.AppendLine(item.Message); } throw new Exception(builder.ToString(), e); } _synchronizationContext = new TestableSynchronizationContext(); _synchronizationContext.Install(); }
public EditorHostTest() { _editorHost = GetOrCreateEditorHost(); _synchronizationContext = new TestableSynchronizationContext(); _synchronizationContext.Install(); }
public TaggerCommonTest() { _synchronizationContext = new TestableSynchronizationContext(); _synchronizationContext.Install(); }