~ubuntuone-hackers/ubuntu-download-manager/saucy

« back to all changes in this revision

Viewing changes to ubuntu-download-manager-tests/test_download_factory.h

  • 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:
26
26
#include "./fake_request_factory.h"
27
27
#include "./fake_process_factory.h"
28
28
#include "./fake_uuid_factory.h"
 
29
#include "./base_testcase.h"
29
30
#include "./test_runner.h"
30
31
 
31
 
class TestDownloadFactory : public QObject {
 
32
class TestDownloadFactory : public BaseTestCase {
32
33
    Q_OBJECT
33
34
 
34
35
 public:
36
37
 
37
38
 private slots:  // NOLINT(whitespace/indent)
38
39
 
39
 
    void init();
 
40
    void init() override;
40
41
    void cleanup();
41
42
 
42
43
    void testCreateDownload();