def test_qtFramework(self): ''' Test the parts that we can. Currently unable to test startApplicaton() b/c it would start an event loop which we'd be unable to stop. ''' ViewFactory.selectFramework("qt", self.model) ViewFactory.createResultView() ViewFactory.createStatisticView()
def test_runView(self): ''' Runs the view to make sure nothing explodes. ''' model = Model.setupModel("Boost", computeDataFilepath("../../Model/sample/Boost_Test", __file__), False) from TestParser.Common.ViewFactory import ViewFactory ViewFactory.selectFramework("text", model) ViewFactory.createResultView() ViewFactory.startApplication()
def test_tkinterFramework(self): ViewFactory.selectFramework("tkinter", self.model) ViewFactory.createResultView() ViewFactory.createStatisticView()