CQtDeployer/tests/units/linux/webenginetest.cpp

45 lines
1.0 KiB
C++
Raw Permalink Normal View History

2022-08-09 22:25:49 +03:00
//#
2023-12-31 09:24:12 +01:00
//# Copyright (C) 2020-2024 QuasarApp.
2022-08-09 22:25:49 +03:00
//# Distributed under the GPLv3 software license, see the accompanying
//# Everyone is permitted to copy and distribute verbatim copies
//# of this license document, but changing it is not allowed.
//#
#include "webenginetest.h"
2024-12-21 19:41:36 +01:00
2024-12-21 22:34:42 +01:00
#ifdef USE_WEBENGINE
2022-08-13 20:34:51 +03:00
#include "modules.h"
2024-12-21 19:41:36 +01:00
#endif
2022-08-09 22:25:49 +03:00
#include <configparser.h>
#include <dependenciesscanner.h>
#include <filemanager.h>
#include <packing.h>
#include <pluginsparser.h>
void WebEngineTest::test() {
2024-12-21 22:34:42 +01:00
#ifdef USE_WEBENGINE
2022-08-09 22:25:49 +03:00
TestUtils utils;
QString bin = TestBinDir + "quicknanobrowser";
QString qmake = TestQtDir + "bin/qmake";
auto comapareTree = TestModule.qtWebEngine();
runTestParams({"-bin", bin, "clear" ,
"-qmake", qmake,
"-qmlDir", TestBinDir + "/../quicknanobrowser"}, &comapareTree);
bin = TestBinDir + "webui";
qmake = TestQtDir + "bin/qmake";
comapareTree = TestModule.qtWebEngineWidgets();
runTestParams({"-bin", bin, "clear" ,
"-qmake", qmake}, &comapareTree);
#endif
}