summaryrefslogtreecommitdiff
path: root/src/components/application_manager/test/include/application_manager/mock_message_helper.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature/cloud_app_transport' into ↵Jacob Keeler2019-03-071-0/+2
|\ | | | | | | feature/base_app_services_implementation
| * Fix the Light Name conversion from string to enum value in default capabilitiesIryna Lytvynenko2018-10-161-0/+2
| |
* | Add capability updates for NAVIGATION service typefeature/navigation_service_typejacobkeeler2019-02-261-0/+3
| | | | | | | | Also revise name of `timeStamp` parameter in NavigationServiceData
* | App Service Activation Logic (#2809)Jacob Keeler2019-02-231-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add AS.AppServiceActivation and AS.GetAppServiceRecords RPCs * Initialize AppServiceManager in Application manager tests * Moved create notification functions to message helper class * Fix style * Removed setServiceActive function * Add OnSystemCapabilityUpdated triggers to AppServiceManager Includes refactoring of OnSystemCapabilityUpdated notification classes. * Remove servicesSupported parameter * Update SystemCapability structs with new revisions * Include additional cases for activation 1. Services are activated if their publishing app is in the foreground. 2. If a service is deactivated without another being activated, the embedded service becomes active if available. * Fixed error from previous commit and addressed style comments * Addressed review comments * Address review comments * Fix LastState usage in app service manager * Addressed review comments and removed extra debug statements * Fix style
* | SystemCapability Subscription (#2800)Shobhit Adlakha2019-02-211-0/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Implemented AppServiceCapabilities response * Renamed SystemCapability App Extension filename and ExtractExtension function * Fix style * Add OnSystemCapabilityUpdated(APP_SERVICES) handling * Fix missing include and unused variables * Made fix in App service manager and added notifcation RPC to policy table * Implemented automatic app system capability subscription of App Service Provider * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Implemented AppServiceCapabilities response * Renamed SystemCapability App Extension filename and ExtractExtension function * Fix style * Add OnSystemCapabilityUpdated(APP_SERVICES) handling * Fix missing include and unused variables * Made fix in App service manager and added notifcation RPC to policy table * Implemented automatic app system capability subscription of App Service Provider * Rebase and style fix * Added all published app services in OnSystemCapabilityUpdate notification * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Implemented AppServiceCapabilities response * Renamed SystemCapability App Extension filename and ExtractExtension function * Fix style * Add OnSystemCapabilityUpdated(APP_SERVICES) handling * Fix missing include and unused variables * Made fix in App service manager and added notifcation RPC to policy table * Implemented automatic app system capability subscription of App Service Provider * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added and implemented OnSystemCapabilityUpdated notification * Renamed SystemCapability App Extension filename and ExtractExtension function * Fix style * Add OnSystemCapabilityUpdated(APP_SERVICES) handling * Made fix in App service manager and added notifcation RPC to policy table * Rebase and style fix * Added all published app services in OnSystemCapabilityUpdate notification * Applied parameter updateReason only to published app service which triggers OnSystemCapabilityUpdated notification * Implemented OnSystemCapabilityUpdated notification to HMI * Addressed review comments * Implemented UnPublishAppService in ASM * Implemented ASP removal notification * Moved ASP removal notification to ApplicationManagerImpl::UnregisterApplication * Moved HMI OSCU notification from app services plugin to sdl rpc plugin * Initialize AppServiceManager in Application manager tests * Moved create notification functions to message helper class * Fix style * Removed setServiceActive function * Update SystemCapability structs with new revisions * Fixed error from previous commit and addressed style comments * Addressed review comments * Addressed review comments and removed extra debug statements
* Fix namespace case structure in projectfix/namespace_casejacobkeeler2018-08-291-1/+1
|
* more cleanup, add mock implementationsConlain Kelly2018-07-311-0/+3
|
* Fix SDL sends multiple OnRCStatus notification in case of app unregistrationIra Lytvynenko (GitHub)2018-07-121-5/+6
| | | | Fix disabling RC-functionality
* Create and send on RC status notificationsAlex Kutsan2018-07-121-1/+6
| | | | | | | Add comments and mock missed methods Conflicts: src/components/include/test/application_manager/mock_rpc_service.h
* Merge branch 'develop' of https://github.com/smartdevicelink/sdl_core into ↵fronneburg2018-07-051-6/+3
|\ | | | | | | | | | | | | | | | | feat/mt_transport_changes Conflicts: src/components/application_manager/src/application_manager_impl.cc src/components/application_manager/test/application_manager_impl_test.cc src/components/remote_control/test/include/mock_application.h
| * Remove all usage of SubscribedIVI from application managerAlexander2018-06-261-2/+0
| |
| * fixup! Add to IVI plugin functionality to clear all application data.Alexander2018-06-261-0/+3
| |
| * Move using functions for clear subscriptions to pluginAlexander2018-06-261-4/+0
| |
* | Merge branch 'develop' into feat/mt_transport_changesJacob Keeler2018-06-181-0/+4
|\ \ | |/
| * Fix test failures and add method descriptionsJacob Keeler2018-06-071-0/+4
| |
* | Merge pull request #236 in NAR/sdl-core from fix/build_errors_in_tests to ↵Frank Ronneburg2018-04-111-0/+6
|/ | | | | | | | | | | | | | | | | | | | | | | feature/Ford-WiFi * commit 'd529b059e47f170c77137ac1edf10c0696a7bb6b': fallout from other changes in the Ford-WiFi branch revert device_type hacks revert device_type hacks UT: support newly added Application::deferred_resumption_hmi_level() UT: support newly added ApplicationManager::CheckResumptionRequiredTransportAvailable() UT: update test cases to support new protocol frames UT: fix CheckStringContainer() test case UT: fix test case TcpClientListenerTest IsInitialised UT: support newly added TransportAdapter::GetDeviceType() UT: support newly added transport_manager_tcp_adapter_network_interface() method Remove invalid test cases Add/fix mock methods for testing Update test code to add new arg in Connection::AddNewSession() and AddNewService() Update test code related to SessionContext struct Update test codes related to SendEndService() Update DeviceInfo struct in test codes Add mock methods for testing
* Avoid integer overflowAlex Kutsan2018-03-231-1/+2
| | | | | Replaced all usaged of device handle with apropriate typedef Assignment device handle to uint32_t leads to integer overflow
* Fix issues after rebaseAndriy Byzhynar2018-01-181-1/+1
|
* Initial implementation of resumption during switchingAndrey Oleynik (GitHub)2018-01-181-0/+23
|
* Removes 'device rank' supportAndrey Oleynik2017-08-211-2/+0
|
* Implementation of Remote Control pluginAlexander Kutsan2017-08-161-1/+10
| | | | | | Stype changes after integration Fix policy handler remote unit tests
* Add Navi.SetVideoConfig request and responseSho Amano2017-08-111-0/+4
|
* Fix Policy Update flow for EXTERNAL_PROPRIETARYAlex Kutsan2017-05-171-1/+0
|
* Adds 'externalConsentStatus' to GetListOfPermissions responseIvo Stoilov (GitHub)2017-05-171-0/+1
|
* Add functionality for External UCSokozlovlux2017-05-171-0/+12
| | | | | | | | | | | - added functionality for External UCS: ON by the User - added UTs for policices External UCS: ON by the User - added perstistence for external user consent status received from system Fix issuies for HTTP and PROPRIETARY mode in mock policy handler - fixed issues in mock policy handler - fix coding style
* Merge release to developAlex Kutsan2017-01-271-1/+4
|\
| * Use secconds against ms in RPCsAlex Kutsan2017-01-131-1/+1
| | | | | | | | Related issue : APPLINK-31433
| * Fix usages of policy in codeAlexander Kutsan2016-12-051-0/+3
| |
* | Merge pull request #1234 from pold500/feature/app_manager_impl_testsAlexander Kutsan (GitHub)2017-01-261-2/+4
|\ \ | | | | | | Moved application manager implementation tests
| * | Add mock functions for app_manager_impl testsPDmytriiev2017-01-261-2/+4
| |/ | | | | | | | | | | | | Added: - New mock method for CreateDeviceListSO call with 3 parameters into mock_message_helper.h - CreateDeviceListSO method mock implementation into mock_message_helper.cc - New header file mock_hmi_message_handler, which is a mock class for HMIMessageHandler class
* | Update all header-guards in projectIvo Stoilov (GitHub)2017-01-251-3/+3
|/ | | | Related tasks APPLINK-30588 APPLINK-30974
* Remove redundant aliases to smart_objects namespaceSergey Levchenko (GitHub)2016-11-101-1/+1
| | | | Related to: APPLINK-29754
* Move unit tests for mobile commands in release/4.2.0Levchenko2016-08-231-3/+0
| | | | | | | - moved UT for mobile commands in release/4.2.0 - added some unit tests for mobile commands Related to APPLINK-20925
* Create tools to test commandsLevchenko2016-08-231-1/+78
| | | | | | | | | | | | | | | | | | | Been done: - Added specific abstract classes for commands testing (CommandsTest and CommandRequestTest); - Been added unit tests for base command classes (CommandImpl, CommandRequestImpl, CommandResponseImpl); - Been added unit tests for next mobile response commands: - ListFilesResponse - ReadDIDResponse - AlertManeuverResponse - AlertResponse - SubscribeButtonResponse Related to: APPLINK-24911
* Code style format with clang-formatKozoriz2016-04-251-32/+37
|
* Correctives after reviewKozoriz2016-04-251-2/+1
|
* ApplicationManager tests correctives after removing all singletonsKozoriz2016-04-251-66/+80
|
* ApplicationManager tests correctivesKozoriz2016-03-311-0/+156
After singletones removing