Commit d3779f3f8d6a0fc7f77aa564cfb190c2d98c360c
1 parent
1a60825a
Exists in
master
Nome do objeto da classe CacicComm modificado para OCacicComm.
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
cacic-teste/testcacic.cpp
@@ -12,13 +12,13 @@ CTestCacic::CTestCacic(QObject *parent) : | @@ -12,13 +12,13 @@ CTestCacic::CTestCacic(QObject *parent) : | ||
12 | 12 | ||
13 | void CTestCacic::testCommStatus() | 13 | void CTestCacic::testCommStatus() |
14 | { | 14 | { |
15 | - QVERIFY(a.commStatus(QString ("http://teste.cacic.cc"))); | 15 | + QVERIFY(OCacicComm.commStatus(QString ("http://teste.cacic.cc"))); |
16 | } | 16 | } |
17 | 17 | ||
18 | void CTestCacic::testComm() | 18 | void CTestCacic::testComm() |
19 | { | 19 | { |
20 | if (a.commStatus("http://teste.cacic.cc")) | 20 | if (a.commStatus("http://teste.cacic.cc")) |
21 | - QVERIFY(a.comm("http://teste.cacic.cc/ws/get/test") != QString("")); | 21 | + QVERIFY(OCacicComm.comm("http://teste.cacic.cc/ws/get/test") != QString("")); |
22 | else | 22 | else |
23 | QSKIP("Teste de comunicação negativo!"); | 23 | QSKIP("Teste de comunicação negativo!"); |
24 | } | 24 | } |
cacic-teste/testcacic.h