mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 18:25:42 +08:00
Fix blackgui unit test namespaces
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
using namespace BlackCoreTest;
|
using namespace BlackGuiTest;
|
||||||
|
|
||||||
//! Starter for test cases
|
//! Starter for test cases
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <QtTest>
|
#include <QtTest>
|
||||||
|
|
||||||
namespace BlackCoreTest
|
namespace BlackGuiTest
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
|
* Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
|
||||||
|
|||||||
@@ -14,10 +14,10 @@
|
|||||||
* \ingroup testblackgui
|
* \ingroup testblackgui
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BLACKCORETEST_TESTMAIN_H
|
#ifndef BLACKGUITEST_TESTMAIN_H
|
||||||
#define BLACKCORETEST_TESTMAIN_H
|
#define BLACKGUITEST_TESTMAIN_H
|
||||||
|
|
||||||
namespace BlackCoreTest
|
namespace BlackGuiTest
|
||||||
{
|
{
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
using namespace BlackGui;
|
using namespace BlackGui;
|
||||||
|
|
||||||
namespace BlackCoreTest
|
namespace BlackGuiTest
|
||||||
{
|
{
|
||||||
|
|
||||||
CTestGuiUtilities::CTestGuiUtilities(QObject *parent) :
|
CTestGuiUtilities::CTestGuiUtilities(QObject *parent) :
|
||||||
|
|||||||
@@ -14,12 +14,12 @@
|
|||||||
* \ingroup testblackgui
|
* \ingroup testblackgui
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BLACKCORETEST_TESTUTILS_H
|
#ifndef BLACKGUITEST_TESTUTILS_H
|
||||||
#define BLACKCORETEST_TESTUTILS_H
|
#define BLACKGUITEST_TESTUTILS_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
namespace BlackCoreTest
|
namespace BlackGuiTest
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Test GUI utilities
|
* Test GUI utilities
|
||||||
|
|||||||
Reference in New Issue
Block a user