Changeset 481ff26 in sasview for src/sas/qtgui/UnitTesting/DroppableDataLoadWidgetTest.py
- Timestamp:
- Jul 4, 2016 5:32:49 AM (8 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- f0f309d
- Parents:
- f82ab8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/UnitTesting/DroppableDataLoadWidgetTest.py
rf82ab8c r481ff26 6 6 from PyQt4.QtCore import Qt 7 7 from DroppableDataLoadWidget import DroppableDataLoadWidget 8 from GuiUtils import * 8 9 9 10 app = QApplication(sys.argv) … … 13 14 def setUp(self): 14 15 '''Create the GUI''' 15 self.form = DroppableDataLoadWidget() 16 class dummy_manager(object): 17 def communicator(self): 18 return Communicate() 19 def perspective(self): 20 return MyPerspective() 21 22 self.form = DroppableDataLoadWidget(None, guimanager=dummy_manager()) 23 # create dummy mime objects 24 25 def testDragIsOK(self): 26 """ 27 Test the item being dragged over the load widget 28 """ 29 pass 30 31 def testDropEvent(self): 32 """ 33 Test what happens if an object is dropped onto the load widget 34 """ 35 pass 16 36 17 37 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.