Skip to content
Snippets Groups Projects
Commit 7dd572b8 authored by Utz-Uwe Haus's avatar Utz-Uwe Haus
Browse files

update check_declaration_seal to new attribute setter

parent 1b81c0c4
Branches
Tags
No related merge requests found
Pipeline #68264 passed
......@@ -153,7 +153,7 @@ CHEAT_TEST(user_defined_schemas_works,
mstro_cdo cdo;
cheat_assert(MSTRO_OK ==mstro_cdo_declare("test cdo", MSTRO_ATTR_DEFAULT, &cdo));
cheat_assert(MSTRO_OK ==mstro_cdo_attribute_set(cdo, ".maestro.test.t_1", "test value"));
cheat_assert(MSTRO_OK ==mstro_cdo_attribute_set(cdo, ".maestro.test.t_1", "test value",true));
cheat_assert(MSTRO_OK ==mstro_cdo_declaration_seal(cdo));
cheat_assert(MSTRO_OK ==mstro_cdo_offer(cdo));
......@@ -181,8 +181,8 @@ CHEAT_TEST(user_defined_schemas_paths,
cheat_assert(MSTRO_OK == mstro_init("Tests","DECLARE",0));
mstro_cdo cdo;
cheat_assert(MSTRO_OK ==mstro_cdo_declare("test cdo", MSTRO_ATTR_DEFAULT, &cdo));
cheat_assert(MSTRO_OK ==mstro_cdo_attribute_set(cdo, ".maestro.test.t_1", "test value"));
cheat_assert(MSTRO_OK ==mstro_cdo_attribute_set(cdo, ".maestro.benchmark.b_1", "bechmark value"));
cheat_assert(MSTRO_OK ==mstro_cdo_attribute_set(cdo, ".maestro.test.t_1", "test value", true));
cheat_assert(MSTRO_OK ==mstro_cdo_attribute_set(cdo, ".maestro.benchmark.b_1", "bechmark value", true));
cheat_assert(MSTRO_OK ==mstro_cdo_declaration_seal(cdo));
cheat_assert(MSTRO_OK ==mstro_cdo_offer(cdo));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment