// SPDX-FileCopyrightText: 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

#include <QTest>

int main(int argc, char *argv[])
{
    int result = 0;

    // Test object creation functions are defined in their respective .cpp files
    extern QObject *create_tst_DfmSearch();
    extern QObject *create_tst_SearchUtils();

    // Run all test objects
    QObject *testObj1 = create_tst_DfmSearch();
    result |= QTest::qExec(testObj1, argc, argv);
    delete testObj1;

    QObject *testObj2 = create_tst_SearchUtils();
    result |= QTest::qExec(testObj2, argc, argv);
    delete testObj2;

    return result;
}
