mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
(will be consolidated with existing utility classes)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
ae5b0310b6
commit
ed820da20d
46
tests/blackmisc/testdbus.h
Normal file
46
tests/blackmisc/testdbus.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/* Copyright (C) 2017
|
||||
* swift project community / contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKCORETEST_TESTDBUS_H
|
||||
#define BLACKCORETEST_TESTDBUS_H
|
||||
|
||||
#include "blackmisc/variant.h"
|
||||
#include <QObject>
|
||||
|
||||
//! \cond PRIVATE_TESTS
|
||||
//! \file
|
||||
//! \ingroup testblackmisc
|
||||
|
||||
namespace BlackMiscTest
|
||||
{
|
||||
/*!
|
||||
* DBus implementation classes tests
|
||||
*/
|
||||
class CTestDBus : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor.
|
||||
explicit CTestDBus(QObject *parent = nullptr) :
|
||||
QObject(parent)
|
||||
{}
|
||||
|
||||
private slots:
|
||||
//! Test marshalling/unmarshalling
|
||||
void marshallUnmarshall();
|
||||
|
||||
//! Signature size
|
||||
void signatureSize();
|
||||
};
|
||||
} //namespace
|
||||
|
||||
//! \endcond
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user