public void CheckCredentialsTest() { SemanticHelper target = new SemanticHelper(); // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.CheckCredentials(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public bool Login(string sUser, string sPassword) { m_sUser = sUser; m_sPassword = sPassword; ClientCredentials user = new ClientCredentials(); user.UserName.UserName = m_sUser; user.UserName.Password = m_sPassword; m_SemanticHelper.SetCredentials(user); return(m_SemanticHelper.CheckCredentials()); }