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:// e5f2f494-b856-4b98-b285-d166d9295462
parent 7ea7a4e4
...@@ -39,21 +39,14 @@ class RRsetListTest : public ::testing::Test { ...@@ -39,21 +39,14 @@ class RRsetListTest : public ::testing::Test {
protected: protected:
RRsetListTest() {} RRsetListTest() {}
void setupList(RRsetList& list); 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(""); const in::A rdata_in_a("");
const in::AAAA RRsetListTest::rdata_in_aaaa("2001:db8::1234"); const in::AAAA rdata_in_aaaa("2001:db8::1234");
const generic::NS RRsetListTest::rdata_ns(""); const generic::NS rdata_ns("");
const generic::SOA RRsetListTest::rdata_soa(Name(""), const generic::SOA rdata_soa(Name(""), Name(""),
Name(""), 2010012601, 3600, 300, 3600000, 1200);
2010012601, 3600, 300, const generic::CNAME rdata_cname("");
3600000, 1200);
const generic::CNAME RRsetListTest::rdata_cname("");
void void
RRsetListTest::setupList(RRsetList& list) { 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