summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/test_tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/test_tools.h')
-rw-r--r--qpid/cpp/src/tests/test_tools.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/test_tools.h b/qpid/cpp/src/tests/test_tools.h
index 54837d3e5b..832c04af04 100644
--- a/qpid/cpp/src/tests/test_tools.h
+++ b/qpid/cpp/src/tests/test_tools.h
@@ -34,7 +34,7 @@ template <class T> std::ostream& seqPrint(std::ostream& o, const T& seq) {
return o;
}
-// Compare sequences
+// Compare sequences
template <class T, class U>
bool seqEqual(const T& a, const U& b) {
typename T::const_iterator i = a.begin();
@@ -60,6 +60,9 @@ template <class T>
bool operator == (const boost::assign_detail::generic_list<T>& b, const vector<T>& a) { return seqEqual(a, b); }
}
+namespace qpid {
+namespace tests {
+
/** NB: order of parameters is regex first, in line with
* CHECK(expected, actual) convention.
*/
@@ -98,6 +101,7 @@ inline std::string getLibPath(const char* envName, const char* defaultPath = 0)
return defaultPath;
}
+}} // namespace qpid::tests
#endif /*!TEST_TOOLS_H*/