MIRA
QtUnitTest.h File Reference

Support for testing Qt GUI components from within boost unit tests. More...

#include <boost/test/unit_test.hpp>
#include <QtGui>
#include <QApplication>
Include dependency graph for QtUnitTest.h:

Go to the source code of this file.

Detailed Description

Support for testing Qt GUI components from within boost unit tests.

Just include this file and you can use the QTest::xyz methods in our BOOST test case to simulate mouse, keyboard events, etc. As an example see gui/tests/gui/GuiTestExample.C

Author
Erik Einhorn
Date
2012/03/22