C# Class CK.Monitoring.Tests.TestHelper

Mostrar archivo Open project: Invenietis/ck-core

Public Methods

Method Description
CleanupFolder ( string folder ) : void
CleanupTestFolder ( ) : void
InitalizePaths ( ) : void
ReadAllLogs ( DirectoryInfo folder, bool recurse ) : List
ReplayLogs ( DirectoryInfo directory, bool recurse, ActivityMonitor>.Func monitorProvider, IActivityMonitor m = null ) : void
WaitForCkmonFilesInDirectory ( string directoryPath, int minFileCount ) : string[]

Private Methods

Method Description
TestHelper ( ) : System

Method Details

CleanupFolder() public static method

public static CleanupFolder ( string folder ) : void
folder string
return void

CleanupTestFolder() public static method

public static CleanupTestFolder ( ) : void
return void

InitalizePaths() public static method

public static InitalizePaths ( ) : void
return void

ReadAllLogs() public static method

public static ReadAllLogs ( DirectoryInfo folder, bool recurse ) : List
folder System.IO.DirectoryInfo
recurse bool
return List

ReplayLogs() public static method

public static ReplayLogs ( DirectoryInfo directory, bool recurse, ActivityMonitor>.Func monitorProvider, IActivityMonitor m = null ) : void
directory System.IO.DirectoryInfo
recurse bool
monitorProvider ActivityMonitor>.Func
m IActivityMonitor
return void

WaitForCkmonFilesInDirectory() public static method

public static WaitForCkmonFilesInDirectory ( string directoryPath, int minFileCount ) : string[]
directoryPath string
minFileCount int
return string[]