public ProfilerCorruptionListener(DTE2 application, ATEClient client) { //seemed like as good a place as any to register the visualizers since its the only thing that uses them. _syncContext = AsyncOperationManager.SynchronizationContext; _application = application; _client = client; }
public MsAGLVisualization(DisplayMode mode, DTE2 _dte, bool transparent, ATEClient client) { _mode = mode; this._dte = _dte; _transparent = transparent; _client = client; }
public SequenceDiagramGenerateListener(DTE2 application, ATEClient client) { _syncContext = AsyncOperationManager.SynchronizationContext; _application = application; _client = client; SequenceDiagramGeneratorFactory.RegisterGraphVisualizer("default", new GoDiagramSequenceDiagramGenerator(DisplayMode.Dark, _application, true)); SequenceDiagramGeneratorFactory.RegisterGraphVisualizer(GraphProvider.BUILTINDARK.ToString(), new GoDiagramSequenceDiagramGenerator(DisplayMode.Dark, _application, true)); SequenceDiagramGeneratorFactory.RegisterGraphVisualizer(GraphProvider.BUILTINLIGHT.ToString(), new GoDiagramSequenceDiagramGenerator(DisplayMode.Light, _application, true)); SequenceDiagramGeneratorFactory.RegisterGraphVisualizer(GraphProvider.WINDOW.ToString(), new GoDiagramSequenceDiagramGenerator(DisplayMode.Light, _application, false)); }
public GraphGenerateListener(DTE2 application, ATEClient client) { //seemed like as good a place as any to register the visualizers since its the only thing that uses them. _syncContext = AsyncOperationManager.SynchronizationContext; _application = application; _client = client; GraphGeneratorFactory.RegisterGraphVisualizer("default", new MsAGLVisualization(DisplayMode.Dark, _application, true, client)); GraphGeneratorFactory.RegisterGraphVisualizer(GraphProvider.BUILTINLIGHT.ToString(), new MsAGLVisualization(DisplayMode.Light, _application, true, client)); GraphGeneratorFactory.RegisterGraphVisualizer(GraphProvider.BUILTINDARK.ToString(), new MsAGLVisualization(DisplayMode.Dark, _application, true, client)); GraphGeneratorFactory.RegisterGraphVisualizer(GraphProvider.WINDOW.ToString(), new MsAGLVisualization(DisplayMode.Light, _application, false, client)); GraphGeneratorFactory.RegisterGraphVisualizer(GraphProvider.DGML.ToString(), new DGMLGraphVisualization(_application)); GraphGeneratorFactory.RegisterGraphVisualizer(GraphProvider.GRAPHVIZ.ToString(), new GraphVizGraphVisualization()); }
public AGLVisualizer(DisplayMode mode, DTE2 dte, bool transparent, ATEClient client) { Icon = ResourceReader.GetIcon("MM-16.ico"); if(transparent) { BackColor = System.Drawing.Color.FromArgb(1, 2, 3); ForeColor = System.Drawing.Color.FromArgb(1, 2, 3); TransparencyKey = System.Drawing.Color.FromArgb(1, 2, 9); Opacity = 0.8D; FormBorderStyle = FormBorderStyle.None; } _mode = mode; _dte = dte; _transparent = transparent; _client = client; InitializeComponent(); if(_mode == DisplayMode.Light) { BackColor = System.Drawing.Color.LightGray; TransparencyKey = System.Drawing.Color.FromArgb(255, 254, 253); } }
static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var path = Environment.CurrentDirectory; if (args.Length > 0) path = Path.GetFullPath(args[0]); if (!Directory.Exists(path) && !File.Exists(path)) { Console.WriteLine("Solution/Directory {0} does not exist", path); return; } var form = new RunFeedbackForm(path); Logger.SetListener(new FileLogger()); Client = new ATEClient(); Client.Start(new StartupParams(path), form); Application.Run(form); Client.Stop(); System.Threading.Thread.Sleep(300); }
public AutoTestVSConfigurationLocal(ATEClient client) { _client = client; }
public RunRelatedTests(ATEClient client, DTE2 application, IVSBuildRunner buildRunner) { _client = client; _application = application; _buildRunner = buildRunner; }
public RealtimeToggler(ATEClient client) { _client = client; }
private void initialize() { _syncCtx = AsyncOperationManager.SynchronizationContext; _client = new ATEClient(); _client.SupressUI(); }
public AutoTestVSAbout(ATEClient client) { _client = client; }
public AutoTestVSClearTestCache(ATEClient client) { _client = client; }
public GetSequenceDiagram(ATEClient client, DTE2 applicationObject) { _client = client; _applicationObject = applicationObject; }
public GetAffectedCodeGraph(ATEClient client, DTE2 applicationObject) { _client = client; _applicationObject = applicationObject; }
public AutoTestVSRunAll(DTE2 applicationObject, ATEClient client, IVSBuildRunner buildRunner) { _applicationObject = applicationObject; _client = client; _buildRunner = buildRunner; }
public AutoTestVSConfigurationSolution(ATEClient client) { _client = client; }
static void run(string localConfig, string path, IStartupHandler handler) { if (localConfig != null) { var parser = new PathParser(localConfig); if (Directory.Exists(Path.Combine(path, localConfig))) localConfig = parser.ToAbsolute(path); } Logger.SetListener(new FileLogger()); Client = new ATEClient(); Client.Start(new StartupParams(path, localConfig), handler); }
public AutoTestVSDetectRecursive(ATEClient client) { _client = client; }
public AutoModeDoubleBuildOnDemandHandler(ATEClient client) { _client = client; }
public AutoTestVSStop(ATEClient client) { _client = client; }
public AutoTestVSGetLastGraph(ATEClient client) { _client = client; }