summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* persistence_client_library_benchmark.c:Oscar Andreasson2018-03-151-1/+1
| | | | | | | Fix compilation on 32-bit cpu's, long long and long are different datatypes on 32-bit but not 64-bit cpu's. Signed-off-by: Oscar Andreasson <oscar.andreasson@pelagicore.com>
* pcl_test: Fix memset callsOscar Andreasson2018-01-181-38/+38
| | | | | | | | The length parameter was improperly initialized writing only partially to some of the memset target variables. This caused build errors with newer gcc versions. Signed-off-by: Oscar Andreasson <oscar.andreasson@pelagicore.com>
* Merge pull request #8 from tolkien-joh/masterIngo Huerner2017-07-101-3/+4
|\ | | | | fix error on compiling meta-ivi 12.0 for qemux86, vexpressa9
| * fix error on compiling meta-ivi 12.0 for qemux86, vexpressa9Yong-iL Joh2017-04-191-3/+4
| | | | | | | | | | | | | | | | | persistence_client_library_benchmark.c:86:23: error: conversion to 'long int' from 'long long int' may alter its value [-Werror=conversion] | durationInit += getNsDuration(&initStart, &initEnd); | ^~~~~~~~~~~~~ Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
* | Make test data directory (localestatedir) variableIngo Huerner2017-06-022-2/+2
| |
* | Added test to verify restared crashed application is able to access data in ↵Ingo Huerner2017-06-012-19/+456
| | | | | | | | cache again
* | Check return value when registering to PAS, pclInitLibrary returns now an ↵Ingo Huerner2017-05-233-23/+135
| | | | | | | | error code if PAS register fails
* | Fixed findings from static code analysisIngo Huerner2017-05-222-38/+69
| |
* | Added environment checker to tests in order to detect insufficient ↵Ingo Huerner2017-04-194-9/+294
|/ | | | persistence setup
* Corrected argument type for LifecycleRequestComplete message; extended ↵Ingo Huerner2017-04-051-11/+70
| | | | checkLocalArtefacts function; makeShmName function adjusted
* Improved backup and recovery for file APIIngo Huerner2017-03-091-21/+398
|
* Added pclCustomLibConfigFileTest.cfg.in config file for tests.Ingo Huerner2017-03-074-19/+672
| | | | | | Removed in pclCustomLibConfigFile.cfg.in entries for test plugins. Replaced sync call by syncfs (process_prepare_shutdown function). Removed some unnecessary close calls (findings static code analysis tool).
* Fix typoGianpaolo Macario2017-02-171-4/+4
| | | | Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
* Skip testcases MultiThreadedRead, MultiThreadedWriteGianpaolo Macario2017-02-171-0/+9
| | | | | | Reference: [BASE-37] Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
* Moved closing of open handles from pclDeinit function into mainloop.Ingo Huerner2017-02-171-86/+113
| | | | Deinit function just sends a message to mailoop to close handles.
* Merge branch 'master' of https://github.com/GENIVI/persistence-client-libraryIngo Huerner2017-02-161-1/+1
|\
| * test/Makefile.am: Add -Og option if DEBUGGianpaolo Macario2017-02-131-1/+1
| | | | | | | | Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
| * test: Fix AM_CFLAGS in Makefile.amGianpaolo Macario2017-02-131-1/+1
| | | | | | | | | | | | Option "-g" was missing when DEBUG is on. Fixed Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>
* | Replaced file handle array by simple linked listIngo Huerner2017-02-161-24/+330
|/
* Fixed a array out of bounds access (results in mutex deadlock).Ingo Huerner2017-02-103-111/+647
| | | | | | Improved mutex handling. Removed valgrind warning GENIVI JIRA issue PCL-3. Delete remaining semaphores and shared memory in case of app crash.
* Added ownership configuration JSON file to test data tar file; NOTE: You ↵Ingo Huerner2017-02-061-0/+0
| | | | need to be root ńow when running the tests
* Make usage of plugins more robust (Nullpointer check); Added creation of ↵Ingo Huerner2017-01-273-7/+146
| | | | test log file for file API tests
* Added DLT log message for every API callIngo Huerner2017-01-037-1538/+1683
| | | | | New compiler flags Splitted tests in key and file api tests, make multi thread tests work again
* Added multi thread read/write testIngo Huerner2016-11-031-9/+248
|
* Removed obsolete testsIngo Huerner2016-03-305-1403/+1
|
* Added timeout to each testIngo Huerner2015-08-241-24/+29
|
* Corrected shared data testIngo Huerner2015-08-102-2/+4
|
* Extended tests for writing shared dataIngo Huerner2015-07-222-5/+81
|
* Fixed build issue in testsIngo Huerner2015-03-311-0/+2
|
* remove dlt directory from #includeFrederik Sdun2015-03-311-2/+2
|
* fix out-of-tree buildFrederik Sdun2015-03-311-4/+4
|
* Increased code coverage; removed obsolete codeIngo Huerner2015-03-271-18/+147
|
* Fixed a problem with file handle treeIngo Huerner2015-03-172-0/+117
|
* Some optimization; fixed a problem with unregister/register notificationsIngo Huerner2015-02-101-0/+9
|
* Added test case; removed setting of dlt log levelIngo Huerner2015-02-031-9/+102
|
* Update after static code analysis (Coverity ↵Ingo Huerner2015-01-221-0/+3
| | | | https://scan.coverity.com/projects/301)
* Minor changes after code review; replaced static arrays for handles by a treeIngo Huerner2015-01-224-20/+8
|
* Update after GENIVI code reviewIngo Huerner2015-01-151-0/+0
|
* Removed compiler warnings; added check for shared data if application is ↵Ingo Huerner2015-01-083-7/+54
| | | | allowed to modify
* Removed compiler warnings and obsolete filesIngo Huerner2015-01-076-1360/+68
|
* Improved testsIngo Huerner2014-12-111-4/+23
|
* Rework of DLT messagesIngo Huerner2014-12-041-1/+0
|
* Fixed a problem when running the tests the first time after test data has ↵Ingo Huerner2014-12-041-4/+4
| | | | been created
* Implemented write configurable default data for filesIngo Huerner2014-11-291-11/+24
|
* Updated benchmarkIngo Huerner2014-11-291-42/+240
|
* Implemented missing handling of configurable default data for filesIngo Huerner2014-11-282-2/+49
|
* implemented write to configurable default data; added defines to pcl header ↵Ingo Huerner2014-11-284-305/+471
| | | | for writing node and configurable default data
* Disable appcheck test if appcheck is disabledIngo Huerner2014-11-111-3/+6
|
* Rework of application security check; if a not trusted application tries to ↵Ingo Huerner2014-11-071-9/+97
| | | | access persistent data, the error code EPERS_SHUTDOWN_NO_TRUSTED will be returned
* Fixed bug 292 and bug 294Ingo Huerner2014-11-031-0/+0
|