source: sasview/src/sas/qtgui/UnitTesting/GuiManagerTest.py @ 488c49d

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 488c49d was 488c49d, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 8 years ago

Hold data objects in model. Added more Data Explorer functionality. Added unit tests.

  • Property mode set to 100755
File size: 1006 bytes
RevLine 
[488c49d]1import sys
2import unittest
3
4from PyQt4.QtGui import *
5from PyQt4.QtTest import QTest
6from PyQt4.QtCore import *
7from mock import MagicMock
8
9# Local
10from GuiManager import GuiManager
11
12#app = QApplication(sys.argv)
13
14class GuiManagerTest(unittest.TestCase):
15    '''Test the WelcomePanel'''
16    def setUp(self):
17        '''Create the tested object'''
18
19        self.manager = GuiManager(None)
20
21    def tearDown(self):
22        '''Destroy the GUI'''
23        self.manager = None
24
25    def testDefaults(self):
26        '''Test the object in its default state'''
27        pass
28       
29    def testUpdatePerspective(self):
30        """
31        """
32        pass
33
34    def testUpdateStatusBar(self):
35        """
36        """
37        pass
38
39    def testSetData(self):
40        """
41        """
42        pass
43
44    def testSetData(self):
45        """
46        """
47        pass
48
49    def testActions(self):
50        """
51        """
52        pass
53
54    # test each action separately
55       
56if __name__ == "__main__":
57    unittest.main()
58
Note: See TracBrowser for help on using the repository browser.