feat(fabric test):
add fabric test case "DeInit_Txptr_NULL"
@@ -756,6 +756,14 @@ START_TEST(test_002Transaction_0029TxQueryFail_args_ADD1)
}
END_TEST
+START_TEST(test_002Transaction_0030DeInit_Txptr_NULL)
+{
+ BoatIotSdkInit();
+ BoatHlfabricTxDeInit(NULL);
+ BoatIotSdkDeInit();
+}
+END_TEST
+
Suite *make_transaction_suite(void)
{
@@ -797,6 +805,7 @@ Suite *make_transaction_suite(void)
tcase_add_test(tc_transaction_api, test_002Transaction_0027TxQueryFail_arg2_ERR);
tcase_add_test(tc_transaction_api, test_002Transaction_0028TxQueryFail_arg2_NULL);
tcase_add_test(tc_transaction_api, test_002Transaction_0029TxQueryFail_args_ADD1);
+ tcase_add_test(tc_transaction_api, test_002Transaction_0030DeInit_Txptr_NULL);
return s_transaction;
}
