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; } }
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); } }
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); }