Example #1
0
 public void Constructor_NullAsProjectTree_ThrowsArgumentNull()
 {
     Assert.Throws <ArgumentNullException>(() => CreateInstance(null, IUnconfiguredProjectVsServicesFactory.Create(),
                                                                SVsServiceProviderFactory.Create()));
 }
Example #2
0
 public void Constructor_NullAsSVsServiceProvider_ThrowsArgumentNull()
 {
     Assert.Throws <ArgumentNullException>(() => CreateInstance(IPhysicalProjectTreeFactory.Create(),
                                                                IUnconfiguredProjectVsServicesFactory.Create(), null));
 }
Example #3
0
        private VsProjectSpecialFilesManager CreateInstance(IVsProjectSpecialFiles specialFiles)
        {
            IUnconfiguredProjectVsServices projectVsServices = IUnconfiguredProjectVsServicesFactory.Implement(hierarchyCreator: () => (IVsHierarchy)specialFiles);

            return(new VsProjectSpecialFilesManager(projectVsServices));
        }