Commit 3907abe037b13011ea9b5f42ebbafb191ecd872e
1 parent
87d459ee
Exists in
master
Teste compilado com sucesso!
Showing
4 changed files
with
276 additions
and
28 deletions
Show diff stats
cacic-agente.pro
1 | -#------------------------------------------------- | |
2 | -# | |
3 | -# Project created by QtCreator 2014-06-10T15:14:24 | |
4 | -# | |
5 | -#------------------------------------------------- | |
6 | - | |
7 | -QT += core | |
8 | - | |
9 | -QT -= gui | |
1 | +###################################################################### | |
2 | +# Automatically generated by qmake (3.0) qui jun 12 01:43:38 2014 | |
3 | +###################################################################### | |
10 | 4 | |
11 | 5 | QT += testlib |
12 | - | |
13 | -TARGET = cacic-agente | |
14 | - | |
15 | -CONFIG += console | |
16 | -CONFIG -= app_bundle | |
17 | -CONFIG += testcase | |
18 | - | |
19 | 6 | TEMPLATE = app |
7 | +TARGET = cacic-agente | |
8 | +INCLUDEPATH += . | |
20 | 9 | |
21 | - | |
22 | -SOURCES += main.cpp \ | |
23 | - testservice.cpp \ | |
24 | - testget.cpp | |
25 | - | |
26 | -HEADERS += \ | |
27 | - testservice.h \ | |
28 | - testget.h | |
10 | +# Input | |
11 | +HEADERS += testinstallcacic.h | |
12 | +SOURCES += testinstallcacic.cpp | ... | ... |
... | ... | @@ -0,0 +1,251 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE QtCreatorProject> | |
3 | +<!-- Written by QtCreator 3.1.1, 2014-06-12T01:56:28. --> | |
4 | +<qtcreator> | |
5 | + <data> | |
6 | + <variable>ProjectExplorer.Project.ActiveTarget</variable> | |
7 | + <value type="int">0</value> | |
8 | + </data> | |
9 | + <data> | |
10 | + <variable>ProjectExplorer.Project.EditorSettings</variable> | |
11 | + <valuemap type="QVariantMap"> | |
12 | + <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |
13 | + <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |
14 | + <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | |
15 | + <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |
16 | + <value type="QString" key="language">Cpp</value> | |
17 | + <valuemap type="QVariantMap" key="value"> | |
18 | + <value type="QByteArray" key="CurrentPreferences">CppGlobal</value> | |
19 | + </valuemap> | |
20 | + </valuemap> | |
21 | + <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |
22 | + <value type="QString" key="language">QmlJS</value> | |
23 | + <valuemap type="QVariantMap" key="value"> | |
24 | + <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value> | |
25 | + </valuemap> | |
26 | + </valuemap> | |
27 | + <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |
28 | + <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value> | |
29 | + <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |
30 | + <value type="int" key="EditorConfiguration.IndentSize">4</value> | |
31 | + <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | |
32 | + <value type="int" key="EditorConfiguration.MarginColumn">80</value> | |
33 | + <value type="bool" key="EditorConfiguration.MouseHiding">true</value> | |
34 | + <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |
35 | + <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |
36 | + <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |
37 | + <value type="bool" key="EditorConfiguration.ShowMargin">false</value> | |
38 | + <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |
39 | + <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |
40 | + <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |
41 | + <value type="int" key="EditorConfiguration.TabSize">8</value> | |
42 | + <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |
43 | + <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |
44 | + <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |
45 | + <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |
46 | + <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |
47 | + <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |
48 | + </valuemap> | |
49 | + </data> | |
50 | + <data> | |
51 | + <variable>ProjectExplorer.Project.PluginSettings</variable> | |
52 | + <valuemap type="QVariantMap"/> | |
53 | + </data> | |
54 | + <data> | |
55 | + <variable>ProjectExplorer.Project.Target.0</variable> | |
56 | + <valuemap type="QVariantMap"> | |
57 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.3.0 MinGW 32bit</value> | |
58 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.3.0 MinGW 32bit</value> | |
59 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.53.win32_mingw482_kit</value> | |
60 | + <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |
61 | + <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |
62 | + <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |
63 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |
64 | + <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:/LightBase/BuildCacicAgente</value> | |
65 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
66 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
67 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
68 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
69 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
70 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
71 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
72 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | |
73 | + <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
74 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
75 | + </valuemap> | |
76 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
77 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
78 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
79 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
80 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
81 | + <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/> | |
82 | + <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
83 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
84 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
85 | + </valuemap> | |
86 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
87 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
88 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
89 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
90 | + </valuemap> | |
91 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
92 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
93 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
94 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
95 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
96 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
97 | + <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/> | |
98 | + <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
99 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
100 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
101 | + </valuemap> | |
102 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
103 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
104 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
105 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
106 | + </valuemap> | |
107 | + <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
108 | + <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
109 | + <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
110 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value> | |
111 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
112 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
113 | + <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |
114 | + <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value> | |
115 | + </valuemap> | |
116 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |
117 | + <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:/LightBase/build-cacic-agente-Desktop_Qt_5_3_0_MinGW_32bit-Release</value> | |
118 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
119 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
120 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
121 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
122 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
123 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
124 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
125 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | |
126 | + <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
127 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
128 | + </valuemap> | |
129 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
130 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
131 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
132 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
133 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
134 | + <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/> | |
135 | + <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
136 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
137 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
138 | + </valuemap> | |
139 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
140 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
141 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
142 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
143 | + </valuemap> | |
144 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
145 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
146 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
147 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
148 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
149 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
150 | + <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/> | |
151 | + <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
152 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
153 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
154 | + </valuemap> | |
155 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
156 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
157 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
158 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
159 | + </valuemap> | |
160 | + <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
161 | + <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
162 | + <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
163 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value> | |
164 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
165 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
166 | + <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
167 | + <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value> | |
168 | + </valuemap> | |
169 | + <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> | |
170 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
171 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
172 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
173 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |
174 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
175 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
176 | + </valuemap> | |
177 | + <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
178 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value> | |
179 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
180 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
181 | + </valuemap> | |
182 | + <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
183 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |
184 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
185 | + <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
186 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
187 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
188 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
189 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
190 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
191 | + <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
192 | + <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
193 | + <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
194 | + <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value> | |
195 | + <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
196 | + <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
197 | + <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value> | |
198 | + <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> | |
199 | + <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value> | |
200 | + <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
201 | + <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
202 | + <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
203 | + <value type="int">0</value> | |
204 | + <value type="int">1</value> | |
205 | + <value type="int">2</value> | |
206 | + <value type="int">3</value> | |
207 | + <value type="int">4</value> | |
208 | + <value type="int">5</value> | |
209 | + <value type="int">6</value> | |
210 | + <value type="int">7</value> | |
211 | + <value type="int">8</value> | |
212 | + <value type="int">9</value> | |
213 | + <value type="int">10</value> | |
214 | + <value type="int">11</value> | |
215 | + <value type="int">12</value> | |
216 | + <value type="int">13</value> | |
217 | + <value type="int">14</value> | |
218 | + </valuelist> | |
219 | + <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |
220 | + <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |
221 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">cacic-agente</value> | |
222 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
223 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:E:/LightBase/cacic-agente/cacic-agente.pro</value> | |
224 | + <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> | |
225 | + <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">cacic-agente.pro</value> | |
226 | + <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> | |
227 | + <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> | |
228 | + <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> | |
229 | + <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
230 | + <value type="bool" key="RunConfiguration.UseCppDebugger">false</value> | |
231 | + <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value> | |
232 | + <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |
233 | + <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
234 | + <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |
235 | + </valuemap> | |
236 | + <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |
237 | + </valuemap> | |
238 | + </data> | |
239 | + <data> | |
240 | + <variable>ProjectExplorer.Project.TargetCount</variable> | |
241 | + <value type="int">1</value> | |
242 | + </data> | |
243 | + <data> | |
244 | + <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
245 | + <value type="QByteArray">{2d43e969-a5af-4db4-9730-35c8f8cce80d}</value> | |
246 | + </data> | |
247 | + <data> | |
248 | + <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
249 | + <value type="int">15</value> | |
250 | + </data> | |
251 | +</qtcreator> | ... | ... |
testinstallcacic.cpp
1 | 1 | #include "testinstallcacic.h" |
2 | +QTEST_MAIN(CTestInstallCacic) | |
2 | 3 | |
3 | -testInstallCacic::testInstallCacic(QObject *parent) : | |
4 | - QtTest(parent) | |
4 | +CTestInstallCacic::CTestInstallCacic(QObject *parent) : | |
5 | + QObject(parent) | |
5 | 6 | { |
6 | 7 | } |
8 | + | |
9 | +void CTestInstallCacic::testParametros() | |
10 | +{ | |
11 | + QString str= "Hello"; | |
12 | + QVERIFY(str.toUpper() == "HELLO"); | |
13 | +} | |
14 | + | |
15 | + | ... | ... |
testinstallcacic.h
1 | 1 | #ifndef TESTINSTALLCACIC_H |
2 | 2 | #define TESTINSTALLCACIC_H |
3 | 3 | |
4 | -class testInstallCacic : public QtTest | |
4 | +#include <QtTest/QtTest> | |
5 | + | |
6 | +class CTestInstallCacic : public QObject | |
5 | 7 | { |
6 | 8 | Q_OBJECT |
7 | 9 | public: |
8 | - explicit testInstallCacic(QObject *parent = 0); | |
10 | + explicit CTestInstallCacic(QObject *parent = 0); | |
9 | 11 | |
10 | 12 | signals: |
11 | 13 | |
12 | 14 | public slots: |
13 | 15 | |
16 | +private slots: | |
17 | + void testParametros(); | |
14 | 18 | }; |
15 | 19 | |
16 | 20 | #endif // TESTINSTALLCACIC_H | ... | ... |