Skip to content

Test `Capture::addJob` and `Capture::constructPrefix` in prep of #54

Kwon-Young Choi requested to merge kchoi/kstars:feat54/step3 into master

Relevant lines of Capture::addJob (see modification of capture.cpp) were copied into PlaceholderPath::addJob and Capture::constructPrefix into PlaceholderPath::constructPrefix.

PlaceholderPath::addJob is tested with the same data as PlaceholderPath::processJobInfo but:

  • targetName should be already sanitized
  • CCDFrameType::FRAME_NONE case is added because of cb6a7895
  • instead of using local variables, all information is derived from SequenceJob

TestPlaceholderPath has been modified to reduce duplicated code and testSchedulerProcessJobInfo_data.csv has now columns header that are checked when loaded.

Merge request reports