~ps-jenkins/ubuntu-download-manager/latestsnapshot-0.2+13.10.20131104-0ubuntu1

« back to all changes in this revision

Viewing changes to ubuntu-download-manager-tests/test_network_reply.cpp

  • Committer: Tarmac
  • Author(s): Manuel de la Pena
  • Date: 2013-09-27 21:48:08 UTC
  • mfrom: (105.6.5 remove-tests-qdebug)
  • Revision ID: tarmac-20130927214808-43v60wqrjhgxmua8
Add BaseTestCase that removes the qDebug output so that we have a cleaner tests results output. Fixes: https://bugs.launchpad.net/bugs/1230210.

Approved by Mike McCracken, Rodney Dawes, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include "./fake_qnetwork_reply.h"
23
23
 
24
24
TestNetworkReply::TestNetworkReply(QObject *parent)
25
 
    : QObject(parent) {
 
25
    : BaseTestCase(parent) {
26
26
}
27
27
 
28
28
void
29
29
TestNetworkReply::init() {
 
30
    BaseTestCase::init();
30
31
    _qReply = new FakeQNetworkReply();
31
32
    _reply = new NetworkReply(_qReply);
32
33
}