BIND 10 trac805, updated. ad4b9819be1af780f17018d82097dedd6965c19d [805] added explicit 'this' in TYPED_TESTs. At least clang doesn't compile it without them.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 30 18:13:44 UTC 2011


The branch, trac805 has been updated
       via  ad4b9819be1af780f17018d82097dedd6965c19d (commit)
      from  da770d40d1543308ace33c08182fe33e59f8ca7c (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 ad4b9819be1af780f17018d82097dedd6965c19d
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Dec 30 10:12:59 2011 -0800

    [805] added explicit 'this' in TYPED_TESTs.  At least clang doesn't compile
    it without them.

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

Summary of changes:
 src/lib/asiodns/tests/dns_server_unittest.cc |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/asiodns/tests/dns_server_unittest.cc b/src/lib/asiodns/tests/dns_server_unittest.cc
index ad7dfa1..92b5f02 100644
--- a/src/lib/asiodns/tests/dns_server_unittest.cc
+++ b/src/lib/asiodns/tests/dns_server_unittest.cc
@@ -483,8 +483,8 @@ TYPED_TEST(DNSServerTest, stopUDPServerAfterOneQuery) {
 // Test whether udp server stopped successfully before server start to serve
 TYPED_TEST(DNSServerTest, stopUDPServerBeforeItStartServing) {
     this->udp_server_->stop();
-    testStopServerByStopper(this->udp_server_, this->udp_client_,
-                            this->udp_client_);
+    this->testStopServerByStopper(this->udp_server_, this->udp_client_,
+                                  this->udp_client_);
     EXPECT_EQ(std::string(""), this->udp_client_->getReceivedData());
     EXPECT_TRUE(this->serverStopSucceed());
 }
@@ -563,16 +563,16 @@ TYPED_TEST(DNSServerTest, stopTCPServerDuringMessageCheck) {
 
 // Test whether tcp server stopped successfully during query lookup
 TYPED_TEST(DNSServerTest, stopTCPServerDuringQueryLookup) {
-    testStopServerByStopper(this->tcp_server_, this->tcp_client_,
-                            this->lookup_);
+    this->testStopServerByStopper(this->tcp_server_, this->tcp_client_,
+                                  this->lookup_);
     EXPECT_EQ(std::string(""), this->tcp_client_->getReceivedData());
     EXPECT_TRUE(this->serverStopSucceed());
 }
 
 // Test whether tcp server stopped successfully during composing answer
 TYPED_TEST(DNSServerTest, stopTCPServerDuringPrepareAnswer) {
-    testStopServerByStopper(this->tcp_server_, this->tcp_client_,
-                            this->answer_);
+    this->testStopServerByStopper(this->tcp_server_, this->tcp_client_,
+                                  this->answer_);
     EXPECT_EQ(std::string(""), this->tcp_client_->getReceivedData());
     EXPECT_TRUE(this->serverStopSucceed());
 }




More information about the bind10-changes mailing list