refactor: use GTest for running tests (#1383)

* refactor: use google-test on libtransmission tests
This commit is contained in:
Charles Kerr
2020-08-11 13:11:55 -05:00
committed by GitHub
parent 6da4a4dfad
commit 677dc73eac
201 changed files with 7498 additions and 8100 deletions

View File

@@ -10,9 +10,12 @@
#include <QSortFilterProxyModel>
#include "Macros.h"
class TrackerModelFilter : public QSortFilterProxyModel
{
Q_OBJECT
TR_DISABLE_COPY_MOVE(TrackerModelFilter)
public:
TrackerModelFilter(QObject* parent = nullptr);
@@ -26,7 +29,7 @@ public:
protected:
// QSortFilterProxyModel
virtual bool filterAcceptsRow(int source_row, QModelIndex const& source_parent) const;
virtual bool filterAcceptsRow(int source_row, QModelIndex const& source_parent) const override;
private:
bool show_backups_ = {};