Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[connectionagent] add initial plugin test, and fix nasty crash it found.
- Loading branch information
Lorn Potter
committed
May 28, 2013
1 parent
12ba5eb
commit 074e848
Showing
12 changed files
with
213 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
TEMPLATE = subdirs | ||
|
||
TEMPLATE += ordered | ||
|
||
SUBDIRS += tst_connectionagent_plugin | ||
|
43 changes: 43 additions & 0 deletions
43
test/auto/tst_connectionagent_plugin/tst_connectionagent_plugin.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2013-05-28T05:39:06 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += testlib dbus network | ||
|
||
QT -= gui | ||
|
||
TARGET = tst_connectionagent_plugintest | ||
CONFIG += console | ||
CONFIG -= app_bundle | ||
|
||
TEMPLATE = app | ||
|
||
|
||
SOURCES += tst_connectionagent_plugintest.cpp \ | ||
../../../connectionagentplugin/connectionagentplugin.cpp \ | ||
../../../connectionagentplugin/connectionamanagerinterface.cpp | ||
|
||
HEADERS += \ | ||
../../../connectionagentplugin/connectionagentplugin.h \ | ||
../../../connectionagentplugin/connectionamanagerinterface.h | ||
|
||
DEFINES += SRCDIR=\\\"$$PWD/\\\" | ||
|
||
INCLUDEPATH += ../../../connectiongentplugin | ||
|
||
equals(QT_MAJOR_VERSION, 4): { | ||
PKGCONFIG += connman-qt4 | ||
LIBS += -lconnman-qt4 | ||
INCLUDEPATH += /usr/include/connman-qt | ||
} | ||
|
||
equals(QT_MAJOR_VERSION, 5): { | ||
PKGCONFIG += connman-qt5 | ||
LIBS += -lconnman-qt5 | ||
INCLUDEPATH += /usr/include/connman-qt5 | ||
} | ||
|
||
target.path = $$[QT_INSTALL_PREFIX]/opt/tests/libqofono/ | ||
INSTALLS += target |
Oops, something went wrong.