Commit cd292db0381489899a865754d5e0e8668b6f5f2a
1 parent
424eb23b
Exists in
master
Pegando primeiro argumento, no caso o nome;
Próximo passo criar o teste em si;
Showing
6 changed files
with
22 additions
and
46 deletions
Show diff stats
testget.cpp
testget.h
| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | +#ifndef TESTINSTALLCACIC_H | |
| 2 | +#define TESTINSTALLCACIC_H | |
| 3 | + | |
| 4 | +class testInstallCacic : public QtTest | |
| 5 | +{ | |
| 6 | + Q_OBJECT | |
| 7 | +public: | |
| 8 | + explicit testInstallCacic(QObject *parent = 0); | |
| 9 | + | |
| 10 | +signals: | |
| 11 | + | |
| 12 | +public slots: | |
| 13 | + | |
| 14 | +}; | |
| 15 | + | |
| 16 | +#endif // TESTINSTALLCACIC_H | ... | ... |
testservice.cpp
testservice.h
| ... | ... | @@ -1,18 +0,0 @@ |
| 1 | -#ifndef TESTSERVICE_H | |
| 2 | -#define TESTSERVICE_H | |
| 3 | - | |
| 4 | -#include <QTest> | |
| 5 | - | |
| 6 | -class TestService : public QTest | |
| 7 | -{ | |
| 8 | - Q_OBJECT | |
| 9 | -public: | |
| 10 | - explicit TestService(QObject *parent = 0); | |
| 11 | - | |
| 12 | -signals: | |
| 13 | - | |
| 14 | -public slots: | |
| 15 | - | |
| 16 | -}; | |
| 17 | - | |
| 18 | -#endif // TESTSERVICE_H |