~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_download_factory.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:
21
21
#include "./test_download_factory.h"
22
22
 
23
23
TestDownloadFactory::TestDownloadFactory(QObject *parent)
24
 
    : QObject(parent) {
 
24
    : BaseTestCase(parent) {
25
25
}
26
26
 
27
27
void
28
28
TestDownloadFactory::init() {
 
29
    BaseTestCase::init();
29
30
    _uuidFactory = QSharedPointer<UuidFactory>(new FakeUuidFactory());
30
31
    _apparmor = new FakeAppArmor(_uuidFactory);
31
32
    _networkInfo = QSharedPointer<SystemNetworkInfo>(