[svn] commit: r326 - in /branches/jinmei-dnsmessageapi: Makefile.in src/lib/dns/cpp/Makefile.am src/lib/dns/cpp/exceptions.h src/lib/dns/cpp/exceptions_unittest.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Nov 24 22:32:02 UTC 2009


Author: jinmei
Date: Tue Nov 24 22:32:02 2009
New Revision: 326

Log:
added a base exception class for the DNS library with a simple unit test case.

Added:
    branches/jinmei-dnsmessageapi/src/lib/dns/cpp/exceptions.h
    branches/jinmei-dnsmessageapi/src/lib/dns/cpp/exceptions_unittest.cc
Modified:
    branches/jinmei-dnsmessageapi/Makefile.in
    branches/jinmei-dnsmessageapi/src/lib/dns/cpp/Makefile.am

Modified: branches/jinmei-dnsmessageapi/Makefile.in
==============================================================================
--- branches/jinmei-dnsmessageapi/Makefile.in (original)
+++ branches/jinmei-dnsmessageapi/Makefile.in Tue Nov 24 22:32:02 2009
@@ -34,8 +34,8 @@
 subdir = .
 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
 	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
-	$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
-	depcomp install-sh missing
+	$(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS depcomp \
+	install-sh missing
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \

Modified: branches/jinmei-dnsmessageapi/src/lib/dns/cpp/Makefile.am
==============================================================================
--- branches/jinmei-dnsmessageapi/src/lib/dns/cpp/Makefile.am (original)
+++ branches/jinmei-dnsmessageapi/src/lib/dns/cpp/Makefile.am Tue Nov 24 22:32:02 2009
@@ -1,10 +1,10 @@
 lib_LIBRARIES = libdns.a
-libdns_a_SOURCES = name.cc name.h
+libdns_a_SOURCES = name.cc name.h exceptions.h
 
 TESTS =
 if HAVE_GTEST
 TESTS += run_unittests
-run_unittests_SOURCES = run_unittests.cc
+run_unittests_SOURCES = exceptions_unittest.cc run_unittests.cc
 run_unittests_CPPFLAGS = $(GTEST_INCLUDES)
 run_unittests_LDFLAGS = $(GTEST_LDFLAGS)
 run_unittests_LDADD = ./libdns.a $(GTEST_LDADD)




More information about the bind10-changes mailing list