From 9a94fd59cd102a847d2b389ceaf76518a283eaa4 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Fri, 27 Oct 2017 07:34:36 +0200 Subject: [PATCH] Add autotest --- .../autotests/filterimporterpathcachetest.cpp | 32 +++++++++++++++++ .../autotests/filterimporterpathcachetest.h | 35 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 src/filter/autotests/filterimporterpathcachetest.cpp create mode 100644 src/filter/autotests/filterimporterpathcachetest.h diff --git a/src/filter/autotests/filterimporterpathcachetest.cpp b/src/filter/autotests/filterimporterpathcachetest.cpp new file mode 100644 index 0000000..94e5624 --- /dev/null +++ b/src/filter/autotests/filterimporterpathcachetest.cpp @@ -0,0 +1,32 @@ +/* + Copyright (c) 2017 Montel Laurent + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License, version 2, as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "filterimporterpathcachetest.h" +#include + +QTEST_MAIN(FilterImporterPathCacheTest) + +FilterImporterPathCacheTest::FilterImporterPathCacheTest(QObject *parent) + : QObject(parent) +{ + +} + +FilterImporterPathCacheTest::~FilterImporterPathCacheTest() +{ + +} diff --git a/src/filter/autotests/filterimporterpathcachetest.h b/src/filter/autotests/filterimporterpathcachetest.h new file mode 100644 index 0000000..8539b19 --- /dev/null +++ b/src/filter/autotests/filterimporterpathcachetest.h @@ -0,0 +1,35 @@ +/* + Copyright (c) 2017 Montel Laurent + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License, version 2, as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef FILTERIMPORTERPATHCACHETEST_H +#define FILTERIMPORTERPATHCACHETEST_H + +#include + +class FilterImporterPathCacheTest : public QObject +{ + Q_OBJECT +public: + explicit FilterImporterPathCacheTest(QObject *parent = nullptr); + ~FilterImporterPathCacheTest(); + +signals: + +public slots: +}; + +#endif // FILTERIMPORTERPATHCACHETEST_H