Commit d91b48ec119dfbee3d2761d7a5d958020703c6c1
1 parent
d898efe0
Exists in
master
Teste iniciarDaemon();
Showing
2 changed files
with
7 additions
and
0 deletions
Show diff stats
cacic-teste/testcacic.cpp
@@ -247,6 +247,10 @@ void CTestCacic::testRemoveRegistry() | @@ -247,6 +247,10 @@ void CTestCacic::testRemoveRegistry() | ||
247 | confirmaTeste.sync(); | 247 | confirmaTeste.sync(); |
248 | } | 248 | } |
249 | 249 | ||
250 | +void CTestCacic::testIniciarDaemon(){ | ||
251 | + | ||
252 | +} | ||
253 | + | ||
250 | void CTestCacic::cleanupTestCase() | 254 | void CTestCacic::cleanupTestCase() |
251 | { | 255 | { |
252 | OCacic.deleteFile("configRequest.json"); | 256 | OCacic.deleteFile("configRequest.json"); |
cacic-teste/testcacic.h
@@ -16,6 +16,7 @@ | @@ -16,6 +16,7 @@ | ||
16 | #include <QJsonObject> | 16 | #include <QJsonObject> |
17 | #include "../install-cacic/installcacic.h" | 17 | #include "../install-cacic/installcacic.h" |
18 | #include "../gercols/gercols.h" | 18 | #include "../gercols/gercols.h" |
19 | +#include "../cacicD/cacicd.h" | ||
19 | 20 | ||
20 | class CTestCacic : public QObject | 21 | class CTestCacic : public QObject |
21 | { | 22 | { |
@@ -31,6 +32,7 @@ private: | @@ -31,6 +32,7 @@ private: | ||
31 | QString testIniPath; | 32 | QString testIniPath; |
32 | QJsonObject session; | 33 | QJsonObject session; |
33 | QString cripTeste; | 34 | QString cripTeste; |
35 | + cacicD OcacicD; | ||
34 | 36 | ||
35 | signals: | 37 | signals: |
36 | 38 | ||
@@ -64,6 +66,7 @@ private slots: | @@ -64,6 +66,7 @@ private slots: | ||
64 | void testReadConfig(); | 66 | void testReadConfig(); |
65 | void testSetRegistry(); | 67 | void testSetRegistry(); |
66 | void testRemoveRegistry(); | 68 | void testRemoveRegistry(); |
69 | + void testIniciarDaemon(); | ||
67 | void cleanupTestCase(); | 70 | void cleanupTestCase(); |
68 | }; | 71 | }; |
69 | 72 |