summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/frameworkimpl
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-04-11 11:46:01 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-04-11 11:46:01 +0200
commit689541432c21eea3a3d612726974d008676be8ae (patch)
tree8e78c62438aa61ac93feda3a473dc70c2379d8db /storage/src/tests/frameworkimpl
parenta7747a035821de936c9bf9eba05c2c9c4ac1291f (diff)
add override in storage tests
Diffstat (limited to 'storage/src/tests/frameworkimpl')
-rw-r--r--storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp2
-rw-r--r--storage/src/tests/frameworkimpl/status/statustest.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp b/storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp
index 7a03d1c017a..c1e7660323c 100644
--- a/storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp
+++ b/storage/src/tests/frameworkimpl/memory/memorystatusviewertest.cpp
@@ -17,7 +17,7 @@ struct MemoryStatusViewerTest : public CppUnit::TestFixture
std::unique_ptr<TestServiceLayerApp> _node;
std::unique_ptr<framework::defaultimplementation::MemoryManager> _memMan;
- void setUp();
+ void setUp() override;
void testEmptyState();
void testSnapshots();
diff --git a/storage/src/tests/frameworkimpl/status/statustest.cpp b/storage/src/tests/frameworkimpl/status/statustest.cpp
index 0fc10e411cb..567f9192d34 100644
--- a/storage/src/tests/frameworkimpl/status/statustest.cpp
+++ b/storage/src/tests/frameworkimpl/status/statustest.cpp
@@ -17,7 +17,7 @@ namespace storage {
struct StatusTest : public CppUnit::TestFixture {
std::unique_ptr<TestServiceLayerApp> _node;
- void setUp();
+ void setUp() override;
void testIndexStatusPage();
void testHtmlStatus();
@@ -51,13 +51,13 @@ namespace {
}
virtual void reportHtmlHeaderAdditions(
- std::ostream& out, const framework::HttpUrlPath&) const
+ std::ostream& out, const framework::HttpUrlPath&) const override
{
out << _headerAddition;
}
virtual void reportHtmlStatus(
- std::ostream& out, const framework::HttpUrlPath&) const
+ std::ostream& out, const framework::HttpUrlPath&) const override
{
out << _content;
}
@@ -68,7 +68,7 @@ namespace {
: framework::XmlStatusReporter(id, name) {}
virtual vespalib::string reportXmlStatus(
vespalib::xml::XmlOutputStream& xos,
- const framework::HttpUrlPath&) const
+ const framework::HttpUrlPath&) const override
{
xos << vespalib::xml::XmlTag("mytag")
<< vespalib::xml::XmlAttribute("foo", "bar")