refs #875, unit tests for DBus

This commit is contained in:
Klaus Basan
2017-02-07 18:59:36 +01:00
committed by Mathew Sutcliffe
parent 7bfc9810cb
commit e28056ac2f
3 changed files with 65 additions and 3 deletions

View File

@@ -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");