|
@ -46,4 +46,11 @@ public class GamelauncherMainTest |
|
|
public void nameUeberpruefen() { |
|
|
public void nameUeberpruefen() { |
|
|
assertTrue(glm.getTitle() == "Game Launcher Java, C Plus Plus ist besser"); |
|
|
assertTrue(glm.getTitle() == "Game Launcher Java, C Plus Plus ist besser"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|
public void sichtbarkeitUeberpruefen() { |
|
|
|
|
|
boolean sichbar = true; |
|
|
|
|
|
glm.setVisible(true); |
|
|
|
|
|
assertTrue(sichbar == glm.isVisible()); |
|
|
|
|
|
} |
|
|
} |
|
|
} |