Esempio n. 1
0
        public void Setup()
        {
            _tsk  = new TSK();
            _tsks = new List <TSK> {
                _tsk
            };
            _dataPath  = Path.GetTempPath();
            _documents = new Documents();
            _catalog   = new Catalog();
            _linkIds   = new Dictionary <string, List <UniqueId> >();

            _dataModel           = new ApplicationDataModel();
            _dataModel.Documents = _documents;
            _dataModel.Catalog   = _catalog;

            _operationDataMapper = new Mock <IOperationDataMapper>();

            _loggedDataMapper = new LoggedDataMapper(_operationDataMapper.Object);
        }
Esempio n. 2
0
        public void Setup()
        {
            _tsk = new TSK();
            _tsks = new List<TSK>{ _tsk };
            _dataPath = Path.GetTempPath();
            _documents = new Documents();
            _catalog = new Catalog();
            _linkIds = new Dictionary<string, List<UniqueId>>();

            _dataModel = new ApplicationDataModel();
            _dataModel.Documents = _documents;
            _dataModel.Catalog = _catalog;

            _operationDataMapper = new Mock<IOperationDataMapper>();

            _loggedDataMapper = new LoggedDataMapper(_operationDataMapper.Object);
        }