diff --git a/cacic-agente.pro b/cacic-agente.pro index 9dba29f..42053f2 100644 --- a/cacic-agente.pro +++ b/cacic-agente.pro @@ -1,28 +1,12 @@ -#------------------------------------------------- -# -# Project created by QtCreator 2014-06-10T15:14:24 -# -#------------------------------------------------- - -QT += core - -QT -= gui +###################################################################### +# Automatically generated by qmake (3.0) qui jun 12 01:43:38 2014 +###################################################################### QT += testlib - -TARGET = cacic-agente - -CONFIG += console -CONFIG -= app_bundle -CONFIG += testcase - TEMPLATE = app +TARGET = cacic-agente +INCLUDEPATH += . - -SOURCES += main.cpp \ - testservice.cpp \ - testget.cpp - -HEADERS += \ - testservice.h \ - testget.h +# Input +HEADERS += testinstallcacic.h +SOURCES += testinstallcacic.cpp diff --git a/cacic-agente.pro.user b/cacic-agente.pro.user new file mode 100644 index 0000000..9ec4e97 --- /dev/null +++ b/cacic-agente.pro.user @@ -0,0 +1,251 @@ + + + + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + 0 + 8 + true + 1 + true + true + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop Qt 5.3.0 MinGW 32bit + Desktop Qt 5.3.0 MinGW 32bit + qt.53.win32_mingw482_kit + 0 + 0 + 0 + + E:/LightBase/BuildCacicAgente + + + true + qmake + + QtProjectManager.QMakeBuildStep + false + true + + false + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Debug + + Qt4ProjectManager.Qt4BuildConfiguration + 2 + true + + + E:/LightBase/build-cacic-agente-Desktop_Qt_5_3_0_MinGW_32bit-Release + + + true + qmake + + QtProjectManager.QMakeBuildStep + false + true + + false + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Release + + Qt4ProjectManager.Qt4BuildConfiguration + 0 + true + + 2 + + + 0 + Deploy + + ProjectExplorer.BuildSteps.Deploy + + 1 + Deploy locally + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + + false + false + false + false + true + 0.01 + 10 + true + 1 + 25 + + 1 + true + false + true + valgrind + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + + 2 + + cacic-agente + + Qt4ProjectManager.Qt4RunConfiguration:E:/LightBase/cacic-agente/cacic-agente.pro + + cacic-agente.pro + false + false + + 3768 + false + true + false + false + true + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.EnvironmentId + {2d43e969-a5af-4db4-9730-35c8f8cce80d} + + + ProjectExplorer.Project.Updater.FileVersion + 15 + + diff --git a/testinstallcacic.cpp b/testinstallcacic.cpp index f645560..f1c774d 100644 --- a/testinstallcacic.cpp +++ b/testinstallcacic.cpp @@ -1,6 +1,15 @@ #include "testinstallcacic.h" +QTEST_MAIN(CTestInstallCacic) -testInstallCacic::testInstallCacic(QObject *parent) : - QtTest(parent) +CTestInstallCacic::CTestInstallCacic(QObject *parent) : + QObject(parent) { } + +void CTestInstallCacic::testParametros() +{ + QString str= "Hello"; + QVERIFY(str.toUpper() == "HELLO"); +} + + diff --git a/testinstallcacic.h b/testinstallcacic.h index 22032aa..e77cd28 100644 --- a/testinstallcacic.h +++ b/testinstallcacic.h @@ -1,16 +1,20 @@ #ifndef TESTINSTALLCACIC_H #define TESTINSTALLCACIC_H -class testInstallCacic : public QtTest +#include + +class CTestInstallCacic : public QObject { Q_OBJECT public: - explicit testInstallCacic(QObject *parent = 0); + explicit CTestInstallCacic(QObject *parent = 0); signals: public slots: +private slots: + void testParametros(); }; #endif // TESTINSTALLCACIC_H -- libgit2 0.21.2