BIND 10 trac2850_2, updated. 9b930275a2a875d91aa425cf8bcbe552c5bee453 [2850] unrelated cleanup: make some test methods non public when possible
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue May 7 06:04:36 UTC 2013
The branch, trac2850_2 has been updated
via 9b930275a2a875d91aa425cf8bcbe552c5bee453 (commit)
from f7cfb3332667e260a60660af23290087fd0c4fbc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9b930275a2a875d91aa425cf8bcbe552c5bee453
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon May 6 23:03:40 2013 -0700
[2850] unrelated cleanup: make some test methods non public when possible
also clarify TearDown is inherited by explicitly adding 'virtual'.
-----------------------------------------------------------------------
Summary of changes:
.../datasrc/tests/memory/zone_writer_unittest.cc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory/zone_writer_unittest.cc b/src/lib/datasrc/tests/memory/zone_writer_unittest.cc
index a4b516d..d69fce5 100644
--- a/src/lib/datasrc/tests/memory/zone_writer_unittest.cc
+++ b/src/lib/datasrc/tests/memory/zone_writer_unittest.cc
@@ -39,7 +39,7 @@ namespace {
class TestException {};
class ZoneWriterTest : public ::testing::Test {
-public:
+protected:
ZoneWriterTest() :
segment_(ZoneTableSegment::create(RRClass::IN(), "local")),
writer_(new
@@ -51,11 +51,10 @@ public:
load_null_(false),
load_data_(false)
{}
- void TearDown() {
+ virtual void TearDown() {
// Release the writer
writer_.reset();
}
-protected:
scoped_ptr<ZoneTableSegment> segment_;
scoped_ptr<ZoneWriter> writer_;
bool load_called_;
More information about the bind10-changes
mailing list