Example #1
0
 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();
 }
Example #2
0
 public EditorHostTest()
 {
     _editorHost             = GetOrCreateEditorHost();
     _synchronizationContext = new TestableSynchronizationContext();
     _synchronizationContext.Install();
 }
Example #3
0
 public TaggerCommonTest()
 {
     _synchronizationContext = new TestableSynchronizationContext();
     _synchronizationContext.Install();
 }