summaryrefslogtreecommitdiff
path: root/src/tests/ecore_cxx (follow)
AgeCommit message (Collapse)Author
2019-07-12cxx: remove compilation warnings in C++ code, from both gcc and clangVitor Sousa
Summary: Remove almost all the compilation warnings from C++ code. Only explicit warnings using the `#warning` preprocessor directive remain. Some warnings had to be suppressed with `#pragma` directives because the behavior they were warning about is intended in some specific places. Code comments were added in such situations. Added a generator that creates `#pragma` directives in order to suppress warnings in all generated C++ headers. Currently `-Wignored-qualifiers` is the only warning category being suppressed. The innocuous const qualifiers that it points are inoffensive and have no effect in compilation at all. They are also hard to track in generation since they can emerge from different types in many places. To ease the generation of the warning suppressors an utility constructor was added to `efl::eolian::grammar::attributes::unused_type`. Add constructors to `eolian_mono::class_context` to default initialize its internal string and avoid field initialization warnings. Test Plan: `meson test` Reviewers: lauromoura, felipealmeida, zmike, segfaultxavi Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl_language_bindings Differential Revision: https://phab.enlightenment.org/D9275
2019-05-15meson: enforce 61s timeout for tests, remove explicit timeouts from build filesMike Blumenkrantz
unit tests automatically abort with info after 60s, and tests should be run with an appropriate timeout to avoid conflict with the test runner's default 30s timeout set explicit timeout in eio test for now because there's still frequent bugs here Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8894
2018-10-24meson: here comes cxx bindingsMarcel Hollerbach
this commits is bringing cxx bindings. You can enable / disable them with the cxx option. Differential Revision: https://phab.enlightenment.org/D7181
2018-10-18Revert "meson: add cxx bindings"Marcel Hollerbach
This reverts commit 5aaf2cbb5defd64a2048fe90e80004d435bbca1a. The cxx bindings were accidently merged. Things are missing (like .eot.h files)
2018-10-18meson: add cxx bindingsMarcel Hollerbach
this commit adds cxx bindings to meson. Differential Revision: https://phab.enlightenment.org/D7169
2018-06-22tests: Use EFL_START/END_TEST in cxx testsLauro Moura
Summary: Will enable timing info in these tests. Test Plan: run make check Reviewers: zmike, felipealmeida, devilhorns Subscribers: cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6359
2018-04-05tests: move bindings tests to using checked fixtures too.Mike Blumenkrantz
T6862 T6811 Reviewed-by: Cedric BAIL <cedric@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>
2016-09-05cxx: follow EINA_ERROR_OUT_OF_MEMORY deprecationStefan Schmidt
Follow the rest of efl and use ENOMEM from now on. This avoids ugly deprecation warnings.
2016-03-02tests cxx: remove superfluous output to stdoutStefan Schmidt
These outputs are not giving any more information besides what we already get: Ecore C++ headers compilePASS: tests/ecore_cxx/cxx_compile_test (Ignoring the problem with the newline) The test name tells it all and we are just filling the log.
2016-02-16Test rework #3: Ecore_CxxVincent Torri
2015-01-30check: fix tests suites on Windowsmichelle legrand
Disable timeout because we cannot fork on Windows. @fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-07-18tests: Added config.h to tests.Savio Sena
2014-05-03eolian_cxx: initial version of the EFL C++ Bindings Generator.Savio Sena
Summary: This patch adds 'eolian_cxx' -- a C++ bindings generator -- to the EFL tree. Eolian Cxx uses Eolian API to read .eo files and generate .eo.hh. It relies/depends on Eo Cxx and Eina Cxx (both non-generated bindings). src/bin/eolian_cxx: The eolian_cxx program. src/lib/eolian_cxx: A header-only library that implements the C++ code generation that binds the .eo classes. =Examples= src/examples/eolian_cxx/eolian_cxx_simple_01.cc: The simplest example, it just uses some "dummy" generated C++ classes. src/examples/eolian_cxx/eolian_cxx_inherit_01.cc: Illustrates how pure C++ classes inherit from .eo generated classes. src/examples/evas/evas_cxx_rectangle.cc: More realistic example using the generated bindings Evas Cxx. Still a bit shallow because we don't have full fledged .eo descriptions yet, but will be improved. =Important= The generated code is not supported and not a stable API/ABI. It is here to gather people interest and get review before we set things in stone for release 1.11. @feature Reviewers: cedric, smohanty, raster, stefan_schmidt CC: felipealmeida, JackDanielZ, cedric, stefan Differential Revision: https://phab.enlightenment.org/D805 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-03-07ecore-cxx: add support for exceptions.Felipe Magno de Almeida
Summary: Added support for exceptions on ecore_main_loop_thread_safe_call_async and ecore_main_loop_thread_safe_call_sync. Also optimized the transport of the return value through a parameter on ecore_main_loop_thread_safe_call_sync. ecore-cxx: Changed uses of alignas for aligned_storage in C++11 Reviewers: cedric, raster CC: savio, cedric Differential Revision: https://phab.enlightenment.org/D593 Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-02-26ecore_cxx: add main_loop_thread_safe_call_sync and ↵Felipe Magno de Almeida
main_loop_thread_safe_call_async with tests The point of this binding is to enable the support for easy lambda for ecore function that wont be using Eo. See the tests on how to use those. Reviewers: cedric, raster CC: savio, cedric Differential Revision: https://phab.enlightenment.org/D582 Signed-off-by: Cedric Bail <cedric.bail@free.fr>