LCOV - code coverage report
Current view: top level - nsas - nsas_messages.cc (source / functions) Hit Total Coverage
Test: report.info Lines: 2 2 100.0 %
Date: 2012-05-15 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : // File created from ../../../src/lib/nsas/nsas_messages.mes on Mon May 14 10:33:21 2012
       2                 :            : 
       3                 :            : #include <cstddef>
       4                 :            : #include <log/message_types.h>
       5                 :            : #include <log/message_initializer.h>
       6                 :            : 
       7                 :            : namespace isc {
       8                 :            : namespace nsas {
       9                 :            : 
      10                 :            : extern const isc::log::MessageID NSAS_EMPTY_RESPONSE = "NSAS_EMPTY_RESPONSE";
      11                 :            : extern const isc::log::MessageID NSAS_ERROR_RESPONSE = "NSAS_ERROR_RESPONSE";
      12                 :            : extern const isc::log::MessageID NSAS_FIND_NS_ADDRESS = "NSAS_FIND_NS_ADDRESS";
      13                 :            : extern const isc::log::MessageID NSAS_FOUND_ADDRESS = "NSAS_FOUND_ADDRESS";
      14                 :            : extern const isc::log::MessageID NSAS_LOOKUP_CANCEL = "NSAS_LOOKUP_CANCEL";
      15                 :            : extern const isc::log::MessageID NSAS_NS_LOOKUP_FAIL = "NSAS_NS_LOOKUP_FAIL";
      16                 :            : extern const isc::log::MessageID NSAS_NULL_RESPONSE = "NSAS_NULL_RESPONSE";
      17                 :            : extern const isc::log::MessageID NSAS_SEARCH_ZONE_NS = "NSAS_SEARCH_ZONE_NS";
      18                 :            : extern const isc::log::MessageID NSAS_UPDATE_RTT = "NSAS_UPDATE_RTT";
      19                 :            : extern const isc::log::MessageID NSAS_WRONG_ANSWER = "NSAS_WRONG_ANSWER";
      20                 :            : 
      21                 :            : } // namespace nsas
      22                 :            : } // namespace isc
      23                 :            : 
      24                 :            : namespace {
      25                 :            : 
      26                 :            : const char* values[] = {
      27                 :            :     "NSAS_EMPTY_RESPONSE", "response to query for %1 returned an empty answer section",
      28                 :            :     "NSAS_ERROR_RESPONSE", "error response of %1 returned in query for %2",
      29                 :            :     "NSAS_FIND_NS_ADDRESS", "asking resolver to obtain A and AAAA records for %1",
      30                 :            :     "NSAS_FOUND_ADDRESS", "found address %1 for %2",
      31                 :            :     "NSAS_LOOKUP_CANCEL", "lookup for zone %1 has been canceled",
      32                 :            :     "NSAS_NS_LOOKUP_FAIL", "failed to lookup any %1 for %2",
      33                 :            :     "NSAS_NULL_RESPONSE", "got null message in success callback for query for %1",
      34                 :            :     "NSAS_SEARCH_ZONE_NS", "searching NSAS for nameservers for zone %1",
      35                 :            :     "NSAS_UPDATE_RTT", "update RTT for %1: was %2 ms, is now %3 ms",
      36                 :            :     "NSAS_WRONG_ANSWER", "queried for %1 RR of type/class %2/%3, received response %4/%5",
      37                 :            :     NULL
      38                 :            : };
      39                 :            : 
      40                 :          4 : const isc::log::MessageInitializer initializer(values);
      41                 :            : 
      42                 :          4 : } // Anonymous namespace
      43                 :            : 

Generated by: LCOV version 1.9