diff options
Diffstat (limited to 'src/lib/dns/tests/unittest_util.h')
-rw-r--r-- | src/lib/dns/tests/unittest_util.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/dns/tests/unittest_util.h b/src/lib/dns/tests/unittest_util.h index 2774602c53..a585426a33 100644 --- a/src/lib/dns/tests/unittest_util.h +++ b/src/lib/dns/tests/unittest_util.h @@ -31,10 +31,15 @@ public: /// /// read text format wire data from a file and put it to the given vector. /// - static void readWireData(const char*datafile, + static void readWireData(const char* datafile, std::vector<unsigned char>& data); /// + /// add a path that \c readWireData() will search for test data files. + /// + static void addDataPath(const std::string& directory); + + /// /// convert a sequence of hex strings into the corresponding list of /// 8-bit integers, and append them to the vector. /// |