Refactored Map_find_string MT-test
[libcds.git] / tests / unit / map2 / map_find_string_striped.cpp
index afba7b6722ab01b4d152fa5227947c39ad51d655..c0188ba69f15d5679cc1fbd88fae421b9c044fdb 100644 (file)
@@ -3,10 +3,11 @@
 #include "map2/map_find_string.h"
 #include "map2/map_type_striped.h"
 
-namespace map2 {
-    CDSUNIT_DEFINE_StripedMap(cc::striped_set::implementation_tag, Map_find_string)
+#undef TEST_CASE
+#define TEST_CASE(TAG, X)  void Map_find_string::X() { run_test<typename map_type< TAG, key_type, value_type>::X>(); }
+#include "map2/map_defs.h"
 
-    CPPUNIT_TEST_SUITE_PART( Map_find_string, run_StripedMap )
-        CDSUNIT_TEST_StripedMap
-    CPPUNIT_TEST_SUITE_END_PART()
+namespace map2 {
+    CDSUNIT_DECLARE_StripedMap
+    CDSUNIT_DECLARE_RefinableMap
 } // namespace map2