public void Validate_FalseIfEmpty() { FtpConnectionManager _FtpConnection = new FtpConnectionManager("", "", ""); var result = _FtpConnection.Validate(); Assert.False(result, "should be false for invalid input"); }
private static void SkipLogin() { connection = new FtpConnectionManager(); if (connection.Validate()) { logFile = "default.log"; ProcessInput(); } else { Console.WriteLine("Test Login Failed"); } }
private static void Login(string u, string h, bool shouldSaveIfSuccessful = false) { logFile = $"{u}.log"; Console.Write("Enter password: "******"Login Failed"); NewConnection(); } }