MainWindowTest.h 768 Bytes
Newer Older
1 2
/****************************************************************************
 *
3
 *   (c) 2009-2018 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4 5 6 7 8 9
 *
 * QGroundControl is licensed according to the terms in the file
 * COPYING.md in the root of the source code directory.
 *
 ****************************************************************************/

Don Gagne's avatar
Don Gagne committed
10 11 12 13 14 15

/// @file
///     @brief Simple MainWindow unit test
///
///     @author Don Gagne <don@thegagnes.com>

16
#pragma once
Don Gagne's avatar
Don Gagne committed
17 18

#include "UnitTest.h"
19
#include "MainWindow.h"
Don Gagne's avatar
Don Gagne committed
20 21 22 23 24 25

class MainWindowTest : public UnitTest
{
    Q_OBJECT
    
private slots:
26
    void _connectWindowClosePX4_test(void);
27 28
    void _connectWindowCloseGeneric_test(void);

29
private:
30
    void _connectWindowClose_test(MAV_AUTOPILOT autopilot);
Don Gagne's avatar
Don Gagne committed
31 32
};