mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Tests/CMakeGUI: Reformat sources with clang-format-18
Somehow the `#include` order got out of sync with `clang-format-18`.
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
#include "QCMakeCacheView.h"
|
||||
#include <QtTest>
|
||||
|
||||
#include "QCMakeCacheView.h"
|
||||
|
||||
namespace {
|
||||
QCMakeProperty makeProperty(
|
||||
QString const& name, QString const& value,
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
file LICENSE.rst or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
#include "QCMakeCacheView.h"
|
||||
#include <QObject>
|
||||
|
||||
#include "QCMakeCacheView.h"
|
||||
|
||||
class QCMakeCacheModelTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
file LICENSE.rst or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
#include "QCMakePresetComboBox.h"
|
||||
#include <QObject>
|
||||
|
||||
#include "QCMakePresetComboBox.h"
|
||||
|
||||
class QCMakePresetComboBoxTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "QCMakePreset.h"
|
||||
#include "QCMakePresetItemModel.h"
|
||||
#include <QHash>
|
||||
#include <QMetaType>
|
||||
#include <QSignalSpy>
|
||||
@@ -13,6 +11,9 @@
|
||||
#include <QVector>
|
||||
#include <QtTest>
|
||||
|
||||
#include "QCMakePreset.h"
|
||||
#include "QCMakePresetItemModel.h"
|
||||
|
||||
using QItemDataHash = QHash<Qt::ItemDataRole, QVariant>;
|
||||
|
||||
void QCMakePresetItemModelTest::initTestCase()
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
file LICENSE.rst or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
#include "QCMakePresetItemModel.h"
|
||||
#include <QObject>
|
||||
|
||||
#include "QCMakePresetItemModel.h"
|
||||
|
||||
class QCMakePresetItemModelTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "QCMakePreset.h"
|
||||
#include <QtTest>
|
||||
|
||||
#include "QCMakePreset.h"
|
||||
|
||||
namespace {
|
||||
QCMakePreset makePreset()
|
||||
{
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
file LICENSE.rst or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
#include "QCMakePreset.h"
|
||||
#include <QObject>
|
||||
|
||||
#include "QCMakePreset.h"
|
||||
|
||||
class QCMakePresetTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user