tests: add qPrefFacebook testcases

add test cases to secure struct preferences and qPrefFacebook work together

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-07-23 18:14:43 +02:00 committed by Dirk Hohndel
parent f175890632
commit 4102cc755f
3 changed files with 80 additions and 0 deletions

18
tests/testqPrefFacebook.h Normal file
View file

@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TESTQPREFFACEBOOK_H
#define TESTQPREFFACEBOOK_H
#include <QObject>
class TestQPrefFacebook : public QObject
{
Q_OBJECT
private slots:
void initTestCase();
void test_struct_get();
void test_set_struct();
void test_multiple();
};
#endif // TESTQPREFFACEBOOK_H