Esempio n. 1
0
 @Test
 public void testLogin6() {
   // Neither User name or password exists in the database
   assertEquals("Logged In?", false, fc.login("2yourmom23", "1256738fjden"));
 }
Esempio n. 2
0
 @Test
 public void testLogin5() {
   // User name exists, but password does not
   assertEquals("Logged In?", false, fc.login("2354235", "!@#$%"));
 }
Esempio n. 3
0
 @Test
 public void testLogin4() {
   // User name doesn't exist, but password does
   assertEquals("Logged In?", false, fc.login("445984253", "abc123"));
 }
Esempio n. 4
0
  @Test
  public void testLogin3() {

    assertEquals("Logged In?", true, fc.login("2234523", "abc345"));
  }
Esempio n. 5
0
  @Test
  public void testLogin2() {

    assertEquals("Logged In?", true, fc.login("2354235", "abc234"));
  }
Esempio n. 6
0
  @Test
  public void testLogin1() {

    assertEquals("Logged In?", true, fc.login("1412412", "abc123"));
  }