Exemplo n.º 1
0
class MainWindowTestCase(unittest.TestCase):
    def testRun(self):
        logging.debug(self.__class__.__name__ +': testRun()')
        self.app=Application(sys.argv)
        self.app.mainWindow().setWindowTitle("test MainWindow")
        if not hasattr(unittest,"NO_GUI_TEST"):
            self.app.run()
Exemplo n.º 2
0
class EdmBrowserTestCase(unittest.TestCase):
    def testEdmBrowser(self):
        logging.debug(self.__class__.__name__ +': testRun()')
        self.app=Application(sys.argv)
        self.app.mainWindow().setWindowTitle("test EdmBrowser")
        self.app.openFile(os.path.join(examplesDirectory,"QCDDiJet_Pt50to80_Summer09_RECO_3_1_X_10events.root"))
        if not hasattr(unittest,"NO_GUI_TEST"):
            self.app.run()
Exemplo n.º 3
0
class EdmBrowserTestCase(unittest.TestCase):
    def testEdmBrowser(self):
        logging.debug(self.__class__.__name__ + ': testRun()')
        self.app = Application(sys.argv)
        self.app.mainWindow().setWindowTitle("test EdmBrowser")
        self.app.openFile(
            os.path.join(
                examplesDirectory,
                "QCDDiJet_Pt50to80_Summer09_RECO_3_1_X_10events.root"))
        if not hasattr(unittest, "NO_GUI_TEST"):
            self.app.run()