Inheritance: IActiveSolutionBoundTracker
示例#1
0
 public void TestInitialize()
 {
     workspace = new AdhocWorkspace();
     activeSolutionBoundTracker = new ConfigurableActiveSolutionBoundTracker();
     loggerMock           = new Mock <ILogger>();
     sonarQubeServiceMock = new Mock <ISonarQubeService>();
     vsSolutionMock       = new Mock <IVsSolution>();
     vsSolutionMock.As <IVsSolution5>(); // Allows to cast IVsSolution into IVsSolution5
 }
示例#2
0
        public void TestInitialize()
        {
            this.activeSolutionBoundTracker = new ConfigurableActiveSolutionBoundTracker();
            this.activeSolutionTracker      = new ConfigurableActiveSolutionTracker();
            var serviceProvider = new ConfigurableServiceProvider();

            this.projectSystemHelper = new ConfigurableVsProjectSystemHelper(serviceProvider);
            this.ruleSetProvider     = new ConfigurableSolutionRuleSetsInformationProvider();
            loggerMock = new Mock <ILogger>();
        }