public MutantMaterializer(IProjectClonesManager clonesManager, OriginalCodebase originalCodebase, IMutantsCache mutantsCache) { _clonesManager = clonesManager; _originalCodebase = originalCodebase; _mutantsCache = mutantsCache; }
public WhiteCache( IProjectClonesManager fileManager, OptionsModel options, // ------ int threadsCount, int maxCount ) { _fileManager = fileManager; _options = options; _threadsCount = threadsCount; _moduleNameToFileName = new Dictionary<string, string>(); _fileNameToModuleName = new Dictionary<string, string>(); _whiteCaches = new ConcurrentDictionary<string, BlockingCollection<CciModuleSource>>(); _clients = new ConcurrentQueue<WhiteClient>(); _maxCount = maxCount; _initialMaxCount = maxCount; _log.Debug("Whitecache Initializing with max count: "+ _initialMaxCount); _paths = new BlockingCollection<ProjectFilesClone>(); }
public WhiteCache( IProjectClonesManager fileManager, OptionsModel options, // ------ int threadsCount, int maxCount ) { _fileManager = fileManager; _options = options; _threadsCount = threadsCount; _moduleNameToFileName = new Dictionary <string, string>(); _fileNameToModuleName = new Dictionary <string, string>(); _whiteCaches = new ConcurrentDictionary <string, BlockingCollection <CciModuleSource> >(); _clients = new ConcurrentQueue <WhiteClient>(); _maxCount = maxCount; _initialMaxCount = maxCount; _log.Debug("Whitecache Initializing with max count: " + _initialMaxCount); _paths = new BlockingCollection <ProjectFilesClone>(); }
public SessionConfiguration( IProjectClonesManager fileManager, TestsLoader testLoader, IFactory <AutoCreationController> autoCreationControllerFactory, IRootFactory <SessionController> sessionFactory, IWhiteSource whiteCache) { _testLoader = testLoader; _autoCreationControllerFactory = autoCreationControllerFactory; _sessionFactory = sessionFactory; _whiteCache = whiteCache; _originalFilesClone = fileManager.CreateClone("Mutants"); _testsClone = fileManager.CreateClone("Tests"); if (_originalFilesClone.IsIncomplete || _testsClone.IsIncomplete || _testsClone.Assemblies.Count == 0) { AssemblyLoadProblem = true; } }
public SessionConfiguration( IProjectClonesManager fileManager, TestsLoader testLoader, IFactory<AutoCreationController> autoCreationControllerFactory, IRootFactory<SessionController> sessionFactory, IWhiteSource whiteCache) { _testLoader = testLoader; _autoCreationControllerFactory = autoCreationControllerFactory; _sessionFactory = sessionFactory; _whiteCache = whiteCache; _originalFilesClone = fileManager.CreateClone("Mutants"); _testsClone = fileManager.CreateClone("Tests"); if (_originalFilesClone.IsIncomplete || _testsClone.IsIncomplete || _testsClone.Assemblies.Count == 0) { AssemblyLoadProblem = true; } }