Exemple #1
0
 public ResharperTests(OutputWindowPane pane,
                       ResharperThreading threading,
                       resharper::JetBrains.ActionManagement.ActionManager actionManager,
                       resharper::JetBrains.ReSharper.Daemon.SolutionAnalysis.SolutionAnalysisManager solutionManager,
                       resharper::JetBrains.ProjectModel.ISolution solution)
 {
     _pane            = pane;
     _threading       = threading;
     _actionManager   = actionManager;
     _solutionManager = solutionManager;
     _solution        = solution;
 }
 public ResharperTests(OutputWindowPane pane,
     ResharperThreading threading,
     resharper::JetBrains.ActionManagement.ActionManager actionManager,
     resharper::JetBrains.ReSharper.Daemon.SolutionAnalysis.SolutionAnalysisManager solutionManager,
     resharper::JetBrains.ProjectModel.ISolution solution)
 {
     _pane = pane;
     _threading = threading;
     _actionManager = actionManager;
     _solutionManager = solutionManager;
     _solution = solution;
 }
Exemple #3
0
        public TestRunner(ResharperThreading threading,
                          resharper::JetBrains.ActionManagement.ActionManager actionManager,
                          resharper::JetBrains.ReSharper.Daemon.SolutionAnalysis.SolutionAnalysisManager saManager,
                          resharper::JetBrains.ProjectModel.ISolution solution)
        {
            _threading = threading;
            _actionManager = actionManager;
            _saManager = saManager;

            _dte = (DTE2)SiteManager.GetGlobalService<DTE>();
            _output = new OpenWrapOutput();
            var output = (OutputWindow)_dte.Windows.Item(Constants.vsWindowKindOutput).Object;
            _pane = output.OutputWindowPanes.Add(PluginManager.OUTPUT_RESHARPER_TESTS);
            _debugThread = new System.Threading.Thread(WaitForOutput) { Name = "OpenWrap Test Runner Thread" };
            _debugThread.SetApartmentState(ApartmentState.STA);
            _debugThread.Start();

        }
Exemple #4
0
        public TestRunner(ResharperThreading threading,
                          resharper::JetBrains.ActionManagement.ActionManager actionManager,
                          resharper::JetBrains.ReSharper.Daemon.SolutionAnalysis.SolutionAnalysisManager saManager,
                          resharper::JetBrains.ProjectModel.ISolution solution)
        {
            _threading     = threading;
            _actionManager = actionManager;
            _saManager     = saManager;

            _dte    = (DTE2)SiteManager.GetGlobalService <DTE>();
            _output = new OpenWrapOutput();
            var output = (OutputWindow)_dte.Windows.Item(Constants.vsWindowKindOutput).Object;

            _pane        = output.OutputWindowPanes.Add(PluginManager.OUTPUT_RESHARPER_TESTS);
            _debugThread = new System.Threading.Thread(WaitForOutput)
            {
                Name = "OpenWrap Test Runner Thread"
            };
            _debugThread.SetApartmentState(ApartmentState.STA);
            _debugThread.Start();
        }