tst_uasunittest.cc 592 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
#include <QtCore/QString>
#include <QtTest/QtTest>
#include "UAS.h"
#include "MAVLinkProtocol.h"

class UASUnitTest : public QObject
{
    Q_OBJECT

public:
    UASUnitTest();

private Q_SLOTS:
    void initTestCase();
    void cleanupTestCase();
    void testCase1();
};

UASUnitTest::UASUnitTest()
{
}

void UASUnitTest::initTestCase()
{
  MAVLinkProtocol *mav= new MAVLinkProtocol();
  UAS *prueba=new UAS(mav,0);
}

void UASUnitTest::cleanupTestCase()
{
}

void UASUnitTest::testCase1()
{
    QVERIFY2(true, "Failure");
}

QTEST_APPLESS_MAIN(UASUnitTest);

#include "tst_uasunittest.moc"