BIND 10 trac1698-test, updated. 4bb8254e151217f9ac5c29743d57b239c8f11d1c [1698-test] minor editorial fixes: folded long lines, constify, typo.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Mar 9 20:04:30 UTC 2012
The branch, trac1698-test has been updated
via 4bb8254e151217f9ac5c29743d57b239c8f11d1c (commit)
from ae7b2a915adb90a32070ab3cca4f589b449ed435 (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 4bb8254e151217f9ac5c29743d57b239c8f11d1c
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Fri Mar 9 11:57:59 2012 -0800
[1698-test] minor editorial fixes: folded long lines, constify, typo.
-----------------------------------------------------------------------
Summary of changes:
.../log/tests/message_initializer_1_unittest.cc | 12 ++++++------
.../log/tests/message_initializer_1a_unittest.cc | 2 +-
.../log/tests/message_initializer_2_unittest.cc | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/log/tests/message_initializer_1_unittest.cc b/src/lib/log/tests/message_initializer_1_unittest.cc
index 312c389..62d6f85 100644
--- a/src/lib/log/tests/message_initializer_1_unittest.cc
+++ b/src/lib/log/tests/message_initializer_1_unittest.cc
@@ -40,13 +40,13 @@ const char* values2[] = {
}
// Statically initialize the global dictionary with those messages. Three sets
-// are used to check that the declaration of separate initializer objects really
-// does combine the messages. (The third set - declaring message IDs GLOBAL5
-// and GLOBAL6) is declared in the separately-compiled file,
+// are used to check that the declaration of separate initializer objects
+// really does combine the messages. (The third set - declaring message IDs
+// GLOBAL5 and GLOBAL6) is declared in the separately-compiled file,
// message_identifier_initializer_1a_unittest.cc.)
-MessageInitializer init_message_initializer_unittest_1(values1);
-MessageInitializer init_message_initializer_unittest_2(values2);
+const MessageInitializer init_message_initializer_unittest_1(values1);
+const MessageInitializer init_message_initializer_unittest_2(values2);
// Check that the global dictionary is initialized with the specified
// messages.
@@ -64,7 +64,7 @@ TEST(MessageInitializerTest1, MessageTest) {
// Load the dictionary - this should clear the message array pending count.
// (N.B. We do not check for a known value before the call, only that the
// value is not zero. This is because libraries against which the test
- // is linked may have registered ther own message arrays.)
+ // is linked may have registered their own message arrays.)
EXPECT_NE(0, MessageInitializer::getPendingCount());
MessageInitializer::loadDictionary();
EXPECT_EQ(0, MessageInitializer::getPendingCount());
diff --git a/src/lib/log/tests/message_initializer_1a_unittest.cc b/src/lib/log/tests/message_initializer_1a_unittest.cc
index c556155..ff8e060 100644
--- a/src/lib/log/tests/message_initializer_1a_unittest.cc
+++ b/src/lib/log/tests/message_initializer_1a_unittest.cc
@@ -34,4 +34,4 @@ const char* values3[] = {
}
// Register the messages for loading into the global dictionary
-MessageInitializer init_message_initializer_unittest_3(values3);
+const MessageInitializer init_message_initializer_unittest_3(values3);
diff --git a/src/lib/log/tests/message_initializer_2_unittest.cc b/src/lib/log/tests/message_initializer_2_unittest.cc
index d9b6567..8f46a91 100644
--- a/src/lib/log/tests/message_initializer_2_unittest.cc
+++ b/src/lib/log/tests/message_initializer_2_unittest.cc
@@ -30,7 +30,7 @@ const char* values[] = {
TEST(MessageInitializerTest2, MessageLoadTest) {
// Load the maximum number of message arrays allowed. Some arrays may
// already have been loaded because of static initialization from modules
- // in libraries liked against the test program, hence the reason for the
+ // in libraries linked against the test program, hence the reason for the
// loop starting from the value returned by getPendingCount() instead of 0.
for (size_t i = MessageInitializer::getPendingCount();
i < MessageInitializer::MAX_MESSAGE_ARRAYS; ++i) {
More information about the bind10-changes
mailing list