BIND 10 trac3156, updated. 7edd26567ac96016c1caad9b7229d75b404f95be [3156] Declared static consts for unit tests so older versions of gtest would be happy.

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Sep 10 11:33:39 UTC 2013


The branch, trac3156 has been updated
       via  7edd26567ac96016c1caad9b7229d75b404f95be (commit)
      from  ea2cd98c25c7d51b4116203038105bc88a10ecab (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 7edd26567ac96016c1caad9b7229d75b404f95be
Author: Thomas Markwalder <tmark at isc.org>
Date:   Tue Sep 10 07:32:20 2013 -0400

    [3156] Declared static consts for unit tests so older versions of gtest would be happy.

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

Summary of changes:
 src/bin/d2/tests/state_model_unittests.cc |    9 +++++++++
 1 file changed, 9 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/d2/tests/state_model_unittests.cc b/src/bin/d2/tests/state_model_unittests.cc
index c5dfea6..c744748 100644
--- a/src/bin/d2/tests/state_model_unittests.cc
+++ b/src/bin/d2/tests/state_model_unittests.cc
@@ -235,6 +235,15 @@ public:
     bool work_completed_;
 };
 
+// Declare them so gtest can see them.
+const int StateModelTest::DUMMY_ST;
+const int StateModelTest::READY_ST;
+const int StateModelTest::DO_WORK_ST;
+const int StateModelTest::DONE_ST;
+const int StateModelTest::WORK_START_EVT;
+const int StateModelTest::WORK_DONE_EVT;
+const int StateModelTest::ALL_DONE_EVT;
+
 /// @brief Tests the fundamental methods used for state handler mapping.
 /// Verifies the ability to search for and add entries in the state handler map.
 TEST_F(StateModelTest, basicStateMapping) {



More information about the bind10-changes mailing list