protected ProjectFilesTracker(VsProjectScope vsProjectScope)
        {
            if (vsProjectScope.GherkinProcessingScheduler == null)
            {
                throw new ArgumentException("GherkinProcessingScheduler is null", "vsProjectScope");
            }

            this.vsProjectScope = vsProjectScope;
            this.IsStepMapDirty = true;
        }
Ejemplo n.º 2
0
        public BindingAssemblyInfo(string assemblyName, Project mainProject)
        {
            AssemblyName = assemblyName;
            Project      = VsxHelper.FindProjectByAssemblyName(mainProject.DTE, AssemblyShortName);

            if (Project != null && VsProjectScope.GetTargetLanguage(Project) == ProgrammingLanguage.FSharp) //HACK: we force the f# libs to be used as assembly reference
            {
                Project = null;
            }

            if (Project == null)
            {
                Reference = VsxHelper.GetReference(mainProject, assemblyName);
            }
        }
Ejemplo n.º 3
0
 public BindingFilesTracker(VsProjectScope vsProjectScope) : base(vsProjectScope)
 {
     stepSuggestionBindingCollector = new VsBindingRegistryBuilder(vsProjectScope.Tracer);
 }
Ejemplo n.º 4
0
 public VsStepSuggestionProvider(VsProjectScope vsProjectScope)
     : base(VsSuggestionItemFactory.Instance, vsProjectScope)
 {
     this.vsProjectScope = vsProjectScope;
 }
 public ProjectFeatureFilesTracker(VsProjectScope vsProjectScope) : base(vsProjectScope)
 {
     _filesTracker = CreateFilesTracker(this.vsProjectScope.Project, @"\.feature$");
     _testGeneratorForCodeBehindVersionDetection = new Lazy <ITestGenerator>(() => vsProjectScope.GeneratorServices.CreateTestGenerator(), true);
 }