feat(fabric test):
add fabric test case of tranaction
/* extern suite declaration */
extern Suite *make_wallet_suite(void);
-extern Suite *make_parameters_suite(void);
-extern Suite *make_contract_suite(void);
+extern Suite *make_transaction_suite(void);
char fabric_client_cert_buf[CERT_PRIKEY_LEN] = {0};
char fabric_client_key_buf[CERT_PRIKEY_LEN] = {0};
@@ -70,6 +69,7 @@ int main(int argc, char *argv[])
/* new adding test suite should create in here */
Suite *suite_wallet = make_wallet_suite();
+ Suite *suite_transaction = make_transaction_suite();
ret = read_file_content(file_client_key,fabric_client_key_buf);
if(ret < 0){
printf("read file_client_key fail \n");
@@ -110,6 +110,7 @@ int main(int argc, char *argv[])
The first suite in a suite runner is always added in function srunner_create,
here set suite_wallet as first adding suite. */
sr = srunner_create(suite_wallet);
+ srunner_add_suite(sr, suite_transaction);
/* set generate test log in running path */
srunner_set_log(sr, "test_statistics_report.txt");
