Apply changed admin API symbols of auth-fw-admin 76/61576/1
authorKyungwook Tak <k.tak@samsung.com>
Wed, 9 Mar 2016 03:15:38 +0000 (12:15 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Wed, 9 Mar 2016 03:15:38 +0000 (12:15 +0900)
Change-Id: I751ed24a485b5396f7283032941dd8186bdfce0d
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/auth-fw-passwd/auth-passwd-admin.cpp

index 694807b0ab7454686ea792088c76a5c3aae96101..1c40dd4da3abf79ce4079cbec6c8b8dbd792f448 100644 (file)
@@ -72,15 +72,15 @@ RUNNER_TEST(T00201_set_policy_params)
        RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
                "Failed to set min length to policy handle. ret: " << ret);
 
-       ret = auth_passwd_set_minComplexCharNumber(policy, 2);
+       ret = auth_passwd_set_min_complex_char_num(policy, 2);
        RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
                "Failed to set min complex char number to policy handle. ret: " << ret);
 
-       ret = auth_passwd_set_maxCharOccurrences(policy, 2);
+       ret = auth_passwd_set_max_char_occurrences(policy, 2);
        RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
                "Failed to set max char occurrence number to policy handle. ret: " << ret);
 
-       ret = auth_passwd_set_maxNumSeqLength(policy, 2);
+       ret = auth_passwd_set_max_num_seq_len(policy, 2);
        RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
                "Failed to set max num sequence length to policy handle. ret: " << ret);
 
@@ -100,7 +100,7 @@ RUNNER_TEST(T00201_set_policy_params)
        RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
                "Failed to set quality to policy handle. ret: " << ret);
 
-       ret = auth_passwd_set_forbiddenPasswd(policy, "a1b2c3d4");
+       ret = auth_passwd_set_forbidden_passwd(policy, "a1b2c3d4");
        RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
                "Failed to set forbidden passwd to policy handle. ret: " << ret);