MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / TEST_F

Function TEST_F

extern/libcds/test/unit/queue/intrusive_optqueue_dhp.cpp:53–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 };
52
53 TEST_F( IntrusiveOptQueue_DHP, base_hook )
54 {
55 typedef cds::intrusive::OptimisticQueue< gc_type, base_item_type,
56 typename ci::optimistic_queue::make_traits<
57 ci::opt::disposer< mock_disposer >
58 ,ci::opt::hook< ci::optimistic_queue::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( IntrusiveOptQueue_DHP, base_item_counting )
73 {

Callers

nothing calls this directly

Calls 3

scanFunction · 0.85
testClass · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected