2013-12-08 22:44:43 +01:00
|
|
|
/*
|
|
|
|
* Author: Harry van Haaren 2013
|
|
|
|
* harryhaaren@gmail.com
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2013-11-21 15:43:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
#include "../goptions.hxx"
|
|
|
|
|
|
|
|
#ifdef BUILD_TESTS
|
|
|
|
|
|
|
|
#include "../config.hxx"
|
|
|
|
#include "qunit.hxx"
|
|
|
|
|
2013-11-23 01:14:53 +01:00
|
|
|
int OptionsWindow::runTests()
|
2013-11-21 15:43:22 +01:00
|
|
|
{
|
|
|
|
QUnit::UnitTest qunit( QUnit::normal, true );
|
|
|
|
|
|
|
|
OptionsWindow opts;
|
2013-11-23 01:14:53 +01:00
|
|
|
//opts.show();
|
|
|
|
//Fl::run();
|
2013-11-21 15:43:22 +01:00
|
|
|
|
|
|
|
//QUNIT_IS_TRUE( jack->getGridLogic()->getLaunchedScene() == s );
|
2013-11-23 01:14:53 +01:00
|
|
|
return 0;
|
2013-11-21 15:43:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // BUILD_TESTS
|
|
|
|
|