--min-duration is overriden by -d no

This commit is contained in:
Martin Hořeňovský
2020-07-06 20:33:08 +02:00
parent 4eb9d37e05
commit 6f7c191513
3 changed files with 20 additions and 6 deletions

View File

@@ -25,7 +25,8 @@ namespace Catch {
// Returns double formatted as %.3f (format expected on output)
std::string getFormattedDuration( double duration );
bool shouldShowDuration( IConfig const &, double duration );
//! Should the reporter show
bool shouldShowDuration( IConfig const& config, double duration );
std::string serializeFilters( std::vector<std::string> const& container );
@@ -54,7 +55,7 @@ namespace Catch {
void noMatchingTestCases(std::string const&) override {}
void reportInvalidArguments(std::string const&) override {}
void testRunStarting(TestRunInfo const& _testRunInfo) override {
currentTestRunInfo = _testRunInfo;
}