Closedown

This commit is contained in:
boccioli_m
2017-08-29 13:21:04 +02:00
parent 7c319eba2d
commit 6560b06baf
8 changed files with 16 additions and 9 deletions

View File

@@ -853,7 +853,7 @@ public class NewTest extends javax.swing.JPanel {
value = (String) attributes.get("value");
description = (String) attributes.get("description");
//build the python code for getting the test parameter
sTestParameters = sTestParameters + "<code>" + name + " </code>" + description + "<br/>\n" ;
sTestParameters = sTestParameters + "<tr><td><code>" + name + " </code></td><td>" + description + "</td></tr>\n" ;
}
}
Attributes user = null;

View File

@@ -4,7 +4,9 @@
<h2>Description</h2>
$testDescription
<h2>Parameters</h2>
<table>
$testParameters
</table>
<h2>Contact</h2>
<a href="https://intranet.psi.ch/search/#?t=phonebook&q=$contactUserName">$contactFirstName $contactSurname</a> <br/>
$contactTelephone

View File

@@ -69,7 +69,7 @@ def startTest(testName, DEVICE, params):
test.log("Example - Device name: " + test.getDeviceName() )
try:
test.log("Running test with the following parameters:")
test.log(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.
#$testParameters

View File

@@ -1,5 +1,5 @@
#TestingList for pshell: configuration properties
#Tue Aug 29 11:40:15 CEST 2017
#Tue Aug 29 13:20:25 CEST 2017
customPanel=
showEnabledTestsOnly=true
listFilter=test-bx84

View File

@@ -61,7 +61,7 @@ def startTest(testName, DEVICE, params):
test.log("Example - Device name: "+DEVICE)
try:
test.log("Running test Initialise with the following parameters:")
test.log(params )
test.printParams ()
#If present, use the parameters here below for your test script
repeatTimes = int(test.getParam('repeatTimes')) ; howManySamples = int(test.getParam('howManySamples')) ; delayBetweenSampleS = float(test.getParam('delayBetweenSampleS')) ;
except:

View File

@@ -1,4 +1,4 @@
#Mon Aug 28 14:48:34 CEST 2017
name=rightleft
parameters=delay\:.1\:delay between 2 steps;centre\:2\:centre where to move around;moveAround\:10\:move right and left from centre;steps\:1\:steps of each move;
description=move around a value and plot the result
parameters=delay\:.1\:delay between 2 steps;centre\:2\:centre where to move around;moveAround\:10\:move right and left from centre;steps\:1\:steps of each move;maxErr\:5\:maximum allowed error;

View File

@@ -4,10 +4,14 @@
<h2>Description</h2>
move around a value and plot the result
<h2>Parameters</h2>
<code>delay </code>delay between 2 steps<br/>
<code>centre </code>centre where to move around<br/>
<code>moveAround </code>move right and left from centre<br/>
<code>steps </code>steps of each move<br/>
<table>
<tr><td><code>delay </code></td><td>delay between 2 steps</td></tr>
<tr><td><code>centre </code></td><td>centre where to move around</td></tr>
<tr><td><code>moveAround </code></td><td>move right and left from centre</td></tr>
<tr><td><code>steps </code></td><td>steps of each move</td></tr>
<tr><td><code>maxErr </code></td><td>maximum allowed error between the value when moving one direction and the corresponding value when moving to opposite direction</td></tr>
</table>
<h2>Contact</h2>
<a href="https://intranet.psi.ch/search/#?t=phonebook&q=boccioli_m">Marco Boccioli</a> <br/>

View File

@@ -68,6 +68,7 @@ def startTest(testName, DEVICE, params):
# test.log("Example - Test name: " + test.getName())
# test.log("Example - Device name: " + test.getDeviceName() )
try:
test.log("-------------------------------------------")
test.log("Running test with the following parameters:")
test.printParams()
# If present, use the parameters here below for your test script.