Closedown

This commit is contained in:
boccioli_m
2017-10-23 13:35:04 +02:00
parent 8362c66e44
commit 4929a40a9c
2 changed files with 27 additions and 12 deletions

View File

@@ -47,6 +47,13 @@ public class TestingListDetails extends javax.swing.JPanel {
public static Path TESTS_DEVICES_DEFAULT_DIR = Paths.get(".", "home", "script", "tests", "devices");
public static String VALUE_SEPARATOR = "&";
public static String PARAM_SEPARATOR = ";";
private String testName;
private String testDescription;
private String testPath;
private String deviceName;
private String deviceDescription;
private String devicePath;
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
@@ -344,18 +351,26 @@ public class TestingListDetails extends javax.swing.JPanel {
private void fillComponents(HashMap hDetails) {
Details details = new Details(hDetails);
testName = details.get("testName");
testDescription = details.get("testDescription");
testPath = details.get("testPath");
deviceName = details.get("deviceName");
deviceDescription = details.get("deviceDescription");
devicePath = details.get("devicePath");
//add values to each text box
this.txtDeviceName.setText(details.get("deviceName"));
this.txtDeviceDescription.setText(details.get("deviceDescription"));
this.txtTestDescription.setText(details.get("testDescription"));
this.txtDeviceName.setText(deviceName);
this.txtDeviceDescription.setText(deviceDescription);
this.txtTestDescription.setText(testDescription);
this.txtTestName.setText(testName);
this.txtTestSuite.setText(details.get("testSuite"));
this.txtTestName.setText(details.get("testName"));
this.txtTestResult.setText(details.get("time") + "\n" +
details.get("deviceName") + " - " +
details.get("testName") + "\n" +
details.get("testResult"));
this.txtTestResultSummary.setText( details.get("testResult"));
this.txtTestResultSummary.setCaretPosition(0);
System.out.println("detail testPath: "+testPath);
System.out.println("detail devicePath: "+devicePath);
//help text
showHelp(details.get("testPath"), details.get("testHelp"));
//parameters table