/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ****************************************************************************/ /// @file /// @brief Unit test for QGCQFileDialog catching mechanism. /// /// @author Don Gagne #include "FileDialogTest.h" #include "QGCQFileDialog.h" FileDialogTest::FileDialogTest(void) { } void FileDialogTest::_fileDialogExpected_test(void) { QStringList response; response << "" << "response"; for (int i=0; i responseList; QStringList list; responseList.append(QStringList()); responseList.append(QStringList("response1")); list << "response1" << "response2"; responseList.append(list); for (int i=0; i