[#1110]remove url format check
@@ -720,23 +720,23 @@ END_TEST
START_TEST(test_002InitWallet_0007SetNodeUrlFailureErrorNodeUrlFormat)
{
- BSINT32 rtnVal;
- BoatEthWallet *wallet_ptr = BoatMalloc(sizeof(BoatEthWallet));
- BoatEthWalletConfig wallet;
-
- ck_assert_ptr_ne(wallet_ptr, NULL);
-
- /* 1. execute unit test */
- strncpy(wallet.node_url_str, "abcd", strlen("abcd"));
- wallet_ptr->network_info.node_url_ptr = NULL;
- rtnVal = BoatEthWalletSetNodeUrl(wallet_ptr, wallet.node_url_str);
- /* 2. verify test result */
- /* 2-1. verify the return value */
- ck_assert_int_eq(rtnVal, BOAT_ERROR_COMMON_INVALID_ARGUMENT);
-
- /* 2-2. verify the global variables that be affected */
- ck_assert(wallet_ptr->network_info.node_url_ptr == NULL);
- BoatFree(wallet_ptr);
+ // BSINT32 rtnVal;
+ // BoatEthWallet *wallet_ptr = BoatMalloc(sizeof(BoatEthWallet));
+ // BoatEthWalletConfig wallet;
+
+ // ck_assert_ptr_ne(wallet_ptr, NULL);
+
+ // /* 1. execute unit test */
+ // strncpy(wallet.node_url_str, "abcd", strlen("abcd"));
+ // wallet_ptr->network_info.node_url_ptr = NULL;
+ // rtnVal = BoatEthWalletSetNodeUrl(wallet_ptr, wallet.node_url_str);
+ // /* 2. verify test result */
+ // /* 2-1. verify the return value */
+ // ck_assert_int_eq(rtnVal, BOAT_ERROR_COMMON_INVALID_ARGUMENT);
+
+ // /* 2-2. verify the global variables that be affected */
+ // ck_assert(wallet_ptr->network_info.node_url_ptr == NULL);
+ // BoatFree(wallet_ptr);
}
END_TEST
