~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_downloads_db.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:
22
22
#include <QObject>
23
23
#include <QSqlDatabase>
24
24
#include <downloads_db.h>
 
25
#include "./base_testcase.h"
25
26
#include "./test_runner.h"
26
27
 
27
 
class TestDownloadsDb : public QObject {
 
28
class TestDownloadsDb : public BaseTestCase {
28
29
    Q_OBJECT
29
30
 public:
30
31
    explicit TestDownloadsDb(QObject *parent = 0);
31
32
 
32
33
 private slots:  // NOLINT(whitespace/indent)
33
34
 
34
 
    void init();
 
35
    void init() override;
35
36
    void cleanup();
36
37
 
37
38
    void testTableCreations_data();