@classmethod<EOL><INDENT>def setUpClass(cls):<DEDENT>
cls._app = QtGui.QApplication.instance()<EOL>if cls._app is None:<EOL><INDENT>cls._app = QtGui.QApplication([])<EOL><DEDENT>cls._app.setQuitOnLastWindowClosed(False)<EOL>
Create the application for the test case.