DECA-235: Factor out the creation of the genpdf command from the generatePDFFromPages function

Metadata

Source
DECA-235
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2012-02-06T14:01:55.814-0500
Updated
2012-05-18T14:23:02.750-0400
Versions
N/A
Fixed Versions
  1. 0.5
Component
  1. Server

Description

Currently the generatePDFFromPages function both assembles the genpdf command line argument and triggers the creation of the pdf. This makes it hard to test that the command line argument is being assembled correctly.

Comments

  • Justin Obara commented 2012-02-06T14:56:53.486-0500

    Refactored the code to split off the assembly of the genpdf command into a new function. I added unit tests to verify the assembly function.

    Changes are currently in my bitbucket repo.
    https://bitbucket.org/jobara/decapod-server-response

  • Justin Obara commented 2012-05-18T14:22:59.756-0400

    Merged into the project repo