Exemple #1
0
 public static void WaitForMessage(this OutputWindowPane outputWindow, string message, int messageCount = 1, TimeSpan waitFor = new TimeSpan())
 {
     if (waitFor == TimeSpan.Zero)
     {
         waitFor = TimeSpan.FromMinutes(1);
     }
     ((DTE2)outputWindow.DTE).WaitFor(() => outputWindow.Read().Contains(message, messageCount), waitFor);
 }
Exemple #2
0
 string ReadTest(OutputWindowPane pane)
 {
     return pane.Read().Split(new[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries)
         .LastOrDefault(x => x.StartsWith(PluginManager.RESHARPER_TEST));
 }
Exemple #3
0
 string ReadTest(OutputWindowPane pane)
 {
     return(pane.Read().Split(new[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries)
            .LastOrDefault(x => x.StartsWith(PluginManager.RESHARPER_TEST)));
 }