Commit d3779f3f8d6a0fc7f77aa564cfb190c2d98c360c

Authored by Eric Menezes Noronha
1 parent 1a60825a
Exists in master

Nome do objeto da classe CacicComm modificado para OCacicComm.

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
@@ -9,7 +9,7 @@ class CTestCacic : public QObject @@ -9,7 +9,7 @@ class CTestCacic : public QObject
9 public: 9 public:
10 explicit CTestCacic(QObject *parent = 0); 10 explicit CTestCacic(QObject *parent = 0);
11 11
12 - CacicComm a; 12 + CacicComm OCacicComm;
13 13
14 signals: 14 signals:
15 15