/*
 * SPDX-FileCopyrightText: 2019 boud <boud@valdyas.org>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#ifndef TESTAGFILTERTRESOURCEPROXYMODEL_H
#define TESTAGFILTERTRESOURCEPROXYMODEL_H

#include <QObject>
#include <QtSql>
#include "KisResourceTypes.h"
class KisResourceLocator;
class TestTagFilterResourceProxyModel : public QObject
{
    Q_OBJECT
private Q_SLOTS:
    void initTestCase();

    void testWithTagModelTester();

    void testRowCount();
    void testData();
    void testResource();

    void testFilterByResource();
    void testFilterByTag();
    void testFilterByString();
    void testFilterByStorage();
    void testDataWhenSwitchingBetweenTagAllAllUntagged();

    void testResourceForIndex();

    void cleanupTestCase();

private:

    QString m_srcLocation;
    QString m_dstLocation;

    KisResourceLocator *m_locator;
    const QString m_resourceType = ResourceType::PaintOpPresets;

};

#endif
