Package com.qspin.qtaste.testsuite.impl

Examples of com.qspin.qtaste.testsuite.impl.TestDataImpl


    public TestDataSet(List<LinkedHashMap<String, String>> data) {
        testDataList = new ArrayList<TestData>();
        int i = 1;
        for (LinkedHashMap<String, String> testData: data) {
            TestData td = new TestDataImpl(i++, testData);
            testDataList.add(td);
        }
    }
View Full Code Here


    }

    public void removeTestData(String header, int colIndex) {
        try {
            if (m_TestData != null) {
                TestDataImpl testData = (TestDataImpl) m_TestData;
                HashMap<String, String> dataHash = testData.getDataHash();
                if (dataHash.containsKey(header)) {
                    dataHash.remove(header);
                }

                setTestData(m_TestData);
View Full Code Here

                            int rowId = Integer.parseInt(rowIdStr);
                            rowIndex = rowId - 1;
                        }
                        LinkedHashMap<String, String> csvData = csvDataSet.get(rowIndex);
                        csvData.remove("COMMENT");
                        setTestData(new TestDataImpl(1, csvData));
                    } else {
                        JOptionPane.showMessageDialog(TestDataEditor.this, "No test data found in file!", "Error", JOptionPane.ERROR_MESSAGE);
                    }
                } catch (IOException ex) {
                    logger.error(ex.getMessage());
View Full Code Here

TOP

Related Classes of com.qspin.qtaste.testsuite.impl.TestDataImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.