File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
tests/com.espressif.idf.ui.test/src/com/espressif/idf/ui/test Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1515import org .eclipse .swtbot .swt .finder .junit .SWTBotJunit4ClassRunner ;
1616import org .eclipse .swtbot .swt .finder .widgets .SWTBotCanvas ;
1717import org .eclipse .swtbot .swt .finder .widgets .SWTBotToolbarButton ;
18+ import org .junit .AfterClass ;
1819import org .junit .BeforeClass ;
1920import org .junit .Test ;
2021import org .junit .runner .RunWith ;
@@ -35,6 +36,20 @@ public static void setup() throws Exception
3536 EnvSetupOperations .setupEspressifEnv (bot );
3637 }
3738
39+ @ AfterClass
40+ public static void cleanup () throws Exception
41+ {
42+ try
43+ {
44+ SWTBotView terminalView = bot .viewByTitle ("Terminal" );
45+ terminalView .close ();
46+ }
47+ catch (WidgetNotFoundException ignored )
48+ {
49+ }
50+
51+ }
52+
3853 @ Test
3954 public void testOpenTerminalView () throws Exception
4055 {
You can’t perform that action at this time.
0 commit comments