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