Kea
1.5.0
testdata.h
Go to the documentation of this file.
1
// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#ifndef UTIL_UNITTESTS_TESTDATA_H
8
#define UTIL_UNITTESTS_TESTDATA_H 1
9
18
namespace
isc
{
19
namespace
util {
20
namespace
unittests {
23
void
addTestDataPath
(
const
std::string& path);
24
37
void
openTestData
(
const
char
*
const
datafile, std::ifstream& ifs);
38
}
39
}
40
}
41
42
#endif // UTIL_UNITTESTS_TESTDATA_H
43
44
// Local Variables:
45
// mode: c++
46
// End:
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::util::unittests::openTestData
void openTestData(const char *const datafile, ifstream &ifs)
Open a file specified by 'datafile' using the data paths registered via addTestDataPath().
Definition:
testdata.cc:36
isc::util::unittests::addTestDataPath
void addTestDataPath(const string &path)
Add a path (directory) that openTestData() will search for test data files.
Definition:
testdata.cc:31
src
lib
util
unittests
testdata.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18