Test `Capture::addJob` and `Capture::constructPrefix` in prep of #54
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.