Esempio n. 1
0
 public FakeStringWriter(ConsoleLog l)
 {
     log = l;
 }
Esempio n. 2
0
 public FakeStringReader(string s, ConsoleLog l, FakeStringWriter tw)
     : base(s)
 {
     log = l;
     this.tw = tw;
 }
Esempio n. 3
0
 public FakeStringReader(string s, ConsoleLog l, FakeStringWriter tw)
     : base(s)
 {
     log     = l;
     this.tw = tw;
 }
Esempio n. 4
0
 public TestHelper()
 {
     l  = new ConsoleLog();
     tw = new FakeStringWriter(l);
     Console.SetOut(tw);
 }
Esempio n. 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;
        }