Skip to content

Draft: Test `CCD::generateFilename` in prep of #54

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

Relevant lines of CCD::generateFilename was moved to PlaceholderPath::generateFilename. Arguments of CCD::generateFilename are forwarded as well as CCD::fitsDir, CCD::seqPrefix and CCD::nextSequenceID.

Testing this method requires regex since the filename can contains:

  • a temporary directory given by KSPaths::writableLocation(QStandardPaths::TempLocation)
  • a home directory given by Options::fitsDir()
  • a date of the form "yyyy-MM-ddThh-mm-ss"

Merge request reports

Loading