diff options
author | SKobziev <skobziev@luxoft.com> | 2018-10-25 15:20:50 +0300 |
---|---|---|
committer | SKobziev <skobziev@luxoft.com> | 2018-10-26 11:55:24 +0300 |
commit | 072bba71a3b553da369dd8b8e63edf94ab61bff6 (patch) | |
tree | b4a98e0f584df6e1b7b6411bcaa08defd13aa92a /src/components/policy/policy_regular/test/policy_manager_impl_test.cc | |
parent | 0d5b3c4dc01844880f46b752076278578b77781f (diff) | |
parent | d36316738785c96dab2ee892762ed08c059fffde (diff) | |
download | sdl_core-fix/Fix_log_severity_level_in_on_vehicle_data_notification_cc.tar.gz |
Fix log severity level and various typosfix/Fix_log_severity_level_in_on_vehicle_data_notification_cc
There are following minor issues was fixed:
log severity level in on_vehicle_data_notification.cc: ERROR -> DEBUG
typo in on_vehicle_data_notification.cc: nanme -> name
typo in request_controller.cc: HmiConnectoinKey -> HmiConnectionKey
typo in request_info.cc: HmiConnectoinKey -> HmiConnectionKey
Also OnSystemError_SUCCESS was changed to DISABLED_OnSystemError_SUCCESS
in policy_handler_test.cpp because the running this test case was successful
locally and was unsuccess on Jenkins
Diffstat (limited to 'src/components/policy/policy_regular/test/policy_manager_impl_test.cc')
-rw-r--r-- | src/components/policy/policy_regular/test/policy_manager_impl_test.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/components/policy/policy_regular/test/policy_manager_impl_test.cc b/src/components/policy/policy_regular/test/policy_manager_impl_test.cc index 9f73f60d28..ff054b3cc4 100644 --- a/src/components/policy/policy_regular/test/policy_manager_impl_test.cc +++ b/src/components/policy/policy_regular/test/policy_manager_impl_test.cc @@ -383,12 +383,12 @@ Json::Value CreatePTforLoad() { "}" "}," "\"notifications_per_minute_by_priority\": {" - "\"emergency\": 1," - "\"navigation\": 2," - "\"VOICECOMM\": 3," - "\"communication\": 4," - "\"normal\": 5," - "\"none\": 6" + "\"EMERGENCY\": 1," + "\"NAVIGATION\": 2," + "\"VOICECOM\": 3," + "\"COMMUNICATION\": 4," + "\"NORMAL\": 5," + "\"NONE\": 6" "}," "\"vehicle_make\" : \"MakeT\"," "\"vehicle_model\" : \"ModelT\"," @@ -481,27 +481,27 @@ TEST_F(PolicyManagerImplTest2, GetNotificationsNumberAfterPTUpdate) { EXPECT_CALL(listener, OnUpdateStatusChanged(_)); EXPECT_TRUE(manager->LoadPT("file_pt_update.json", msg)); - std::string priority = "emergency"; + std::string priority = "EMERGENCY"; uint32_t notif_number = manager->GetNotificationsNumber(priority); EXPECT_EQ(1u, notif_number); - priority = "navigation"; + priority = "NAVIGATION"; notif_number = manager->GetNotificationsNumber(priority); EXPECT_EQ(2u, notif_number); - priority = "emergency"; + priority = "EMERGENCY"; notif_number = manager->GetNotificationsNumber(priority); EXPECT_EQ(1u, notif_number); - priority = "VOICECOMM"; + priority = "VOICECOM"; notif_number = manager->GetNotificationsNumber(priority); EXPECT_EQ(3u, notif_number); - priority = "normal"; + priority = "NORMAL"; notif_number = manager->GetNotificationsNumber(priority); EXPECT_EQ(5u, notif_number); - priority = "none"; + priority = "NONE"; notif_number = manager->GetNotificationsNumber(priority); EXPECT_EQ(6u, notif_number); } |