Closedown

This commit is contained in:
boccioli_m
2017-10-12 16:37:19 +02:00
parent 0d424116d0
commit f66a30142d
5 changed files with 10 additions and 11 deletions

View File

@@ -857,7 +857,7 @@ public class NewTest extends javax.swing.JPanel {
if(param instanceof String){
name = (String) param;
HashMap attributes = (HashMap) hmTestParams.get(param);
value = (String) attributes.get("value");
value = attributes.get("value").toString().replace("\\:",":");
description = (String) attributes.get("description");
//build the python code for getting the test parameter
sTestParameters = sTestParameters + name + "&" + value + "&" + description + ";" ;

View File

@@ -1,5 +1,5 @@
#TestingList for pshell: configuration properties
#Thu Oct 12 16:31:00 CEST 2017
#Thu Oct 12 16:33:28 CEST 2017
customPanel=
showEnabledTestsOnly=true
showEnabledTestsOnly=
listFilter=rps-try

View File

@@ -1,4 +1,4 @@
#Thu Oct 12 16:26:22 CEST 2017
#Thu Oct 12 16:32:00 CEST 2017
name=jtr
parameters=examplePar1&2,IQCOM,$GNT3,1,DIA\:22&This is the parameter n.1 with unit [unit];examplePar2&4.5&This is the parameter n.2 with unit [unit];
description=r3
parameters=ds&2,IQCOM,$GNT3,1,DIA\:23&bla;
description=dede

View File

@@ -2,11 +2,10 @@
<!-- Copyright (c) 2015 Paul Scherrer Institute. All rights reserved. -->
<body>
<h2>Description</h2>
r3
dede
<h2>Parameters</h2>
<table>
<tr><td><code>examplePar1 </code></td><td>This is the parameter n.1 with unit [unit]</td></tr>
<tr><td><code>examplePar2 </code></td><td>This is the parameter n.2 with unit [unit]</td></tr>
<tr><td><code>ds </code></td><td>bla</td></tr>
</table>
<h2>Contact</h2>

View File

@@ -1,5 +1,5 @@
# Test name: jtr
# r3
# dede
# Copyright (c) 2015 Paul Scherrer Institute. All rights reserved.
###### Init - DO NOT MODIFY THE CODE BELOW ######
@@ -72,7 +72,7 @@ def startTest(testName, DEVICE, params):
test.printParams()
# If present, use the parameters here below for your test script.
# These parameters were automatically generated: you might need to change the casting.
examplePar1 = float(test.getParam('examplePar1')) ; examplePar2 = float(test.getParam('examplePar2')) ;
ds = float(test.getParam('ds')) ;
except:
# test failed, write the report into the variables ret and success and send feedback:
ret = 'Could not retrieve testing parameters - ' + traceback.format_exc()