Пример #1
0
        public void Logout_Loggedin()
        {
            Assert.True(us.login("abc", "123"));
            ClientUserProfile prof = us.getUser("abc");

            Assert.True(us.logout(prof.Username));
            Assert.False(us.logout(prof.Username));
        }
Пример #2
0
 public void badEditUsername_Loggedout()
 {
     us.logout("abc");
     //ClientUserProfile user = us.getUser("abc");
     Assert.False(us.editUserName("aaaaa", "abc"));
 }
Пример #3
0
 public void Success_LoginTest()
 {
     Assert.True(us.login("abc", "123"));
     us.logout("abc");
 }