summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2019-07-09 08:48:39 +0900
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-07-19 14:46:29 +0900
commit723b3d36f830dd9425a7affdc5f64a8c2dcdcd45 (patch)
tree29fac7e70f9ab440fdbb3cd378f2262ad45f8859 /tests
parentc0f78f70edf2392545646dbde5c476556d926262 (diff)
downloadDLT-daemon-723b3d36f830dd9425a7affdc5f64a8c2dcdcd45.tar.gz
doxygen: Align variable for apid and ctid
The variables used for application id and context id are aligned with "apid" and "ctid". Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/gtest_dlt_daemon_offline_log.cpp18
-rw-r--r--tests/gtest_dlt_user.cpp2
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/gtest_dlt_daemon_offline_log.cpp b/tests/gtest_dlt_daemon_offline_log.cpp
index a48146f..dd97c5a 100644
--- a/tests/gtest_dlt_daemon_offline_log.cpp
+++ b/tests/gtest_dlt_daemon_offline_log.cpp
@@ -1029,24 +1029,24 @@ TEST(t_dlt_logstorage_write_msg_cache, null)
TEST(t_dlt_logstorage_split_key, normal)
{
char key[] = "dlt:1020:";
- char appid[] = ":2345:";
- char ctxid[] = "::6789";
+ char apid[] = ":2345:";
+ char ctid[] = "::6789";
char ecuid[] = "ECU1";
- EXPECT_EQ(DLT_RETURN_OK, dlt_logstorage_split_key(key, appid, ctxid, ecuid));
+ EXPECT_EQ(DLT_RETURN_OK, dlt_logstorage_split_key(key, apid, ctid, ecuid));
}
TEST(t_dlt_logstorage_split_key, null)
{
char key[] = "dlt:1020:";
- char appid[] = "2345";
- char ctxid[] = "6789";
+ char apid[] = "2345";
+ char ctid[] = "6789";
char ecuid[] = "ECU1";
EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(NULL, NULL, NULL, NULL));
- EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(NULL, appid, ctxid, ecuid));
- EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(key, NULL, ctxid, ecuid));
- EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(key, appid, NULL, ecuid));
- EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(key, appid, ctxid, NULL));
+ EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(NULL, apid, ctid, ecuid));
+ EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(key, NULL, ctid, ecuid));
+ EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(key, apid, NULL, ecuid));
+ EXPECT_EQ(DLT_RETURN_WRONG_PARAMETER, dlt_logstorage_split_key(key, apid, ctid, NULL));
}
/* Begin Method: dlt_logstorage::t_dlt_logstorage_update_all_contexts*/
diff --git a/tests/gtest_dlt_user.cpp b/tests/gtest_dlt_user.cpp
index 7c36178..a910f01 100644
--- a/tests/gtest_dlt_user.cpp
+++ b/tests/gtest_dlt_user.cpp
@@ -79,7 +79,7 @@ extern "C" {
*/
/*
- * int dlt_register_app(const char *appid, const char * description);
+ * int dlt_register_app(const char *apid, const char * description);
* int dlt_unregister_app(void);
* int dlt_register_context(DltContext *handle, const char *contextid, const char * description);
* int dlt_register_context_ll_ts(DltContext *handle, const char *contextid, const char * description, int loglevel, int tracestatus);