Example #1
0
        public HTMLTestOutputWriter(IHumanFriendlyFormatter formatter)
        {
            if (formatter == null)
            {
                throw new ArgumentNullException("formatter");
            }

            _formatter = formatter;
        }
        public StringTestOutputWriterBase(IHumanFriendlyFormatter formatter, ITextLineWriter writer)
        {
            if (formatter == null)
            {
                throw new ArgumentNullException("formatter");
            }
            if (writer == null)
            {
                throw new ArgumentNullException("writer");
            }

            _formatter = formatter;
            _writer    = writer;

            SetIndentLevel(0);
        }
Example #3
0
 public StringTestOutputWriter(IHumanFriendlyFormatter formatter, ITextLineWriter writer) : base(formatter, writer)
 {
 }
Example #4
0
 public HTMLTestOutputWriter(IHumanFriendlyFormatter formatter)
 {
     this.formatter = formatter ?? throw new ArgumentNullException("formatter");
 }