| Kea 3.0.2-git

testdata.h
Go to the documentation of this file.
1// Copyright (C) 2011-2024 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
17
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
isc::util::unittests
Definition check_valgrind.cc:11
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
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
Definition time_utils.cc:43
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148