mirror of
https://github.com/QuasarApp/CMakeProject.git
synced 2025-04-27 14:14:32 +00:00
fix warnings and update cmake submodule
This commit is contained in:
parent
57f5597179
commit
3913f2a197
2
CMake
2
CMake
@ -1 +1 @@
|
||||
Subproject commit 72afe7f2e3f0062e231478f212c96a49d95dc6d1
|
||||
Subproject commit 814b6aeb4ea5b3d9985aabe88af92b37f5aed5ad
|
@ -1,3 +1,10 @@
|
||||
//#
|
||||
//# Copyright (C) 2020-2021 QuasarApp.
|
||||
//# Distributed under the lgplv3 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 <QtTest>
|
||||
#include "exampletest.h"
|
||||
|
||||
@ -59,9 +66,9 @@ void tstMain::unitTests() {
|
||||
|
||||
QDir(path).removeRecursively();
|
||||
|
||||
QTimer::singleShot(0, [&app, this]() {
|
||||
QTimer::singleShot(0, this, [&app, this]() {
|
||||
|
||||
for (auto test : _tests ) {
|
||||
for (auto test : qAsConst(_tests) ) {
|
||||
test->test();
|
||||
delete test;
|
||||
}
|
||||
|
@ -1,3 +1,11 @@
|
||||
//#
|
||||
//# Copyright (C) 2020-2021 QuasarApp.
|
||||
//# Distributed under the lgplv3 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 "exampletest.h"
|
||||
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
//#
|
||||
//# Copyright (C) 2020-2021 QuasarApp.
|
||||
//# Distributed under the lgplv3 software license, see the accompanying
|
||||
//# Everyone is permitted to copy and distribute verbatim copies
|
||||
//# of this license document, but changing it is not allowed.
|
||||
//#
|
||||
|
||||
|
||||
#ifndef EXAMPLE_TEST_H
|
||||
#define EXAMPLE_TEST_H
|
||||
#include "test.h"
|
||||
|
@ -1 +1,9 @@
|
||||
//#
|
||||
//# Copyright (C) 2020-2021 QuasarApp.
|
||||
//# Distributed under the lgplv3 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 "test.h"
|
||||
|
@ -1,3 +1,11 @@
|
||||
//#
|
||||
//# Copyright (C) 2020-2021 QuasarApp.
|
||||
//# Distributed under the lgplv3 software license, see the accompanying
|
||||
//# Everyone is permitted to copy and distribute verbatim copies
|
||||
//# of this license document, but changing it is not allowed.
|
||||
//#
|
||||
|
||||
|
||||
#ifndef TEST_H
|
||||
#define TEST_H
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
//#
|
||||
//# Copyright (C) 2020-2021 QuasarApp.
|
||||
//# Distributed under the lgplv3 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 "testutils.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
@ -1,3 +1,11 @@
|
||||
//#
|
||||
//# Copyright (C) 2020-2021 QuasarApp.
|
||||
//# Distributed under the lgplv3 software license, see the accompanying
|
||||
//# Everyone is permitted to copy and distribute verbatim copies
|
||||
//# of this license document, but changing it is not allowed.
|
||||
//#
|
||||
|
||||
|
||||
#ifndef TESTUTILS_H
|
||||
#define TESTUTILS_H
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user