Commit cd292db0381489899a865754d5e0e8668b6f5f2a

Authored by Eric Menezes Noronha
1 parent 424eb23b
Exists in master

Pegando primeiro argumento, no caso o nome;

Próximo passo criar o teste em si;
testget.cpp
... ... @@ -1,6 +0,0 @@
1   -#include "testget.h"
2   -
3   -TestGet::TestGet(QObject *parent) :
4   - QtTest(parent)
5   -{
6   -}
testget.h
... ... @@ -1,16 +0,0 @@
1   -#ifndef TESTGET_H
2   -#define TESTGET_H
3   -
4   -class TestGet : public QtTest
5   -{
6   - Q_OBJECT
7   -public:
8   - explicit TestGet(QObject *parent = 0);
9   -
10   -signals:
11   -
12   -public slots:
13   -
14   -};
15   -
16   -#endif // TESTGET_H
testinstallcacic.cpp 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +#include "testinstallcacic.h"
  2 +
  3 +testInstallCacic::testInstallCacic(QObject *parent) :
  4 + QtTest(parent)
  5 +{
  6 +}
... ...
testinstallcacic.h 0 → 100644
... ... @@ -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
... ... @@ -1,6 +0,0 @@
1   -#include "testservice.h"
2   -
3   -TestService::TestService(QObject *parent) :
4   - QTest(parent)
5   -{
6   -}
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