Kea 2.5.8
testdata.cc File Reference
#include <config.h>
#include <string>
#include <stdexcept>
#include <fstream>
#include <vector>
#include <util/unittests/testdata.h>
+ Include dependency graph for testdata.cc:

Go to the source code of this file.

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::util
 
namespace  isc::util::unittests
 

Functions

void isc::util::unittests::addTestDataPath (const std::string &path)
 Add a path (directory) that openTestData() will search for test data files.
 
void isc::util::unittests::openTestData (const char *const datafile, std::ifstream &ifs)
 Open a file specified by 'datafile' using the data paths registered via addTestDataPath().