blob: 341e00c3b8303a329365919aaf0921bbe7f407ec [file] [log] [blame]
Junxiao Shi047a6fb2017-06-08 16:16:05 +00001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (c) 2014-2017, Regents of the University of California.
4 *
5 * This file is part of NDN repo-ng (Next generation of NDN repository).
6 * See AUTHORS.md for complete list of repo-ng authors and contributors.
7 *
8 * repo-ng is free software: you can redistribute it and/or modify it under the terms
9 * of the GNU General Public License as published by the Free Software Foundation,
10 * either version 3 of the License, or (at your option) any later version.
11 *
12 * repo-ng is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * repo-ng, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef REPO_TESTS_INTEGRATED_COMMAND_FIXTURE_HPP
21#define REPO_TESTS_INTEGRATED_COMMAND_FIXTURE_HPP
22
23#include "../identity-management-fixture.hpp"
24#include <ndn-cxx/security/validator-null.hpp>
25
26namespace repo {
27namespace tests {
28
29class CommandFixture : public virtual IdentityManagementFixture
30{
31protected:
32 CommandFixture();
33
34protected:
35 Face repoFace;
36 Scheduler scheduler;
37 KeyChain& keyChain;
38
39 /// \todo #4091 switch to ValidatorPolicyConf and load insert-delete-validator-config.conf
40 ndn::ValidatorNull validator;
41};
42
43} // namespace tests
44} // namespace repo
45
46#endif // REPO_TESTS_INTEGRATED_COMMAND_FIXTURE_HPP