Add certificate fetcher of ndns-appcert and ndns-cert
Validators are updated accordingly
Change-Id: Ibdee00b8f20243448a2ba3011ca87f85ce1ea516
diff --git a/tests/unit/database-test-data.hpp b/tests/unit/database-test-data.hpp
index 0db768c..f1ff278 100644
--- a/tests/unit/database-test-data.hpp
+++ b/tests/unit/database-test-data.hpp
@@ -31,7 +31,7 @@
namespace ndns {
namespace tests {
-class DbTestData : public IdentityManagementFixture
+class DbTestData : public IdentityManagementFixture, public UnitTestTimeFixture
{
public:
static const boost::filesystem::path TEST_DATABASE;
@@ -48,6 +48,7 @@
addRrset(Zone& zone, const Name& label, const name::Component& type,
const time::seconds& ttl, const name::Component& version,
const name::Component& qType, NdnsContentType contentType, const std::string& msg);
+
public:
class PreviousStateCleaner
{
@@ -65,8 +66,16 @@
Zone m_net;
Zone m_ndnsim;
DbMgr m_session;
+
+ // test zone identity
Identity m_identity;
+
+ // test zone dsk
Certificate m_cert;
+
+ Name m_testName;
+ Name m_netName;
+ Name m_ndnsimName;
};
} // namespace tests