public void generateEarlReport( File outputDirectory, File reportFile, String suiteName, Map params ) throws UnsupportedEncodingException { DocumentBuilderFactory docFactory = createDcumentBuilder(); Document document; try { document = docFactory.newDocumentBuilder().parse( reportFile ); } catch ( IOException | SAXException | ParserConfigurationException e ) { throw new RuntimeException( e ); } document.getDocumentElement().normalize(); Model earlReport = generateEarlReport( suiteName, params, document ); try { writeModel( earlReport, outputDirectory, true ); } catch ( IOException iox ) { throw new RuntimeException( "Failed to serialize EARL results", iox ); } }
public void generateEarlReport( OutputStream targetEarlReport, InputStream report, String suiteName, Map params ) throws UnsupportedEncodingException { DocumentBuilderFactory docFactory = createDcumentBuilder(); Document document; try { document = docFactory.newDocumentBuilder().parse( report ); } catch ( IOException | SAXException | ParserConfigurationException e ) { throw new RuntimeException( e ); } document.getDocumentElement().normalize(); Model earlReport = generateEarlReport( suiteName, params, document ); try { writeModel( earlReport, targetEarlReport, true ); } catch ( IOException iox ) { throw new RuntimeException( "Failed to serialize EARL results", iox ); } }
public void generateEarlReport( File outputDirectory, File reportFile, String suiteName, Map params ) throws UnsupportedEncodingException { DocumentBuilderFactory docFactory = createDcumentBuilder(); Document document; try { document = docFactory.newDocumentBuilder().parse( reportFile ); } catch ( IOException | SAXException | ParserConfigurationException e ) { throw new RuntimeException( e ); } document.getDocumentElement().normalize(); Model earlReport = generateEarlReport( suiteName, params, document ); try { writeModel( earlReport, outputDirectory, true ); } catch ( IOException iox ) { throw new RuntimeException( "Failed to serialize EARL results", iox ); } }
public void generateEarlReport( OutputStream targetEarlReport, InputStream report, String suiteName, Map params ) throws UnsupportedEncodingException { DocumentBuilderFactory docFactory = createDcumentBuilder(); Document document; try { document = docFactory.newDocumentBuilder().parse( report ); } catch ( IOException | SAXException | ParserConfigurationException e ) { throw new RuntimeException( e ); } document.getDocumentElement().normalize(); Model earlReport = generateEarlReport( suiteName, params, document ); try { writeModel( earlReport, targetEarlReport, true ); } catch ( IOException iox ) { throw new RuntimeException( "Failed to serialize EARL results", iox ); } }
report.generateEarlReport (resultsDir, testLog, suiteName, this.testInputs); } catch (IOException iox) { throw new RuntimeException("Failed to serialize EARL results to " + resultsDir.getAbsolutePath(), iox);
report.generateEarlReport (resultsDir, testLog, suiteName, this.testInputs); } catch (IOException iox) { throw new RuntimeException("Failed to serialize EARL results to " + resultsDir.getAbsolutePath(), iox);
report.generateEarlReport(resultsDir, testLog, opts.getSourcesName(), testInputMap);
report.generateEarlReport(resultsDir, testLog, opts.getSourcesName(), testInputMap);