History log of /openbmc/boost-dbus/test/ (Results 1 – 25 of 25)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a909a82204-Oct-2017 Ed Tanous <ed.tanous@intel.com>

Write unit test for GetAll interface

Change-Id: I90e6b8c23af11080b813de008f03bc49aacb315b

a8b4eac421-Sep-2017 Ed Tanous <ed.tanous@intel.com>

updates to boost-dbus

Change-Id: I613cae49467eabebb5380ed457003f2f90bad880

e62be32908-Sep-2017 Ed Tanous <ed.tanous@intel.com>

Clean up the interface for async method calls

This change implements a new interface for doing async method calls in
a way that's more sustainable than previous mechanisms. This way,
packing and un

Clean up the interface for async method calls

This change implements a new interface for doing async method calls in
a way that's more sustainable than previous mechanisms. This way,
packing and unpacking is handled for the user automatically, and the
only neccesary part is to check for errors.

Change-Id: I0292c8a9ed6256fc3f284dace10c228768a8fb80

show more ...

cae80d1c08-Sep-2017 Ed Tanous <ed.tanous@intel.com>

update all tests to use session interface instead of system

THis allows unit tests to run correctly outside of sudo permissions.
At a later date, we will need to solve the testing issue more
thourou

update all tests to use session interface instead of system

THis allows unit tests to run correctly outside of sudo permissions.
At a later date, we will need to solve the testing issue more
thouroughly.

Change-Id: I01b9f8e4a4e5213402ea52e36f63e14deab15ed5

show more ...

a04118e806-Sep-2017 Ed Tanous <ed.tanous@intel.com>

Update pack and unpack to be able to detect runtime errors

This commit makes a breaking API CHANGE! ! ! ! ! !
dbus message no longer supports streaming operators for unpacking and
packing.
This beha

Update pack and unpack to be able to detect runtime errors

This commit makes a breaking API CHANGE! ! ! ! ! !
dbus message no longer supports streaming operators for unpacking and
packing.
This behavior seemed odd in the first place, and lead to some poor API
issues. It was also redundant to the much more used messsage.pack
which had far more features, and was much more useable. message.pack
now returns a bool, indicating whether or not the unpack/pack succeeded.
properties API is also updated to use this new interface to its
advantage, allowing badly formatted pack statements (which should be
expected at runtime) to not require throwing an exception to handle.

Change-Id: I8da22e19106f3c764acfea3db13adc974aa2cb9f

show more ...

e3b0bf5b05-Sep-2017 Ed Tanous <ed.tanous@intel.com>

update properties interface to use its own method handling

This change updates the properties API handling in the DbusObjectServer
to utilize its own method handling routines, instead of setting up

update properties interface to use its own method handling

This change updates the properties API handling in the DbusObjectServer
to utilize its own method handling routines, instead of setting up its
own filter.

Change-Id: If32706d6aa9da41c39feb07513b364ae8f72d8b6

show more ...

377e76ab29-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Imrprove boost-dbus high level interfaces

This commit has been squashed fromt the dbusproperties branch, and adds
quite a few pices of functionality.

1. Template called element_signature that can s

Imrprove boost-dbus high level interfaces

This commit has been squashed fromt the dbusproperties branch, and adds
quite a few pices of functionality.

1. Template called element_signature that can sucessfully map complex
c++ types (like std::vector<std::string, variant>) to their equivalent
dbus signatures at compile time.
2. Implements a high level dbus interface that exposes properties,
objects, and interfaces as first class c++ objects, and manages their
lifecycle correctly. See unit tests for examples.
3. implements variadic template registration for lambda functions, such
that function prototypes are automatically determined at compile time,
thus removing the requirement to do this by hand for each interface.

Change-Id: I43efed4fc63f7e2d69ac85918e0f6d3011a12d86

show more ...

77e62c8325-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Fix memory leaks

Dbus wants to manage its own memory, which is difficult to coerce
with smart pointers. This patch fixes the places where the smart
objects were getting destroyed, but the dbus ref

Fix memory leaks

Dbus wants to manage its own memory, which is difficult to coerce
with smart pointers. This patch fixes the places where the smart
objects were getting destroyed, but the dbus ref count was never going to
zero

Change-Id: I47d8a58387766c376d2e3b61671b5d82977c80e0

show more ...

0250ca1907-Aug-2017 Ed Tanous <ed.tanous@intel.com>

Fix issue with boost-dbus

boost-dbus tries to use perfect forwarding to register async handlers.
This causes issues when attempting to use a lambda, as a lambda can't
be static_cast to a std::functi

Fix issue with boost-dbus

boost-dbus tries to use perfect forwarding to register async handlers.
This causes issues when attempting to use a lambda, as a lambda can't
be static_cast to a std::function, which queue requires. Remove
perfect forwarding and make the interfaces make more sense for
constructible objects

Change-Id: I154a92ef1fd3cd0d0431eb3b2fd49ef7870f5f31

show more ...

0d6f56d231-Jul-2017 Ed Tanous <ed.tanous@intel.com>

Implement variadic templates for pack/unpack

As well as update unit tests to use variadic pack and unpack.

Fix error handler to not seg fault while processing an exception

Change-Id: I7978035c2682

Implement variadic templates for pack/unpack

As well as update unit tests to use variadic pack and unpack.

Fix error handler to not seg fault while processing an exception

Change-Id: I7978035c26820b35e64487e4afd9f1312bcd8225

show more ...

47de18d405-Jul-2017 Ed Tanous <ed.tanous@intel.com>

Fix seg fault in error handling

b573e22e27-Jun-2017 Ed Tanous <ed.tanous@intel.com>

Upgrade filter and match to use shared_ptr to connection instead of raw reference

458a9c1023-Jun-2017 Vernon Mauery <vernon.mauery@intel.com>

additions to make method calls work

Add method call framework (not much needed) and a unit test for method
call implementation (i.e., listening for a method call).

5d4bd2bd27-Jun-2017 Ed Tanous <ed.tanous@intel.com>

Update dbus to support dicts/vectors/arrays and all combinations therein

82a51ce221-Jun-2017 Ed Tanous <ed.tanous@intel.com>

make changes for vernon

b6e8327a09-Jun-2017 Ed Tanous <ed.tanous@intel.com>

incremental

da3eeb6a06-Jun-2017 Ed Tanous <ed.tanous@intel.com>

Basic dbus cleanup

44d2425821-Jun-2014 Benjamin Kietzman <bengilgit@gmail.com>

Added streaming pack/unpack interface to messages

b2c2467d06-Jun-2014 Benjamin Kietzman <bengilgit@gmail.com>

Downgraded to C++03

cfc0655f04-Jun-2014 Benjamin Kietzman <bengilgit@gmail.com>

connections are private by default now

discussion in issue #18

8536259429-May-2014 Benjamin Kietzman <bkietzman@esri.com>

Added Python scripts for tests to interact with

4317e4d928-May-2014 Benjamin Kietzman <bkietzman@esri.com>

Added message factories

16d80fe928-May-2014 Benjamin Kietzman <bkietzman@esri.com>

Added endpoint - closes #17

3b5db5bc28-May-2014 Benjamin Kietzman <bkietzman@esri.com>

fix #3, minor other message enhancements

a83e595127-May-2014 Benjamin Kietzman <bengilgit@gmail.com>

Using GTest - resolves #2