public void SetUp() { _compRoot = new MediumTestDebugEngineFactoryCompRoot(new JoinableTaskContext()); _varInfoFactory = _compRoot.GetLldbVariableInformationFactory(); _nLogSpy = _compRoot.GetNatvisDiagnosticLogSpy(); _nLogSpy.Attach(); _evaluator = _compRoot.GetNatvisExpressionEvaluator(); }
public void SetUp() { _compRoot = new MediumTestDebugEngineFactoryCompRoot(new JoinableTaskContext()); ((OptionPageGrid)_compRoot.GetVsiService().Options).ExpressionEvaluationEngine = ExpressionEvaluationEngineFlag.LLDB; _varInfoFactory = _compRoot.GetLldbVariableInformationFactory(); _nLogSpy = _compRoot.GetNatvisDiagnosticLogSpy(); _nLogSpy.Attach(); _evaluator = _compRoot.GetNatvisExpressionEvaluator(); }
public void SetUp() { _optionPageGrid = OptionPageGrid.CreateForTesting(); _optionPageGrid.NatvisLoggingLevel = NatvisLoggingLevelFeatureFlag.VERBOSE; var taskContext = new JoinableTaskContext(); var serviceManager = new FakeServiceManager(taskContext); serviceManager.AddService(typeof(YetiVSIService), new YetiVSIService(_optionPageGrid)); _compRoot = new MediumTestDebugEngineFactoryCompRoot( serviceManager, taskContext, new GameletClientStub.Factory(), TestDummyGenerator.Create <IWindowsRegistry>()); _varInfoFactory = _compRoot.GetLldbVariableInformationFactory(); _nLogSpy = _compRoot.GetNatvisDiagnosticLogSpy(); _nLogSpy.Attach(); _evaluator = _compRoot.GetNatvisExpressionEvaluator(); }