sangelovic
1d44d8b37f
Add loops in stress tests to test adaptor/proxy initialization/deinitialization
2019-04-13 21:28:43 +02:00
sangelovic
e3a74a3ff2
Add unregister function to IObject and IProxy API
2019-04-13 21:17:37 +02:00
sangelovic
99160156fe
Fix all gcc warnings
2019-04-12 22:39:14 +02:00
sangelovic
ee30375cfc
Use official release of googletest (v1.8.1) rather than master
2019-04-12 21:42:33 +02:00
sangelovic
06ca6539f3
Make sure googletest is always built as a static lib and never installed as part of sdbus-c++
2019-04-12 21:30:07 +02:00
sangelovic
93b6e5237a
Clean up some names (rename classes, methods, files)
...
* ConvenienceClasses.h/.inl/.cpp -> ConvenienceApiClasses.h/.inl/.cpp
* IObjectProxy class -> IProxy
* Interfaces class -> AdaptorInterfaces
* Interfaces.h -> split into AdaptorInterfaces.h and ProxyInterfaces.h
* createObjectProxy() method -> createProxy()
2019-04-09 21:28:07 +02:00
sangelovic
f5da0dabcb
Fix race condition between worker threads and adaptor destructor in stress tests
2019-04-08 21:16:32 +02:00
sangelovic
c9ef1849cd
Add two missing headers in test/CMakeLists.txt
2019-04-07 21:16:47 +02:00
Stanislav Angelovic
d154022205
Extend stress tests with dynamic object creation and destruction in multiple threads
2019-04-04 20:39:31 +02:00
Stanislav Angelovic
63637b639f
Make CMakeLists.txt cleaner and more flexible
2019-03-28 18:47:49 +01:00
Stanislav Angelovic
fc60700e1b
Rename test executables for consistency
2019-03-28 18:25:31 +01:00
Stanislav Angelovic
1c4abab3e4
Remove executable bit erroneously set on source files
2019-03-27 17:53:31 +01:00
Stanislav Angelovic
6f79c5bf14
Add stress tests for sdbus-c++
2019-03-26 08:59:50 +01:00
Stanislav Angelovic
7c968e78cb
Fix missing <algorithm> include for std::generate_n in performance tests
2019-03-25 20:30:37 +01:00
Stanislav Angelovič
fd7be39dd4
Re-design sdbus-c++ approach to connections ( #47 )
...
Fixes #33 , among others
2019-03-25 16:28:31 +01:00
Stanislav Angelovic
26c6ea8730
Fix gcc 6.3 issue in Connection unit test
2019-03-25 16:08:43 +01:00
Stanislav Angelovič
663df31398
Introduce support for asynchronous D-Bus method calls on the client side ( #42 )
...
Fixes #32
2019-03-25 14:45:48 +01:00
sangelovic
ab407aa8c8
Fix interface names and object paths in integration tests
2019-03-24 20:18:29 +01:00
sangelovic
bb2bf5811b
Add SdBus interface to proper namespace
2019-03-20 18:52:05 +01:00
sangelovic
b9ce1ca3ce
Remove unnecessary copy-construction when making SdBus
2019-03-18 21:28:17 +01:00
Stanislav Angelovič
850e211dca
Merge pull request #39 from ardazishvili/testing
...
Add separation layer from sd-bus to improve isolation in unit testing
2019-03-18 21:05:07 +01:00
ardazishvili
2b83d7ca2d
Mock sdbus lib, add unit tests of Connection class.
...
Introduce mock of sdbus library through extracting its interface. Set up unit tests of Connection class through injection of sdbusMock to constructor. Clients of Connections class should use fabrics instead.
2019-03-17 18:02:47 +03:00
Stanislav Angelovič
a6d0b62ff5
Add sdbus-c++ performance tests ( #41 )
...
* Introduce simple method call and signal-based manual performance tests
* Put perftests in proper place
* Remove unnecessary CMakeLists file
2019-03-15 11:34:25 +01:00
sangelovic
b813680192
Allow ObjectPath and Signature be created from std::string
2019-02-19 08:57:24 +01:00
Stanislav Angelovic
d957948274
Transform constexpr member to a getter method because of different odr-usage rules in different compilers
2019-01-16 19:58:26 +01:00
Stanislav Angelovič
9c0e98c580
Introduce support for some common D-Bus annotations ( #30 )
...
* Add ability to declare property behavior on PropertyChanged signal
* Add support for Method.NoReply annotation (WIP)
* Add support for common annotations/flags
2019-01-10 08:47:59 +01:00
Stanislav Angelovič
a6bb8c070e
Switch from autotools to CMake build system ( #23 )
...
* Switch from autotools to CMake
* CMake: require at least cmake 3.8
* cmake: updates for tests
2018-09-26 09:28:10 +02:00
Stanislav Angelovič
d3d698f02a
Fix CPU hog on async methods: Clear the event descriptor by reading from it ( #16 )
2018-07-24 12:54:31 +02:00
Stanislav Angelovič
d8fd053714
Introduce support for asynchronous server-side methods ( #12 )
...
* Add preliminary changes for async server methods
* Refactor the Message concept and break it into distinctive types
* Continue working on async server methods (high-level API mainly)
* Continue developing support for async server
* Finishing async server methods
* Finishing async server methods (fixing tests & cleaning up)
* A little code cleaning
* Add unit tests for type traits of free functions
* Support for generating async server methods in stub headers
* Update ChangeLog for v0.3.0
* Update the tutorial with how to use async server-side methods
* Update the TOC in sdbus-c++ tutorial
* Update numbering in TOC
* Remove unnecessary code
* Final cleanups
2018-07-02 11:22:00 +02:00
Stanislav Angelovic
fd3799dbc3
Fix sdbus::Struct initialization problem in newer compilers - use make_struct
2018-06-06 11:49:02 +02:00
Viliam Lejcik
f559fc0663
Added a test case that fails to compile with clang
2017-12-18 19:15:40 +01:00
Stanislav Angelovic
35f725a053
Introduce sdbus-c++ v0.2.3
2017-11-27 14:13:55 +01:00