Пример #1
0
 public void Setup() {
     sw = new StringWriter();
     dir = FileSystemHelper.ResetTemporaryDirectory();
     dira = Path.Combine(dir, "a");
     dirb = Path.Combine(dir, "b");
     filea = Path.Combine(dira, "a.txt");
     fileb = Path.Combine(dirb, "b.txt");
     Directory.CreateDirectory(dira);
     Directory.CreateDirectory(dirb);
     uab = new TestUpdater(sw, filea, fileb);
     uba = new TestUpdater(sw, fileb, filea);
 }
Пример #2
0
 public void Setup()
 {
     sw    = new StringWriter();
     dir   = FileSystemHelper.ResetTemporaryDirectory();
     dira  = Path.Combine(dir, "a");
     dirb  = Path.Combine(dir, "b");
     filea = Path.Combine(dira, "a.txt");
     fileb = Path.Combine(dirb, "b.txt");
     Directory.CreateDirectory(dira);
     Directory.CreateDirectory(dirb);
     uab = new TestUpdater(sw, filea, fileb);
     uba = new TestUpdater(sw, fileb, filea);
 }