Commit 424eb23b3e0a45ea46100eef4c88281b073b900c

Authored by Eduardo Santos
1 parent 1bf38c5a
Exists in master

Estrutura base do Módulo Agente

cacic-agente.pro 0 → 100644
... ... @@ -0,0 +1,28 @@
  1 +#-------------------------------------------------
  2 +#
  3 +# Project created by QtCreator 2014-06-10T15:14:24
  4 +#
  5 +#-------------------------------------------------
  6 +
  7 +QT += core
  8 +
  9 +QT -= gui
  10 +
  11 +QT += testlib
  12 +
  13 +TARGET = cacic-agente
  14 +
  15 +CONFIG += console
  16 +CONFIG -= app_bundle
  17 +CONFIG += testcase
  18 +
  19 +TEMPLATE = app
  20 +
  21 +
  22 +SOURCES += main.cpp \
  23 + testservice.cpp \
  24 + testget.cpp
  25 +
  26 +HEADERS += \
  27 + testservice.h \
  28 + testget.h
... ...
main.cpp 0 → 100644
... ... @@ -0,0 +1,8 @@
  1 +#include <QCoreApplication>
  2 +
  3 +int main(int argc, char *argv[])
  4 +{
  5 + QCoreApplication a(argc, argv);
  6 +
  7 + return a.exec();
  8 +}
... ...
testget.cpp 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +#include "testget.h"
  2 +
  3 +TestGet::TestGet(QObject *parent) :
  4 + QtTest(parent)
  5 +{
  6 +}
... ...
testget.h 0 → 100644
... ... @@ -0,0 +1,16 @@
  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
... ...
testservice.cpp 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +#include "testservice.h"
  2 +
  3 +TestService::TestService(QObject *parent) :
  4 + QTest(parent)
  5 +{
  6 +}
... ...
testservice.h 0 → 100644
... ... @@ -0,0 +1,18 @@
  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
... ...