| 51 | }; |
| 52 | |
| 53 | TEST_F( IntrusiveMSQueue_DHP, base_hook ) |
| 54 | { |
| 55 | typedef cds::intrusive::MSQueue< gc_type, base_item_type, |
| 56 | typename ci::msqueue::make_traits< |
| 57 | ci::opt::disposer< mock_disposer > |
| 58 | ,ci::opt::hook< ci::msqueue::base_hook< ci::opt::gc<gc_type>>> |
| 59 | >::type |
| 60 | > test_queue; |
| 61 | |
| 62 | std::vector<base_item_type> arr; |
| 63 | arr.resize(100); |
| 64 | { |
| 65 | test_queue q; |
| 66 | test(q, arr); |
| 67 | } |
| 68 | gc_type::scan(); |
| 69 | check_array( arr ); |
| 70 | } |
| 71 | |
| 72 | TEST_F( IntrusiveMSQueue_DHP, base_item_counting ) |
| 73 | { |