Example #1
0
        public SessionController(
            IDispatcherExecute dispatcher,
            CommonServices svc,
            MutantDetailsController mutantDetailsController,
            IMutantsContainer mutantsContainer,
            ITestsContainer testsContainer,
            IFactory <ResultsSavingController> resultsSavingFactory,
            IFactory <TestingProcess> testingProcessFactory,
            IRootFactory <TestingMutant> testingMutantFactory,
            MutationSessionChoices choices,
            OptionsModel options)
        {
            _dispatcher = dispatcher;
            _svc        = svc;
            _mutantDetailsController = mutantDetailsController;
            _mutantsContainer        = mutantsContainer;
            _testsContainer          = testsContainer;
            _resultsSavingFactory    = resultsSavingFactory;
            _testingProcessFactory   = testingProcessFactory;
            _testingMutantFactory    = testingMutantFactory;
            _choices = choices;

            _sessionState         = SessionState.NotStarted;
            _sessionEventsSubject = new Subject <SessionEventArgs>();
            _subscriptions        = new List <IDisposable>();
            _options = options;
        }
        public SessionController(
            IDispatcherExecute dispatcher,
            CommonServices svc,
            MutantDetailsController mutantDetailsController,
            IMutantsContainer mutantsContainer,
            ITestsContainer testsContainer,
            IFactory<ResultsSavingController> resultsSavingFactory,
            IFactory<TestingProcess> testingProcessFactory,
            IRootFactory<TestingMutant> testingMutantFactory,
            MutationSessionChoices choices)
        {
            _dispatcher = dispatcher;
            _svc = svc;
            _mutantDetailsController = mutantDetailsController;
            _mutantsContainer = mutantsContainer;
            _testsContainer = testsContainer;
            _resultsSavingFactory = resultsSavingFactory;
            _testingProcessFactory = testingProcessFactory;
            _testingMutantFactory = testingMutantFactory;
            _choices = choices;

            _sessionState = SessionState.NotStarted;
            _sessionEventsSubject = new Subject<SessionEventArgs>();
            _subscriptions = new List<IDisposable>();


        }
Example #3
0
 public MutantDetailsController(
     MutantDetailsViewModel viewModel,
     ITestsContainer testsContainer,
     ICodeVisualizer codeVisualizer,
     IMutantsCache mutantsCache)
 {
     _viewModel      = viewModel;
     _testsContainer = testsContainer;
     _codeVisualizer = codeVisualizer;
     _mutantsCache   = mutantsCache;
 }
 public MutantDetailsController(
     MutantDetailsViewModel viewModel, 
     ITestsContainer testsContainer, 
     ICodeVisualizer codeVisualizer,
     IMutantsCache mutantsCache)
 {
     _viewModel = viewModel;
     _testsContainer = testsContainer;
     _codeVisualizer = codeVisualizer;
     _mutantsCache = mutantsCache;
 }
 public XmlResultsGenerator(
     MutationSessionChoices choices,
     SessionController sessionController,
     ITestsContainer testsContainer,
     IMutantsCache mutantsCache,
     ICodeVisualizer codeVisualizer)
 {
     _choices           = choices;
     _sessionController = sessionController;
     _testsContainer    = testsContainer;
     _mutantsCache      = mutantsCache;
     _codeVisualizer    = codeVisualizer;
 }
 public XmlResultsGenerator(
     MutationSessionChoices choices,
     SessionController sessionController,
     ITestsContainer testsContainer,
     IMutantsCache mutantsCache,
     ICodeVisualizer codeVisualizer)
 {
     _choices = choices;
     _sessionController = sessionController;
     _testsContainer = testsContainer;
     _mutantsCache = mutantsCache;
     _codeVisualizer = codeVisualizer;
 }