Ignore:
Timestamp:
Jul 4, 2016 5:32:49 AM (8 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
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
Message:

Modified Data Explorer slightly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/UnitTesting/DroppableDataLoadWidgetTest.py

    rf82ab8c r481ff26  
    66from PyQt4.QtCore import Qt 
    77from DroppableDataLoadWidget import DroppableDataLoadWidget 
     8from GuiUtils import * 
    89 
    910app = QApplication(sys.argv) 
     
    1314    def setUp(self): 
    1415        '''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 
    1636 
    1737if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.