}
};
-TEST_F(omap_manager_test_t, basic)
+TEST_P(omap_manager_test_t, basic)
{
run_async([this] {
omap_root_t omap_root = initialize();
});
}
-TEST_F(omap_manager_test_t, force_leafnode_split)
+TEST_P(omap_manager_test_t, force_leafnode_split)
{
run_async([this] {
omap_root_t omap_root = initialize();
});
}
-TEST_F(omap_manager_test_t, force_leafnode_split_merge)
+TEST_P(omap_manager_test_t, force_leafnode_split_merge)
{
run_async([this] {
omap_root_t omap_root = initialize();
});
}
-TEST_F(omap_manager_test_t, force_leafnode_split_merge_fullandbalanced)
+TEST_P(omap_manager_test_t, force_leafnode_split_merge_fullandbalanced)
{
run_async([this] {
omap_root_t omap_root = initialize();
});
}
-TEST_F(omap_manager_test_t, force_split_listkeys_list_rmkey_range_clear)
+TEST_P(omap_manager_test_t, force_split_listkeys_list_rmkey_range_clear)
{
run_async([this] {
omap_root_t omap_root = initialize();
});
}
-TEST_F(omap_manager_test_t, force_inner_node_split_list_rmkey_range)
+TEST_P(omap_manager_test_t, force_inner_node_split_list_rmkey_range)
{
run_async([this] {
omap_root_t omap_root = initialize();
}
-TEST_F(omap_manager_test_t, internal_force_split)
+TEST_P(omap_manager_test_t, internal_force_split)
{
run_async([this] {
omap_root_t omap_root = initialize();
});
}
-TEST_F(omap_manager_test_t, internal_force_merge_fullandbalanced)
+TEST_P(omap_manager_test_t, internal_force_merge_fullandbalanced)
{
run_async([this] {
omap_root_t omap_root = initialize();
});
}
-TEST_F(omap_manager_test_t, replay)
+TEST_P(omap_manager_test_t, replay)
{
run_async([this] {
omap_root_t omap_root = initialize();
}
-TEST_F(omap_manager_test_t, internal_force_split_to_root)
+TEST_P(omap_manager_test_t, internal_force_split_to_root)
{
run_async([this] {
omap_root_t omap_root = initialize();
check_mappings(omap_root);
});
}
+
+INSTANTIATE_TEST_SUITE_P(
+ omap_manager_test,
+ omap_manager_test_t,
+ ::testing::Values (
+ "segmented",
+ "circularbounded"
+ )
+);