예제 #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;
        }
예제 #2
0
        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>();


        }
예제 #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;
 }
예제 #5
0
 public XmlResultsGenerator(
     MutationSessionChoices choices,
     SessionController sessionController,
     ITestsContainer testsContainer,
     IMutantsCache mutantsCache,
     ICodeVisualizer codeVisualizer)
 {
     _choices           = choices;
     _sessionController = sessionController;
     _testsContainer    = testsContainer;
     _mutantsCache      = mutantsCache;
     _codeVisualizer    = codeVisualizer;
 }
예제 #6
0
 public XmlResultsGenerator(
     MutationSessionChoices choices,
     SessionController sessionController,
     ITestsContainer testsContainer,
     IMutantsCache mutantsCache,
     ICodeVisualizer codeVisualizer)
 {
     _choices = choices;
     _sessionController = sessionController;
     _testsContainer = testsContainer;
     _mutantsCache = mutantsCache;
     _codeVisualizer = codeVisualizer;
 }