/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2015, by the GROMACS development team, led by
+ * Copyright (c) 2015,2018, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
{
public:
TestFileInputRedirector();
- virtual ~TestFileInputRedirector();
+ ~TestFileInputRedirector() override;
/*! \brief
* Marks the provided path as an existing file.
void addExistingFile(const char *filename);
// From IFileInputRedirector
- virtual bool fileExists(const char *filename,
- File::NotFoundHandler onNotFound) const;
+ bool fileExists(const char *filename,
+ File::NotFoundHandler onNotFound) const override;
private:
std::set<std::string> existingFiles_;
{
public:
TestFileOutputRedirector();
- virtual ~TestFileOutputRedirector();
+ ~TestFileOutputRedirector() override;
/*! \brief
* Checks contents of all redirected files (including stdout).
void checkRedirectedFiles(TestReferenceChecker *checker);
// From IFileOutputRedirector
- virtual TextOutputStream &standardOutput();
- virtual TextOutputStreamPointer openTextOutputFile(const char *filename);
+ TextOutputStream &standardOutput() override;
+ TextOutputStreamPointer openTextOutputFile(const char *filename) override;
private:
class Impl;