Migrated Set_DelOdd stress test to gtest framework
[libcds.git] / test / include / cds_test / stress_test.h
index eac2b7e3dc5b0477274fa0eea0f50e6105580233..10aeff542c098e5b6c2ecfd07039b0ff57d7ef7d 100644 (file)
@@ -126,6 +126,15 @@ namespace cds_test {
         return s;
     }
 
+    template <typename T>
+    static inline property_stream& operator <<( property_stream& s, std::pair<std::string, T > prop )
+    {
+        std::stringstream ss;
+        ss << prop.second;
+        ::testing::Test::RecordProperty( prop.first.c_str(), ss.str().c_str() );
+        return s;
+    }
+
     static inline property_stream& operator <<( property_stream& s, std::pair<char const *, std::chrono::milliseconds > prop )
     {
         std::stringstream ss;