From 424eb23b3e0a45ea46100eef4c88281b073b900c Mon Sep 17 00:00:00 2001 From: Eduardo Santos Date: Tue, 10 Jun 2014 16:59:16 -0300 Subject: [PATCH] Estrutura base do Módulo Agente --- cacic-agente.pro | 28 ++++++++++++++++++++++++++++ main.cpp | 8 ++++++++ testget.cpp | 6 ++++++ testget.h | 16 ++++++++++++++++ testservice.cpp | 6 ++++++ testservice.h | 18 ++++++++++++++++++ 6 files changed, 82 insertions(+), 0 deletions(-) create mode 100644 cacic-agente.pro create mode 100644 main.cpp create mode 100644 testget.cpp create mode 100644 testget.h create mode 100644 testservice.cpp create mode 100644 testservice.h diff --git a/cacic-agente.pro b/cacic-agente.pro new file mode 100644 index 0000000..9dba29f --- /dev/null +++ b/cacic-agente.pro @@ -0,0 +1,28 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2014-06-10T15:14:24 +# +#------------------------------------------------- + +QT += core + +QT -= gui + +QT += testlib + +TARGET = cacic-agente + +CONFIG += console +CONFIG -= app_bundle +CONFIG += testcase + +TEMPLATE = app + + +SOURCES += main.cpp \ + testservice.cpp \ + testget.cpp + +HEADERS += \ + testservice.h \ + testget.h diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..470a030 --- /dev/null +++ b/main.cpp @@ -0,0 +1,8 @@ +#include + +int main(int argc, char *argv[]) +{ + QCoreApplication a(argc, argv); + + return a.exec(); +} diff --git a/testget.cpp b/testget.cpp new file mode 100644 index 0000000..5bc5d9d --- /dev/null +++ b/testget.cpp @@ -0,0 +1,6 @@ +#include "testget.h" + +TestGet::TestGet(QObject *parent) : + QtTest(parent) +{ +} diff --git a/testget.h b/testget.h new file mode 100644 index 0000000..ccae0fa --- /dev/null +++ b/testget.h @@ -0,0 +1,16 @@ +#ifndef TESTGET_H +#define TESTGET_H + +class TestGet : public QtTest +{ + Q_OBJECT +public: + explicit TestGet(QObject *parent = 0); + +signals: + +public slots: + +}; + +#endif // TESTGET_H diff --git a/testservice.cpp b/testservice.cpp new file mode 100644 index 0000000..bc76674 --- /dev/null +++ b/testservice.cpp @@ -0,0 +1,6 @@ +#include "testservice.h" + +TestService::TestService(QObject *parent) : + QTest(parent) +{ +} diff --git a/testservice.h b/testservice.h new file mode 100644 index 0000000..d0b30c1 --- /dev/null +++ b/testservice.h @@ -0,0 +1,18 @@ +#ifndef TESTSERVICE_H +#define TESTSERVICE_H + +#include + +class TestService : public QTest +{ + Q_OBJECT +public: + explicit TestService(QObject *parent = 0); + +signals: + +public slots: + +}; + +#endif // TESTSERVICE_H -- libgit2 0.21.2