diff options
author | Alexander Kutsan <AKutsan@luxoft.com> | 2016-11-18 18:12:45 +0200 |
---|---|---|
committer | Alexander Kutsan <AKutsan@luxoft.com> | 2016-12-05 09:33:20 +0200 |
commit | 16891012aadef1839f460ddae51d7ee71c2d6ff0 (patch) | |
tree | d5b385a0088605c4028b64218d8ecc339e5981a3 /src/components/application_manager/test/commands/mobile/on_system_request_notification_test.cc | |
parent | 84f3d3bcd54c1ae1b842e3660c905d9f78cf9d25 (diff) | |
download | sdl_core-16891012aadef1839f460ddae51d7ee71c2d6ff0.tar.gz |
Fix usages of policy in code
Diffstat (limited to 'src/components/application_manager/test/commands/mobile/on_system_request_notification_test.cc')
-rw-r--r-- | src/components/application_manager/test/commands/mobile/on_system_request_notification_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/test/commands/mobile/on_system_request_notification_test.cc b/src/components/application_manager/test/commands/mobile/on_system_request_notification_test.cc index 7aab4b1b37..3548dfe445 100644 --- a/src/components/application_manager/test/commands/mobile/on_system_request_notification_test.cc +++ b/src/components/application_manager/test/commands/mobile/on_system_request_notification_test.cc @@ -100,12 +100,12 @@ TEST_F(OnSystemRequestNotificationTest, Run_ProprietaryType_SUCCESS) { EXPECT_CALL(mock_policy_handler, IsRequestTypeAllowed(_, _)) .WillOnce(Return(true)); -#ifdef EXTENDED_POLICY +#if defined(EXTENDED_POLICY) || defined(EXTENDED_PROPRIETARY) EXPECT_CALL(app_mngr_, GetPolicyHandler()) .Times(2) .WillRepeatedly(ReturnRef(mock_policy_handler)); EXPECT_CALL(mock_policy_handler, TimeoutExchange()).WillOnce(Return(5u)); -#endif +#endif // EXTENDED_POLICY || EXTENDED_PROPRIETARY EXPECT_CALL(message_helper_, PrintSmartObject(_)).WillOnce(Return(false)); EXPECT_CALL(app_mngr_, SendMessageToMobile(msg, _)); |