summaryrefslogtreecommitdiffstats
path: root/vdstestlib
diff options
context:
space:
mode:
Diffstat (limited to 'vdstestlib')
-rw-r--r--vdstestlib/src/vespa/vdstestlib/cppunit/cppunittestrunner.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/vdstestlib/src/vespa/vdstestlib/cppunit/cppunittestrunner.cpp b/vdstestlib/src/vespa/vdstestlib/cppunit/cppunittestrunner.cpp
index 3047208798b..7af156bbc2a 100644
--- a/vdstestlib/src/vespa/vdstestlib/cppunit/cppunittestrunner.cpp
+++ b/vdstestlib/src/vespa/vdstestlib/cppunit/cppunittestrunner.cpp
@@ -66,7 +66,7 @@ namespace {
return (s[s.size() - 1] == '$');
}
- virtual bool include(const std::string& name) const {
+ virtual bool include(const std::string& name) const override {
if ((name.find("stress") != std::string::npos ||
name.find("Stress") != std::string::npos)
&& !_includeStressTests)
@@ -90,11 +90,11 @@ namespace {
struct LogHook : public CppUnit::TextTestProgressListener::TestStartHook {
std::string lastTest;
- virtual void startedTest(const std::string& testName) {
+ virtual void startedTest(const std::string& testName) override {
LOG(info, "Starting test: %s", testName.c_str());
lastTest = testName;
}
- virtual void stoppedTest() {
+ virtual void stoppedTest() override {
LOG(info, "Stopped test: %s", lastTest.c_str());
}
};