summaryrefslogtreecommitdiff
path: root/src/tests/eina/eina_test_value.c (follow)
AgeCommit message (Collapse)Author
2019-10-15tests/eina: fix assign when compare was intendedMike Blumenkrantz
Summary: CID 1400858 Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10396
2019-05-13eina - value - test - cats warnings on 32bit to get some silenceCarsten Haitzler (Rasterman)
longs will be truncated on 32bit in these tests so be explicit to not have warinings. note - eina value tests are broken on 32bit anyway already - the conversions to/from long types are broken and fail. this doesn't fix that.
2019-01-23eina: add tests for the new Eina_Value convert functions.Cedric BAIL
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7651
2019-01-23eina: add tests for Eina_Value utility function eina_value_*_get.Cedric BAIL
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7649
2018-04-05tests: move to using checked fixtures for all test suitesMike Blumenkrantz
individual tests should not need to explicitly call init/shutdown functions in most cases, and many did not properly do this anyway see followup commit which resolves some issues with eina tests ref T6813 ref T6811 Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-04-05tests: add instrumentation to existing tests to find slow testsMike Blumenkrantz
efl_check.h must be included and the EFL_START/END_TEST macros must be used in place of normal START/END_TEST macros timing is enabled when TIMING_ENABLED is set https://phab.enlightenment.org/w/improve_tests/ Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2017-09-13eina: add tests for eina_value_to_binbuf.Cedric Bail
2017-08-23Eina_Value type EINA_value.Guilherme Iscaro
2016-11-30eina: remove tests, examples and docs for eina_modelBruno Dilly
Summary: Since eina_model was dropped some years ago. Also a few other points where related stuff is just commented out. Reviewers: iscaro, barbieri Reviewed By: barbieri Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4442
2016-04-19eina value test - gix blob check to check only relevant fieldsCarsten Haitzler (Rasterman)
the value check for blobs was checking unused fields in a union and thats just bad. check only fields that matter to the blob. @fix
2016-02-16Test rework #10: EinaVincent Torri
mainly minor stuff: whitespaces, order of includes, ... Just don't fear the number of changed files :-)
2015-12-10eina: add EINA_VALUE_TYPE_OPTIONAL, a single-element container that can be ↵Felipe Magno de Almeida
empty. Eina Value Optional can be used to create a eina value that can be set or be empty and can be embedded in a eina_value_struct. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05eina: memcmp can't be used to compare timeval due to potential padding on ↵pierre lamot
64bit architecture. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-30eina: fix tests suites for Windows to have a predictable result.michelle legrand
@fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-10-23Eina Test : Added test case for convert float in eina_test_valuekabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric, devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1567
2013-11-12eina: adjust precision for all our targeted convertion.Cedric Bail
2013-07-18eina: add Eina_Value tests convert from short, int.Vladislav Brovko
2013-03-25eina: improve Eina_Value coverage.Valerii Kanunik
Added test 1: eina_value_test_convert_long. Added test 2: eina_value_test_convert_ulong. Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-21Eina tests: Fixed warnings with clang.Tom Hacohen
Clang doesn't appreciate passing 'char' to %hdd, although they are the right size. So change to %d and cast to 'int' before passing it.
2013-01-17god... it was using localtime, so should we when we test.Gustavo Sverzut Barbieri
SVN revision: 82950
2013-01-17eina/tests: fix and improve eina value tests.Gustavo Sverzut Barbieri
improve: use ck_assert_str_eq() instead of fail_unless(strcmp() == 0), it's shorter and will print a proper error message on failure. fix: timeval changed from seconds to asctime(), cope with that. fix: hash tests now search for substrings and thus are not prone to algorithm changes. the format is pretty simple to avoid false results. SVN revision: 82945
2012-09-16merge : add einaVincent Torri
currently, examples, tests and benchmark are not set. That's the next things i'll do SVN revision: 76710