History log of /sssd-io/src/tests/cmocka/common_mock_sdap.c
Revision Date Author Comments Expand
d2633d922eeed68f92be4248b9172b928c189920 25-Apr-2018 Jakub Hrozek <jhrozek@redhat.com>

LDAP: Augment the sdap_opts structure with a data provider pointer In order to be able to use the Data Provider methods from the SDAP code to e.g. invalidate memcache when needed, add a new field to the sdap_options structure with the data_provider structure pointer. Fill the pointer value for all LDAP-based providers. Related: https://pagure.io/SSSD/sssd/issue/2653 Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>

78fb1789e8a5c2c7c51ad9002bbbdf0a1e390bdf 14-Jun-2015 Jakub Hrozek <jhrozek@redhat.com>

TESTS: Move krb5_try_kdcip to nested group test Avoids duplicate errors during linking. Reviewed-by: Sumit Bose <sbose@redhat.com>

28600ab8d160faa24aae379628dd8a58f50d13c6 14-Jun-2015 Jakub Hrozek <jhrozek@redhat.com>

TESTS: Add a common function to set up sdap_id_ctx Reduces code duplication between tests. Reviewed-by: Sumit Bose <sbose@redhat.com>

be73b26325bbd9c5a9bf34a32acfdf9b15bda531 30-Jan-2015 Lukas Slebodnik <lslebodn@redhat.com>

TESTS: Mock return value of sdap_get_generic_recv Reviewed-by: Pavel Reichl <preichl@redhat.com>

132d6228d981436c5e1ca3ddf486f95ac77e46b6 01-Jul-2014 Jakub Hrozek <jhrozek@redhat.com>

TESTS: Do not require replies from mocked sdap_get_generic_recv to be talloc contexts While it's beneficial for the real implementation of sdap_get_generic_recv() to move memory around, the mocked implementation can just pass around pointer. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

3f32406640d89face5e79244b4d8dab34adb6c7c 18-Feb-2014 Pavel Březina <pbrezina@redhat.com>

tests: mock SDAP Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>