public void Ping_Connection_Refused_Fail() { ClamdClient failClamd = new ClamdClient("NO-SERVER", 3310); var result = failClamd.Ping(); Assert.IsFalse(result); }
public void SetupTests() { //Setup ClamdClient clamd = new ClamdClient(clamdServer, clamdPort); //Setup Scan Directories cleanScanDirectory = string.Format("{0}{1}clean{1}", baseTestDir, Path.DirectorySeparatorChar); infectedScanDirectory = string.Format("{0}{1}infected{1}", baseTestDir, Path.DirectorySeparatorChar); }