From 5f47614a79f328db0137eb6543cea21bb762f076 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Mon, 23 Oct 2017 09:23:57 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 6751c31..19f0ac5 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -1630,6 +1630,8 @@ public class TestingList extends Panel { String sTestCaseName = jTable1.getValueAt(row, COL.TESTSUITE.ordinal()).toString(); String sTestDescription = getTestDescription(sTestPath); String sDevicePath = Paths.get(jTable1.getValueAt(row, COL.DEVICEPATH.ordinal()).toString(), TESTS_CONFIG_FILENAME).toString(); + System.out.println("sDevicePath: "+sDevicePath); + System.out.println("sTestPath: "+sTestPath); String sDeviceDescription = jTable1.getValueAt(row, COL.DEVICEDESCR.ordinal()).toString(); String sLastResult = jTable1.getValueAt(row, COL.RESULT.ordinal()).toString(); String sResultTime = jTable1.getValueAt(row, COL.TIME.ordinal()).toString(); @@ -2316,9 +2318,14 @@ public class TestingList extends Panel { ImageIcon icon = null;// new ImageIcon(getClass().getResource("/icons/button_pause-16px.png")); DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); //String testPath = FilenameUtils.separatorsToSystem(TESTS_TESTS_DEFAULT_DIR + testSuite + "/" + testName + "/" + testName + ".py"); - //String testPath = Paths.get(TESTS_TESTS_DEFAULT_DIR.toString(), testSuite, testName, testName + ".py").toString(); - //String devicePath = Paths.get(TESTS_DEVICES_DEFAULT_DIR.toString(), deviceName, deviceName + ".config").toString(); - //System.out.println("Path = " + testPath); + String otestPath = Paths.get(TESTS_TESTS_DEFAULT_DIR.toString(), testSuite, testName, testName + ".py").toString(); + String odevicePath = Paths.get(TESTS_DEVICES_DEFAULT_DIR.toString(), deviceName, deviceName + ".config").toString(); + + System.out.println("Old Test Path = " + otestPath); + System.out.println("Old Dev Path = " + odevicePath); + + System.out.println("Test Path = " + testPath); + System.out.println("Dev Path = " + devicePath); Object rowData[] = new Object[]{false, "", sDate, deviceName, devicePath, deviceDescription, testSuite, testName, testPath, testParams, testDescription, testHelp, "", "Pending", icon}; //vedify that this test is not already in the table int totalRows = model.getRowCount();