From 9bcbeeab757e846075b8c17e7859ab4033046cc3 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Fri, 4 Sep 2015 15:47:51 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 9b815a7..8923cdb 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -43,6 +43,7 @@ import java.util.function.Consumer; import java.util.logging.FileHandler; import java.util.logging.SimpleFormatter; import java.util.regex.PatternSyntaxException; +import javax.script.ScriptException; import javax.swing.DefaultCellEditor; import javax.swing.JComboBox; import javax.swing.JDialog; @@ -1293,6 +1294,11 @@ public class TestingList extends Panel { testInProgress = getTestInProgress(); showResult(testInProgress[0], testInProgress[1], resultMessage, "false"); } + try { + Object ret = eval("log('Tests interrupted by user')"); + } catch (Exception ex) { + Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex); + } } /**