mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #875, unit tests for DBus
This commit is contained in:
committed by
Mathew Sutcliffe
parent
7bfc9810cb
commit
e28056ac2f
@@ -17,8 +17,9 @@
|
||||
#include "testblackcoremain.h"
|
||||
#include "testnetwork.h"
|
||||
#include "testreaders.h"
|
||||
#include "testcontext.h"
|
||||
#include "testdbus.h"
|
||||
#include "blackmisc/test.h"
|
||||
|
||||
#include <QStringList>
|
||||
#include <QtTest>
|
||||
|
||||
@@ -27,8 +28,15 @@ namespace BlackCoreTest
|
||||
int CBlackCoreTestMain::unitMain(int argc, char *argv[])
|
||||
{
|
||||
BlackMisc::CTest test(argc, argv);
|
||||
|
||||
int status = 0;
|
||||
{
|
||||
CTestDBus dbusTests;
|
||||
status |= test.exec(&dbusTests, "blackcore_dbus");
|
||||
}
|
||||
{
|
||||
CTestContext contextTests;
|
||||
status |= test.exec(&contextTests, "blackcore_context");
|
||||
}
|
||||
{
|
||||
CTestReaders readersTests;
|
||||
status |= test.exec(&readersTests, "blackcore_readers");
|
||||
|
||||
Reference in New Issue
Block a user