diff --git a/plugins/TestingList.form b/plugins/TestingList.form index a18d41d..1e7ce3c 100644 --- a/plugins/TestingList.form +++ b/plugins/TestingList.form @@ -104,9 +104,6 @@ - - - @@ -266,9 +263,6 @@ - - - @@ -291,9 +285,6 @@ - - - @@ -316,9 +307,6 @@ - - - @@ -340,9 +328,6 @@ - - - @@ -389,9 +374,6 @@ - - - @@ -414,9 +396,6 @@ - - - @@ -533,9 +512,6 @@ - - - @@ -546,9 +522,6 @@ - - - diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 00a519c..8fabcef 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -292,6 +292,8 @@ public class TestingList extends Panel { public final Path TESTS_LOG_DEFAULT_DIR = Paths.get(".", "home", "script", "tests", "log", "TestsLog" + getnow() + ".txt"); public static String TESTS_CONFIG_FILENAME = ".config"; public static String TESTS_HELP_FILENAME = "help.html"; + public static String VALUE_SEPARATOR = "|"; + public static String PARAM_SEPARATOR = ";"; /** @@ -2477,15 +2479,16 @@ public class TestingList extends Panel { HashMap mParameters = new HashMap(); // contains name and attributes HashMap mParameterAttributes = new HashMap(); //contians value and description String[] dsParameterAttributes = null; - String[] dsParameters = parametersString.split(";"); + String[] dsParameters = parametersString.split(PARAM_SEPARATOR); for (String sParameter : dsParameters) { - dsParameterAttributes = sParameter.split(":"); + dsParameterAttributes = sParameter.split(VALUE_SEPARATOR); if (dsParameterAttributes.length > 2) { mParameterAttributes = new HashMap(); mParameterAttributes.put("value", (Object) dsParameterAttributes[1]); mParameterAttributes.put("description", dsParameterAttributes[2]); //add parameter name and attributes (value + description) mParameters.put(dsParameterAttributes[0], mParameterAttributes); + System.out.println(dsParameterAttributes[0] + dsParameterAttributes[1] + dsParameterAttributes[2]); } } return mParameters; diff --git a/script/tests/tests.properties b/script/tests/tests.properties index 040ff7f..0d11962 100644 --- a/script/tests/tests.properties +++ b/script/tests/tests.properties @@ -1,5 +1,5 @@ #TestingList for pshell: configuration properties -#Fri Oct 13 10:19:46 CEST 2017 +#Fri Oct 13 10:45:13 CEST 2017 customPanel= showEnabledTestsOnly= listFilter=rps-try