public void Logs_Can_Open_As_Small_File() { // We are just testing a return value (as we know the example file is less than 200MB) // But this test method does not test/check that var canOpenLogs = _logViewer.CheckCanOpenLogs(_logTimePeriod); Assert.IsTrue(canOpenLogs); }
private bool CanViewLogs(LogTimePeriod logTimePeriod) { //Can the interface deal with Large Files if (_logViewer.CanHandleLargeLogs) { return(true); } //Interface CheckCanOpenLogs return(_logViewer.CheckCanOpenLogs(logTimePeriod)); }
private bool CanViewLogs() { //Can the interface deal with Large Files if (_logViewer.CanHandleLargeLogs) { return(true); } //Interface CheckCanOpenLogs return(_logViewer.CheckCanOpenLogs(startDate: DateTime.Now.AddDays(-1), endDate: DateTime.Now)); }
private bool CanViewLogs(LogTimePeriod logTimePeriod) { return(_logViewer.CanHandleLargeLogs || _logViewer.CheckCanOpenLogs(logTimePeriod)); }