summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevchenkoS <slevchenko.work@gmail.com>2016-10-13 12:14:57 +0300
committerLevchenkoS <slevchenko.work@gmail.com>2016-10-13 15:03:36 +0300
commit2a6715acd9ec288f3c791b94808517e815e3a9ac (patch)
tree1483c52a487d3eee0f3393472feaac8e03417e1b
parent6d6394c3ebabd21edfa72944bd207cf8dbaa1828 (diff)
downloadsdl_core-2a6715acd9ec288f3c791b94808517e815e3a9ac.tar.gz
Fix broken test case in RegisterAppInterfaceRequestTest
Test case `RegisterAppInterfaceRequestTest .Run_HmiInterfacesStateAvailable_SUCCESS` has been fixed. Related to: APPLINK-28912
-rw-r--r--src/components/application_manager/test/commands/mobile/register_app_interface_request_test.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/application_manager/test/commands/mobile/register_app_interface_request_test.cc b/src/components/application_manager/test/commands/mobile/register_app_interface_request_test.cc
index 18bc58b5d1..e34cea34cf 100644
--- a/src/components/application_manager/test/commands/mobile/register_app_interface_request_test.cc
+++ b/src/components/application_manager/test/commands/mobile/register_app_interface_request_test.cc
@@ -116,11 +116,14 @@ class RegisterAppInterfaceRequestTest
void InitLanguage(
hmi_apis::Common_Language::eType ui_language = kHmiLanguage,
- hmi_apis::Common_Language::eType vr_language = kHmiLanguage) {
+ hmi_apis::Common_Language::eType vr_language = kHmiLanguage,
+ hmi_apis::Common_Language::eType tts_language = kHmiLanguage) {
ON_CALL(mock_hmi_capabilities_, active_vr_language())
.WillByDefault(Return(vr_language));
ON_CALL(mock_hmi_capabilities_, active_ui_language())
.WillByDefault(Return(ui_language));
+ ON_CALL(mock_hmi_capabilities_, active_tts_language())
+ .WillByDefault(Return(tts_language));
}
void InitGetters() {
@@ -250,7 +253,7 @@ MATCHER_P(CheckHMIInterfacesRealtedData, expected_data, "") {
}
TEST_F(RegisterAppInterfaceRequestTest,
- DISABLE_Run_HmiInterfacesStateAvailable_SUCCESS) {
+ Run_HmiInterfacesStateAvailable_SUCCESS) {
InitBasicMessage();
MockAppPtr mock_app = CreateBasicMockedApp();