Commit 683fda7c authored by INIDETAM's avatar INIDETAM

Changes in TestUnit

parent 9ff341a0
......@@ -14,6 +14,9 @@ private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
void testCase1();
protected:
UAS *prueba;
};
UASUnitTest::UASUnitTest()
......@@ -23,7 +26,7 @@ UASUnitTest::UASUnitTest()
void UASUnitTest::initTestCase()
{
MAVLinkProtocol *mav= new MAVLinkProtocol();
UAS *prueba=new UAS(mav,0);
prueba=new UAS(mav,0);
}
void UASUnitTest::cleanupTestCase()
......@@ -32,7 +35,9 @@ void UASUnitTest::cleanupTestCase()
void UASUnitTest::testCase1()
{
QVERIFY2(true, "Failure");
}
QTEST_APPLESS_MAIN(UASUnitTest);
......
......@@ -164,8 +164,10 @@ linux-g++ {
QMAKE_POST_LINK += cp -rf $$BASEDIR/audio $$DESTDIR/.
message("Compiling for linux 32")
INCLUDEPATH += /usr/include \
/usr/local/include \
/usr/local/include \
/usr/include/qt4/phonon
# $$BASEDIR/lib/flite/include \
# $$BASEDIR/lib/flite/lang
......
......@@ -55,6 +55,7 @@ exists(user_config.pri) {
message("Adding support for additional MAVLink messages for: " $$MAVLINK_CONF)
message("------------------------------------------------------------------------")
}
INCLUDEPATH += $$BASEDIR/../mavlink/include/common
contains(MAVLINK_CONF, pixhawk) {
# Remove the default set - it is included anyway
......
......@@ -40,8 +40,8 @@ This file is part of the PIXHAWK project
#endif
#ifdef Q_OS_LINUX
//#include <flite/flite.h>
#include <Phonon/MediaObject>
#include <Phonon/AudioOutput>
#include <phonon/MediaObject>
#include <phonon/AudioOutput>
#endif
#ifdef Q_OS_WIN
#include <Phonon/MediaObject>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment