"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pdns/test-dnsrecordcontent.cc" between
pdns-auth-4.1.13.tar.gz and pdns-auth-4.2.0.tar.gz

About: PowerDNS Authoritative Nameserver is a versatile nameserver which supports a large number of backends (that can either be plain zone files or be more dynamic in nature).

test-dnsrecordcontent.cc  (pdns-auth-4.1.13):test-dnsrecordcontent.cc  (pdns-auth-4.2.0)
skipping to change at line 13 skipping to change at line 13
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include "dnsrecords.hh" #include "dnsrecords.hh"
#include "iputils.hh" #include "iputils.hh"
BOOST_AUTO_TEST_SUITE(test_dnsrecordcontent) BOOST_AUTO_TEST_SUITE(test_dnsrecordcontent)
BOOST_AUTO_TEST_CASE(test_equality) { BOOST_AUTO_TEST_CASE(test_equality) {
reportAllTypes();
ComboAddress ip("1.2.3.4"), ip2("10.0.0.1"), ip6("::1"); ComboAddress ip("1.2.3.4"), ip2("10.0.0.1"), ip6("::1");
ARecordContent a1(ip), a2(ip), a3(ip2); ARecordContent a1(ip), a2(ip), a3(ip2);
AAAARecordContent aaaa(ip6), aaaa1(ip6); AAAARecordContent aaaa(ip6), aaaa1(ip6);
BOOST_CHECK(a1==a2); BOOST_CHECK(a1==a2);
BOOST_CHECK(!(a1==a3)); BOOST_CHECK(!(a1==a3));
BOOST_CHECK(aaaa == aaaa1); BOOST_CHECK(aaaa == aaaa1);
auto rec1=DNSRecordContent::mastermake(QType::A, 1, "192.168.0.1"); auto rec1=DNSRecordContent::mastermake(QType::A, 1, "192.168.0.1");
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)