예제 #1
0
 public static void ClassInitialize(TestContext context)
 {
     testData = new TestData();
     logFile196407 = testData.GetLogFile(196407);
     logFile9 = testData.GetLogFile(9);
     logFile5 = testData.GetLogFile(5);
 }
 public static void ClassCleanup()
 {
     if (testData != null)
     {
         testData.Dispose();
         testData = null;
     }
 }
예제 #3
0
 private static void CountLines(int count)
 {
     using (var testData = new TestData())
     {
         var logFilePath = testData.GetLogFile(count);
         var logFile = LogFile.LoadFrom(logFilePath);
         Assert.AreEqual(count, logFile.Lines.Count);
     }
 }
예제 #4
0
 public static void ClassInitialize(TestContext context)
 {
     testData   = new TestData();
     logFile100 = testData.GetLogFile(100);
     logFile5   = testData.GetLogFile(5);
 }
 public static void ClassInitialize(TestContext context)
 {
     testData = new TestData();
     logFilePath = testData.GetLogFile(100);
 }