Commit c67692d0 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

simplification: rdata_xxx constants doesn't have to be static const members.

(they are in anonymous namespace so there's no name conflict issue)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1009 e5f2f494-b856-4b98-b285-d166d9295462
parent 7ea7a4e4
......@@ -39,21 +39,14 @@ class RRsetListTest : public ::testing::Test {
protected:
RRsetListTest() {}
void setupList(RRsetList& list);
static const in::A rdata_in_a;
static const in::AAAA rdata_in_aaaa;
static const generic::NS rdata_ns;
static const generic::SOA rdata_soa;
static const generic::CNAME rdata_cname;
};
const in::A RRsetListTest::rdata_in_a("192.0.2.1");
const in::AAAA RRsetListTest::rdata_in_aaaa("2001:db8::1234");
const generic::NS RRsetListTest::rdata_ns("ns.example.com");
const generic::SOA RRsetListTest::rdata_soa(Name("ns.example.com"),
Name("root.example.com"),
2010012601, 3600, 300,
3600000, 1200);
const generic::CNAME RRsetListTest::rdata_cname("target.example.com");
const in::A rdata_in_a("192.0.2.1");
const in::AAAA rdata_in_aaaa("2001:db8::1234");
const generic::NS rdata_ns("ns.example.com");
const generic::SOA rdata_soa(Name("ns.example.com"), Name("root.example.com"),
2010012601, 3600, 300, 3600000, 1200);
const generic::CNAME rdata_cname("target.example.com");
void
RRsetListTest::setupList(RRsetList& list) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment