c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen/*
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen Authors:
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen Pavel Reichl <preichl@redhat.com>
e34d170f8f0e084bd94bfbc1a7085ece67e508dfTimo Sirainen
e34d170f8f0e084bd94bfbc1a7085ece67e508dfTimo Sirainen Copyright (C) 2015 Red Hat
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen SSSD tests: Tests for password expiration related functionality
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen This program is free software; you can redistribute it and/or modify
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen it under the terms of the GNU General Public License as published by
88c2db95c4a0f8f7986a63cd57cf4b6850d76543Timo Sirainen the Free Software Foundation; either version 3 of the License, or
88c2db95c4a0f8f7986a63cd57cf4b6850d76543Timo Sirainen (at your option) any later version.
88c2db95c4a0f8f7986a63cd57cf4b6850d76543Timo Sirainen
88c2db95c4a0f8f7986a63cd57cf4b6850d76543Timo Sirainen This program is distributed in the hope that it will be useful,
88c2db95c4a0f8f7986a63cd57cf4b6850d76543Timo Sirainen but WITHOUT ANY WARRANTY; without even the implied warranty of
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen GNU General Public License for more details.
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen You should have received a copy of the GNU General Public License
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4Timo Sirainen along with this program. If not, see <http://www.gnu.org/licenses/>.
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4Timo Sirainen*/
c7480644202e5451fbed448508ea29a25cffc99cTimo Sirainen
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen#ifndef __TEST_EXPIRE_COMMON_H
#define __TEST_EXPIRE_COMMON_H
struct expire_test_ctx
{
char *past_time;
char *future_time;
char *invalid_format;
char *invalid_longer_format;
};
int expire_test_setup(void **state);
int expire_test_teardown(void **state);
void expire_test_tz(const char* tz, void (*f)(void*, void*), void *in,
void *_out);
#endif /* __TEST_EXPIRE_COMMON_H */