summaryrefslogtreecommitdiff
path: root/AudioManagerCore/test
Commit message (Collapse)AuthorAgeFilesLines
* AM-Test: Adjust expectation in test cases connectionIDBoundary and ↵EarlyAudioMartin Koch2020-07-011-6/+8
| | | | | | mainConnectionIDBoundary from CAmMapHandlerTest Signed-off-by: Martin Koch <martin.koch@ese.de>
* AM-Test: add test cases for registerEarlyConnection() and transferConnection()Martin Koch2020-07-013-0/+128
| | | | Signed-off-by: Martin Koch <martin.koch@ese.de>
* Merge pull request #48 from GENIVI/LoggingArchitectureMartin Koch2020-02-106-13/+15
|\ | | | | AM-Utils: Introduce new logging architecture, providing a common DLT-independant wrapper for the 3 logging channels (DLT, file and stdout)
| * AM: Reorganize daemon, core, utilities and tests to make use of the new ↵Martin Koch2020-01-146-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | logging architecture. - Known side-effect: CAmSerializer.h and TAmPluginTemplate.h no longer indirectly include dlt_user.h. Thus macros like DLT_DECLARE_CONTEXT and DLT_IMPORT_CONTEXT may be undefined in application code unless CAmDltWrapper.h or dlt_user.h is included explicitly. - Since the DLT functionality is now encapsulated inside a dedicated class, such declaration is usually superfluous and can be dropped. Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* | AM: add plural form of setSystemProperties for global configuration ↵Martin Koch2020-01-174-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | attributes to command and control interface - implement plural form of requests and acknowledgments in core - provide empty default implementations in interfaces to ensure backward compatibility with older plugins - accommodate extension in module tests Main purpose of this extension is to allow for one-shot (uninterrupted), consistent change of multiple, possibly interrelated configuration attributes. Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* | AM: add plural form of set...SoundProperties for sources and sinks to ↵Martin Koch2020-01-174-0/+16
|/ | | | | | | | | | | | | command and control interface - implement plural form of requests and acknowledgments in core - provide empty default implementations in interfaces to ensure backward compatibility with older plugins - accommodate extensions in module tests - leave existing singular form untouched Main purpose of this extension is to allow for one-shot (uninterrupted), consistent change of multiple, possibly interrelated sound properties. Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
* AM-Test: drop accidentally pushed backup file: ↵Martin Koch2019-10-161-48/+0
| | | | AudioManagerCore/test/AmRoutingInterfaceTest/CMakeLists.txt~
* Notifying observers of sound properties only by value changes.genivi_impJacqueline Molz2018-08-221-252/+289
| | | | | | | | | Fix infinite loop in CAmDltWrapper by logging out enum values exceeding the boundaries. Minor changes: Pull request 36 changed implementation to database macros (review comments) added option "WITH_DATABASE_CHANGE_CHECK" to audiomanagerconfig.h.in whitespace cleanup in test/AmMapHandlerTest/CAmMapHandlerTest.cpp additional cast to uint in DB_UPDATE call in function removeMainConnectionDB to solve error in macro expansion
* The primary signals SIGINT and SIGQUIT are handled on top level inAleksandar Donchev2017-07-105-0/+5
| | | | | | | | | contrast to secondary signals SIGHUP, SIGTERM, SIGCHLD, which are handled in the SocketHandler. Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c5d3c436ac9fcd61c76a26145c731b427cab1e6
* Signal handling via main loop with signalfd.Aleksandar Donchev2017-05-022-2/+3
| | | | | Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I8c4c2c436ac9fcd61c76a21145c731f327cab0c1
* * if needed the routing graph will be re-created from getRoute after aRouter_adaptionsAleksandar Donchev2017-02-202-1560/+1611
| | | | | database change has been observed. Signed-off-by: Christian Linke <christian.linke@bmw.de>
* handle overflow of handles correctlyChristian Linke2017-02-201-0/+97
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * many database observers can be registred now by the database handler.Aleksandar Donchev2017-02-2014-218/+377
| | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * CAmRouterTest adoptions.Aleksandar Donchev2017-02-201-4/+4
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Max count of the returned routes tweaked up.Aleksandar Donchev2017-02-202-42/+45
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* * Max count of the returned routes and max allowed domain cyclesAleksandar Donchev2017-02-202-66/+215
| | | | Signed-off-by: Christian Linke <christian.linke@bmw.de>
* Return all routes with all possible connection formatsChristian Linke2017-02-201-30/+121
| | | | | | | Removed obsolete sqlite interface handling Signed-off-by: Christian Linke <christian.linke@bmw.de> Change-Id: I380f6d4ce1dab2efa47620164e72a30fa144afdd
* AMCore: Fix deamon to update interrupt state of source.Jens Lorenz2016-11-252-0/+37
| | | | Signed-off-by: Toshiaki Isogai <tisogai@jp.adit-jv.com>
* AudioManagerUtilities: use LINK_DIRECTORIESMathieu Duponchelle2016-11-141-0/+2
| | | | | | | | | | | | The -L flags were not retrieved from pkg_check_modules, except for automotive-dlt, where LDFLAGS was added to the LIBS variable, which was then passed to TARGET_LINK_LIBRARIES. This led to compile-time errors when compiling in a custom prefix. We also propagate the LIB_DIRECTORIES and use them in AmControlInterfaceTest and AudioManagerDaemon.
* remove telnet server from AudiomanagerChristian as GENIVI Maintainer2016-10-184-368/+0
| | | Signed-off-by: Christian as GENIVI Maintainer <genivi-maint-audiomanager@genivi.org>
* some test fixesChristian Linke2016-08-301-64/+0
| | | | Change-Id: I22ea9682756dd36f6442241951ec6678f3c3f7ae
* some updates of the fixChristian Linke2016-06-215-5/+5
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* cleanup routing interface to add clean abort and resend possibilities7.5Christian Linke2016-06-173-9/+136
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* Remove assert from database and replace by error handlingChristian Linke2016-04-118-150/+576
| | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* some cleanupChristian Linke2016-03-099-154/+12
| | | | Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
* fixed pc filesChristian Linke2016-02-221-1/+1
|
* reworked DltWrapper. fixed gtest and gmock.pc filesChristian Linke2016-02-177-17/+18
|
* * rework of the build structure, adopt to standard cmake package structure7.4Christian Linke2016-02-1535-0/+12017
* check versions when loading the libs * introduction of the AudioManagerCore * give control plugin as file or directory * remove SQLITE * either find and use gmock or build and install it * fixed [Bug 411] * compile flag gnu11 is now used Signed-off-by: Christian Linke <Christian.Linke@bmw.de> Signed-off-by: Christian Linke <Christian.Linke@bmw.de>