Add quotation mark for check spaces 79/316379/4
authorYonggoo Kang <ygace.kang@samsung.com>
Tue, 20 Aug 2024 10:56:51 +0000 (19:56 +0900)
committerYonggoo Kang <ygace.kang@samsung.com>
Tue, 20 Aug 2024 11:18:29 +0000 (11:18 +0000)
Change-Id: Iad0049756e3f9dc3e67700d66cedc80c293309db

tests/webauthn-manual-test-app/src/app_gui.cpp

index 563935ce2f2475ed19b21e715335e688fa453fff..c01a38012f04b9bf3c9a4b5fb2df503625c72601 100644 (file)
@@ -264,12 +264,15 @@ void *AppGUI::UpdateCreatedUserIds(void *data)
 {
     auto appGUI = static_cast<AppGUI *>(data);
 
-    std::string userIdsText = "Created usernames: { ";
+    std::string userIdsText = "Created usernames: {";
     for (auto const& cred : appGUI->m_testContents.createdCredDescs)
     {
+        userIdsText += "\"";
         userIdsText += std::string(cred.first.begin(), cred.first.end());
+        userIdsText += "\"";
+        userIdsText += ",";
     }
-    userIdsText += "} ";
+    userIdsText += "}";
     std::cout << userIdsText.c_str() << std::endl;
     elm_object_text_set(appGUI->m_createdUserIds, userIdsText.c_str());
 
@@ -355,7 +358,7 @@ void AppGUI::AuthenticateButtonClickedCb()
     m_testContents.status = TestState::AUTH_IN_PROCESS;
     m_testContents.username = elm_object_text_get(m_entry);
 
-    log << "Registering username: " << m_testContents.username << std::endl;
+    log << "Authenticating username: \"" << m_testContents.username << "\"" << std::endl;
     LogDebug(log.str().c_str());
 
     ecore_thread_run(AuthenticateStaticCb, NULL, NULL, this);