Antenna House Regression Testing System (AHRTS) 1.4

Released: Apr 11, 2017

1.4 での更新項目

機能

  • The command line 'version' option now  also prints license information.
  • Command line options now print license information if there is a license error (expired, framework not supported).
  • Added alternate overview and individual report stylesheets (ahrts-report-alt.xsl and ahrts-individual-report-alt.xsl). Overview report now has multi-column output and groups the results (fatal errors, missing input files, non-fatal errors, and no errors). Selectable as "Alternate" for "Overview Report Style" and "Individual Report Style" in the GUI settings form.
  • Added a Japanese locale translation.
  • 'new version' in command line help has been changed to 'new' to match baseline which isn't quoted.
  • Added a command line option (-ot | -overview-title) to set the overview report title. This is listed as PDF document title and is also shown inside the report. The overview title is also available to individual report stylesheets.
  • Changed timestamps so they are compatible with XSLT 2.0 format-dateTime(), requires Java 7 or greater.
  • Added engine files for Formatter 6.3, 6.4, and 6.5.
  • PDF information for base and new documents are now passed as parameters to the individual report stylesheets. Available values: base-pdf-title, base-pdf-author, base-pdf-subject, base-pdf-keywords, base-pdf-creator, base-pdf-producer, base-pdf-creation-date, base-pdf-modification-date, base-pdf-trapped, and new-pdf-* equivalents.
  • Each instance of AHRTS now creates its own temporary directory under the one specified in Properties.tmpDir.
  • Positional input parameters have been added to English translation to let translators know that the order can be changed.
  • Added '-xsltparam ' command line option (pdf2pdf, img2img, and Compare scripts) to pass on variables to stylesheet report transformation.
  • Added ahrts.generateReportForNoDifferences. For test and directory comparisons this option will force the creation of an individual report even if no differences were found. This will also force the creation of a report if there was an error found with either input document. Rendered images are also saved and available as 'diff-image-orig-base' and 'diff-image-orig-new' in the report XML.
  • Language files are now automatically loaded based on user's Locale settings. This can also be set in the Java command line. Ex: java -Duser.country=CA -Duser.language=fr.
  • Default tmpDir has been changed to C:\tmp (Windows) and /tmp (Unix).
  • Locale settings (lowercase two letter language, uppercase two letter country) passed on to report stylesheets now use "locale-language" and "locale-country" parameters.
  • Added AHRTS properties (reportPageWidth and reportPageHeight) to customize report page width and height.
  • Added XML catalog file stylesheet support. Catalogs settings uses Java system properties (xml.catalog.files, xml.catalog.prefer, xml.catalog.verbosity, xml.catalog.staticCatalog, xml.catalog.allowPI, xml.catalog.className, xml.catalog.ignoreMissing). If xml.catalog.files is not set catalog support is disabled.
  • Now shows XSLT error messages in the GUI.

不具合の修正

  • Image scaling option could incorrectly set the new width or height to 0.
  • Formatter output report error could incorrectly report 'Cannot remove temporary file' instead of the real cause of the failure, requires updating minimum Java requirement to version 7.
  • Formatting error was only detected if the output file wasn't created, it wasn't detected if an error occurred and a partial PDF output file was created.
  • Documentation fixes.
  • Java date format string set incorrectly (would result in incorrect timestamps in debug output).
  • Relative links for '-b' and '-n' with pdf2pdf and img2img command line scripts wouldn't embed the original documents.
  • Debug and console output was mixing Unix and Windows new line markers together.
  • 'make test cases' wasn't catching MalformedByteSequenceException when loading the fo files.
  • Additional parameters to command line options were being parsed as command line options as well.
  • 'make test cases' wasn't catching generic SAXExceptions.
  • 'make test cases' wasn't handling io exceptions with scala xml.load().
  • An XSLT error would make the GUI unresponsive.
  • XSLT errors weren't being logged.
  • XSLT error could still report that the fo creation was successful if there was an fo present from an older comparison.
  • GUI hangs if error happened in safeXMLSave().
  • XML loading function didn't close input stream.
  • Comparing XML filename for pdf2pdf and img2img uses the document filenames in the template (Ex: Manual-Edition1.pdf_vs_Manual-Edition2.pdf.xml) this can easily lead to the name length going over the os limit. Changed to base_vs_new.xml for every comparison.
  • Typo in command line help (tokeninzed : tokenized).
  • Invalid temporary file directory would hang GUI.
  • Missing file save dialog when right-click saving reports.
  • Test result XML date format using incorrect milliseconds token.
  • Issue warning if temporary directory couldn't be created.
  • createTempDir() wasn't using Properties.tmpDir setting.
  • Java File.createTempFile() wasn't specifying Properties.tmpDir.
  • GUI hangs if img2img comparison couldn't create temporary files.
  • net.sf.saxon.trans.XPathException wasn't being caught.
  • GUI hangs if rendering engine in queue list isn't valid.
  • Multiple users using the same Properties.tmpDir could lead to write permissions problems.
  • Canceled or interrupted comparison wouldn't delete temporary render images.
  • Report file save dialog wasn't updating the last saved directory.
  • Missing prompt to overwrite file when saving report from GUI.
  • Command line options couldn't be specified more than once (would always use the value of the first one).
  • About tab and command line license information didn't show start date.
  • Typo in License error message.
  • useSingleFinalReportFile misnamed in installed properties file.
  • Put command line descriptions on their own line.
  • pdf2pdf and img2img command line programs create separate temporary directories so that multiple instances can be run at the same time. User should make sure '-report-file' option points to unique file. The old behavior of saving all the intermediary comparison files can be enabled with the '-disable-temporary-output' command line option.