상속: IUnitTestProvider
        protected Element(MSpecUnitTestProvider provider,
                          IPsi psiModuleManager,
                          ICache cacheManager,
                          Element parent,
                          ProjectModelElementEnvoy projectEnvoy,
                          IClrTypeName declaringTypeName,
                          bool isIgnored)
        {
            if (declaringTypeName == null)
            {
                throw new ArgumentNullException("declaringTypeName");
            }

            if (projectEnvoy != null)
            {
                this._projectEnvoy = projectEnvoy;
            }

            this._provider = provider;
            this._declaringTypeName = declaringTypeName;
            this._psiModuleManager = psiModuleManager;
            this._cacheManager = cacheManager;

            if (isIgnored)
            {
                this.ExplicitReason = "Ignored";
            }

            this.TypeName = declaringTypeName;
            this.Parent = parent;

            this.Children = new List<IUnitTestElement>();
            this.State = UnitTestElementState.Valid;
            this._taskFactory = new UnitTestTaskFactory(this._provider.ID);
        }
예제 #2
0
 public MSpecUnitTestElementSerializer(ISolution solution, MSpecUnitTestProvider provider, IUnitTestElementManager manager, PsiModuleManager psiModuleManager, CacheManager cacheManager)
 {
     _solution         = solution;
     _provider         = provider;
     _manager          = manager;
     _psiModuleManager = psiModuleManager;
     _cacheManager     = cacheManager;
 }
 public MSpecUnitTestElementSerializer(ISolution solution, MSpecUnitTestProvider provider, IUnitTestElementManager manager, PsiModuleManager psiModuleManager, CacheManager cacheManager)
 {
   _solution = solution;
   _provider = provider;
   _manager = manager;
   _psiModuleManager = psiModuleManager;
   _cacheManager = cacheManager;
 }
 public BehaviorFactory(MSpecUnitTestProvider provider,
                      IUnitTestElementManager manager,
                      IPsi psiModuleManager,
                      ICache cacheManager,
                      ElementCache cache)
 {
     this._psiModuleManager = psiModuleManager;
     this._cacheManager = cacheManager;
     this._provider = provider;
     this._cache = cache;
     this._manager = manager;
 }
 public MSpecUnitTestElementSerializer(ISolution solution,
                                       MSpecUnitTestProvider provider,
                                       ContextFactory contextFactory,
                                       ContextSpecificationFactory contextSpecificationFactory,
                                       BehaviorFactory behaviorFactory,
                                       BehaviorSpecificationFactory behaviorSpecificationFactory)
 {
     _solution       = solution;
     _provider       = provider;
     _contextFactory = contextFactory;
     _contextSpecificationFactory  = contextSpecificationFactory;
     _behaviorFactory              = behaviorFactory;
     _behaviorSpecificationFactory = behaviorSpecificationFactory;
 }
 public MSpecUnitTestElementSerializer(ISolution solution,
                                       MSpecUnitTestProvider provider,
                                       ContextFactory contextFactory,
                                       ContextSpecificationFactory contextSpecificationFactory,
                                       BehaviorFactory behaviorFactory,
                                       BehaviorSpecificationFactory behaviorSpecificationFactory)
 {
   _solution = solution;
   _provider = provider;
   _contextFactory = contextFactory;
   _contextSpecificationFactory = contextSpecificationFactory;
   _behaviorFactory = behaviorFactory;
   _behaviorSpecificationFactory = behaviorSpecificationFactory;
 }
 public ContextFactory(MSpecUnitTestProvider provider,
                       IUnitTestElementManager manager,
                       IUnitTestCategoryFactory categoryFactory,
                       IPsi psiModuleManager,
                       ICache cacheManager,
                       ElementCache cache)
 {
     this._manager = manager;
     this._categoryFactory = categoryFactory;
     this._psiModuleManager = psiModuleManager;
     this._cacheManager = cacheManager;
     this._provider = provider;
     this._cache = cache;
 }