예제 #1
0
        public FileResults(IFile file, EnumerableHelper enumerableHelper)
        {
            _enumerableHelper = enumerableHelper;
            _file = file;

            _errorMessages = new List<IError>();
        }
        public void SetUp()
        {
            _helper = new EnumerableHelper();
            _mocks = new MockRepository();

            _file = _mocks.Stub<IFile>();
            _fileResults = new FileResults(_file);
        }
        public void SetUp()
        {
            _helper = new EnumerableHelper();

            _mocks = new MockRepository();
            _file = _mocks.StrictMock<IFile>();

            _rule = new UsingMsBuild4Rule();
        }
예제 #4
0
        public void SetUp()
        {
            _helper = new EnumerableHelper();

            _mocks = new MockRepository();

            _fileRetriever = _mocks.StrictMock<IFileRetriever>();
            _ruleRetriever = _mocks.StrictMock<IRuleRetriever>();
            _ruleRunner = new RuleRunner(_fileRetriever, _ruleRetriever);
        }