diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-08 10:34:07 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-08 16:26:38 +0100 |
commit | 3ac6cf5ffae2247719730f328d1363c498e4ee83 (patch) | |
tree | dbef67a345ec412c58eff6275111df29de7fa742 /tests/teststore.h | |
parent | e6f83f7b5af1ed3467d12f551fb7401238b7855e (diff) | |
download | kube-3ac6cf5ffae2247719730f328d1363c498e4ee83.tar.gz kube-3ac6cf5ffae2247719730f328d1363c498e4ee83.zip |
Dynamically setup initial test state
Diffstat (limited to 'tests/teststore.h')
-rw-r--r-- | tests/teststore.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/teststore.h b/tests/teststore.h new file mode 100644 index 00000000..f0578ca5 --- /dev/null +++ b/tests/teststore.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | Copyright (c) 2018 Christian Mollekopf <mollekopf@kolabsys.com> | ||
3 | |||
4 | This library is free software; you can redistribute it and/or modify it | ||
5 | under the terms of the GNU Library General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or (at your | ||
7 | option) any later version. | ||
8 | |||
9 | This library is distributed in the hope that it will be useful, but WITHOUT | ||
10 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
11 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | ||
12 | License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU Library General Public License | ||
15 | along with this library; see the file COPYING.LIB. If not, write to the | ||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
17 | 02110-1301, USA. | ||
18 | */ | ||
19 | #pragma once | ||
20 | |||
21 | #include <QObject> | ||
22 | |||
23 | namespace Kube { | ||
24 | |||
25 | class TestStore : public QObject { | ||
26 | Q_OBJECT | ||
27 | public: | ||
28 | Q_INVOKABLE void setup(const QVariantMap &); | ||
29 | }; | ||
30 | |||
31 | } | ||