Top | ![]() |
![]() |
![]() |
![]() |
This mocks up a ‘thin’ persona which implements none of the available property interfaces provided by libfolks, and is designed as a base class to be subclassed by personas which will implement one or more of these interfaces. For example, FolksDummyFullPersona is one such subclass which implements all available interfaces.
There are two sides to this class’ interface: the normal methods required by FolksPersona, such as
, and the backend methods which should be called by test driver code to simulate changes in the backing store providing this persona, such as folks_persona_linkable_property_to_links()
. The folks_dummy_persona_update_writeable_properties()
update_
, register_
and unregister_
prefixes are commonly used for backend methods.
All property changes for contact details of subclasses of FolksDummyPersona have a configurable delay before taking effect, which can be controlled by "property-change-delay".
The API in FolksDummy is unstable and may change wildly. It is designed mostly for use by libfolks unit tests.