|
1 |
| - |
2 |
| -package fi.helsinki.cs.tmc.functionaltests; |
3 |
| - |
4 |
| -import fi.helsinki.cs.tmc.functionaltests.utils.SettingsOperator; |
5 |
| -import fi.helsinki.cs.tmc.functionaltests.utils.TmcFunctionalTestCase; |
6 |
| -import static fi.helsinki.cs.tmc.functionaltests.utils.TmcFunctionalTestCase.loadSuite; |
7 |
| -import junit.framework.Test; |
8 |
| - |
9 |
| -public class ClosingSettingsDialogTest extends TmcFunctionalTestCase{ |
10 |
| - public static Test suite() { |
11 |
| - return loadSuite(ClosingSettingsDialogTest.class); |
12 |
| - } |
13 |
| - |
14 |
| - public ClosingSettingsDialogTest() { |
15 |
| - super("ClosingSettingsDialogTest"); |
16 |
| - } |
17 |
| - |
18 |
| - |
19 |
| - public void testClosingSettingsDialog() throws Exception { |
20 |
| - SettingsOperator settings = SettingsOperator.openSettingsDialog(); |
21 |
| - settings.closeDialogWindow(); |
22 |
| - settings = SettingsOperator.openSettingsDialog(); |
23 |
| - } |
24 |
| -} |
| 1 | +package fi.helsinki.cs.tmc.functionaltests; |
| 2 | + |
| 3 | +import static fi.helsinki.cs.tmc.functionaltests.utils.TmcFunctionalTestCase.loadSuite; |
| 4 | + |
| 5 | +import fi.helsinki.cs.tmc.functionaltests.utils.SettingsOperator; |
| 6 | +import fi.helsinki.cs.tmc.functionaltests.utils.TmcFunctionalTestCase; |
| 7 | + |
| 8 | +import junit.framework.Test; |
| 9 | + |
| 10 | +public class ClosingSettingsDialogTest extends TmcFunctionalTestCase{ |
| 11 | + public static Test suite() { |
| 12 | + return loadSuite(ClosingSettingsDialogTest.class); |
| 13 | + } |
| 14 | + |
| 15 | + public ClosingSettingsDialogTest() { |
| 16 | + super("ClosingSettingsDialogTest"); |
| 17 | + } |
| 18 | + |
| 19 | + |
| 20 | + public void testClosingSettingsDialog() throws Exception { |
| 21 | + SettingsOperator settings = SettingsOperator.openSettingsDialog(); |
| 22 | + settings.closeDialogWindow(); |
| 23 | + settings = SettingsOperator.openSettingsDialog(); |
| 24 | + } |
| 25 | +} |
0 commit comments