Example #1
0
 public FakeStringWriter(ConsoleLog l)
 {
     log = l;
 }
Example #2
0
 public FakeStringReader(string s, ConsoleLog l, FakeStringWriter tw)
     : base(s)
 {
     log = l;
     this.tw = tw;
 }
Example #3
0
 public FakeStringReader(string s, ConsoleLog l, FakeStringWriter tw)
     : base(s)
 {
     log     = l;
     this.tw = tw;
 }
Example #4
0
 public TestHelper()
 {
     l  = new ConsoleLog();
     tw = new FakeStringWriter(l);
     Console.SetOut(tw);
 }
Example #5
0
        private int cursor = 0; //index for the new line - when it's pointing to new line, cursor can be = Entries.count

        public FakeStringWriter(ConsoleLog l)
        {
            log = l;
        }