Changeset 144fe21 in sasview for src/sas/qtgui/MainWindow
- Timestamp:
- Jul 26, 2018 5:30:15 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- dc71408
- Parents:
- e793f62
- git-author:
- Piotr Rozyczko <rozyczko@…> (07/26/18 05:28:51)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (07/26/18 05:30:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/UnitTesting/GuiManagerTest.py
r725d9c06 r144fe21 251 251 252 252 # Check the initial state 253 self.assertFalse(self.manager._workspace.toolBar.isVisible()) 254 self.assertEqual('Show Toolbar', self.manager._workspace.actionHide_Toolbar.text()) 255 256 # Invoke action 257 self.manager.actionHide_Toolbar() 258 259 # Assure changes propagated correctly 253 260 self.assertTrue(self.manager._workspace.toolBar.isVisible()) 254 261 self.assertEqual('Hide Toolbar', self.manager._workspace.actionHide_Toolbar.text()) 255 262 256 # Invoke action263 # Revert 257 264 self.manager.actionHide_Toolbar() 258 265 259 # Assure changes propagated correctly266 # Assure the original values are back 260 267 self.assertFalse(self.manager._workspace.toolBar.isVisible()) 261 268 self.assertEqual('Show Toolbar', self.manager._workspace.actionHide_Toolbar.text()) 262 263 # Revert264 self.manager.actionHide_Toolbar()265 266 # Assure the original values are back267 self.assertTrue(self.manager._workspace.toolBar.isVisible())268 self.assertEqual('Hide Toolbar', self.manager._workspace.actionHide_Toolbar.text())269 269 270 270
Note: See TracChangeset
for help on using the changeset viewer.