Make expected result of cynara client check default
[platform/core/test/security-tests.git] / tests / cynara-tests / common / cynara_test_client.h
1 #ifndef CYNARA_TEST_CLIENT_H
2 #define CYNARA_TEST_CLIENT_H
3
4 #include <cynara-client.h>
5
6 class CynaraTestClient
7 {
8 public:
9     CynaraTestClient();
10     virtual ~CynaraTestClient();
11
12     void check(const char *client, const char *session,
13                const char *user, const char *privilege,
14                int expectedResult = CYNARA_API_SUCCESS);
15
16 private:
17     struct cynara *m_cynara;
18 };
19
20 #endif // CYNARA_TEST_CLIENT_H