Browse Source

Fix function name capitalization

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac408@3514 e5f2f494-b856-4b98-b285-d166d9295462
Michal Vaner 14 years ago
parent
commit
4cab82f2a7
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/lib/nsas/tests/zone_entry_unittest.cc
  2. 1 1
      src/lib/nsas/zone_entry.h

+ 2 - 2
src/lib/nsas/tests/zone_entry_unittest.cc

@@ -78,7 +78,7 @@ TEST_F(ZoneEntryTest, Callbacks) {
     EXPECT_FALSE(zone.hasCallbacks());
     EXPECT_FALSE(zone.hasCallbacks());
 }
 }
 
 
-TEST_F(ZoneEntryTest, Nameserver_iterators) {
+TEST_F(ZoneEntryTest, NameserverIterators) {
     ZoneEntry zone(EXAMPLE_CO_UK, RRClass::IN().getCode());
     ZoneEntry zone(EXAMPLE_CO_UK, RRClass::IN().getCode());
     shared_ptr<NameserverEntry> nse(new NameserverEntry(EXAMPLE_CO_UK,
     shared_ptr<NameserverEntry> nse(new NameserverEntry(EXAMPLE_CO_UK,
         RRClass::IN().getCode()));
         RRClass::IN().getCode()));
@@ -86,7 +86,7 @@ TEST_F(ZoneEntryTest, Nameserver_iterators) {
     const ZoneEntry& zone_const(zone);
     const ZoneEntry& zone_const(zone);
     EXPECT_TRUE(zone.begin() == zone.end());
     EXPECT_TRUE(zone.begin() == zone.end());
     EXPECT_TRUE(zone_const.begin() == zone_const.end());
     EXPECT_TRUE(zone_const.begin() == zone_const.end());
-    zone.nameserver_add(nse);
+    zone.nameserverAdd(nse);
     EXPECT_FALSE(zone.begin() == zone.end());
     EXPECT_FALSE(zone.begin() == zone.end());
     EXPECT_FALSE(zone_const.begin() == zone_const.end());
     EXPECT_FALSE(zone_const.begin() == zone_const.end());
     EXPECT_TRUE(*zone.begin() == nse);
     EXPECT_TRUE(*zone.begin() == nse);

+ 1 - 1
src/lib/nsas/zone_entry.h

@@ -105,7 +105,7 @@ public:
      * be rebuild). Calling this after addition to the NameserverAddressStore
      * be rebuild). Calling this after addition to the NameserverAddressStore
      * is undefined (it is not thread safe).
      * is undefined (it is not thread safe).
      */
      */
-    void nameserver_add(NameserverPtr ns) { nameservers_.push_back(ns); }
+    void nameserverAdd(NameserverPtr ns) { nameservers_.push_back(ns); }
     /**
     /**
      * \short Iterators for the nameservers.
      * \short Iterators for the nameservers.
      *
      *