|
|
@ -61,16 +61,19 @@ class MyTest { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
@Test |
|
|
|
public void testSetPassword() { |
|
|
|
String result = String.valueOf(LoginFrame.passwordField); |
|
|
|
assertEquals(result, LoginFrame.setPassword()); |
|
|
|
assertNotEquals(result + " ", LoginFrame.setPassword()); |
|
|
|
assertNotEquals(null, LoginFrame.setPassword()); |
|
|
|
|
|
|
|
|
|
|
|
assertEquals("password", LoginFrame.setBenutzername("password")); |
|
|
|
assertEquals("PassWord", LoginFrame.setBenutzername("PassWord")); |
|
|
|
assertNotEquals("password", LoginFrame.setBenutzername("")); |
|
|
|
assertNotEquals("PASSWORD", LoginFrame.setBenutzername("password")); |
|
|
|
assertNotEquals("", LoginFrame.setBenutzername("password")); |
|
|
|
assertEquals("PaSSwOrd".toUpperCase(), LoginFrame.setBenutzername("passwoRd").toUpperCase()); |
|
|
|
|
|
|
|
} |
|
|
|
*/ |
|
|
|
|
|
|
|
@Test |
|
|
|
public void testSetLeeren() { |
|
|
|
|
|
|
|