Kea 2.5.8
io_utils.cc File Reference
#include <config.h>
#include <exceptions/exceptions.h>
#include <testutils/io_utils.h>
#include <gtest/gtest.h>
#include <fstream>
#include <sstream>
#include <string>
+ Include dependency graph for io_utils.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::test
 

Functions

std::string isc::test::decommentJSONfile (const std::string &input_file)
 Removes comments from a JSON file.
 
bool isc::test::fileExists (const std::string &file_path)
 Checks if specified file exists.
 
std::string isc::test::readFile (const std::string &file_path)
 Reads contents of the specified file.