BIND 10 trac1914, updated. e62a5e2f0da16fd93c019450b7072e56d90c1359 [1924] Update mocks with the new parameter

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jan 31 14:11:25 UTC 2013


The branch, trac1914 has been updated
       via  e62a5e2f0da16fd93c019450b7072e56d90c1359 (commit)
      from  7919cceebc8fbeb56e7808133880aeba14b79217 (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 e62a5e2f0da16fd93c019450b7072e56d90c1359
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Thu Jan 31 15:09:25 2013 +0100

    [1924] Update mocks with the new parameter

-----------------------------------------------------------------------

Summary of changes:
 src/lib/config/tests/fake_session.cc |    2 +-
 src/lib/config/tests/fake_session.h  |    3 ++-
 src/lib/testutils/mockups.h          |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/config/tests/fake_session.cc b/src/lib/config/tests/fake_session.cc
index 157d4d6..56a30d4 100644
--- a/src/lib/config/tests/fake_session.cc
+++ b/src/lib/config/tests/fake_session.cc
@@ -183,7 +183,7 @@ FakeSession::unsubscribe(std::string group, std::string instance) {
 
 int
 FakeSession::group_sendmsg(ConstElementPtr msg, std::string group,
-                           std::string to, std::string)
+                           std::string to, std::string, bool)
 {
     if (throw_on_send_) {
         isc_throw(Exception, "Throw on send is set in FakeSession");
diff --git a/src/lib/config/tests/fake_session.h b/src/lib/config/tests/fake_session.h
index 7d3cfde..0dbaadb 100644
--- a/src/lib/config/tests/fake_session.h
+++ b/src/lib/config/tests/fake_session.h
@@ -61,7 +61,8 @@ public:
     virtual int group_sendmsg(isc::data::ConstElementPtr msg,
                               std::string group,
                               std::string instance = "*",
-                              std::string to = "*");
+                              std::string to = "*",
+                              bool want_answer = false);
     virtual bool group_recvmsg(isc::data::ConstElementPtr& envelope,
                                isc::data::ConstElementPtr& msg,
                                bool nonblock = true,
diff --git a/src/lib/testutils/mockups.h b/src/lib/testutils/mockups.h
index fc8a2e0..8ba2287 100644
--- a/src/lib/testutils/mockups.h
+++ b/src/lib/testutils/mockups.h
@@ -48,7 +48,7 @@ public:
     virtual void disconnect() {}
 
     virtual int group_sendmsg(isc::data::ConstElementPtr msg, std::string group,
-                              std::string, std::string)
+                              std::string, std::string, bool)
     {
         if (!send_ok_) {
             isc_throw(isc::cc::SessionError,



More information about the bind10-changes mailing list