Ignore:
Timestamp:
Jan 4, 2017 4:35:08 AM (6 years ago)
Author:
Piotr Rozyczko <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:
570a58f9
Parents:
257bd57
Message:

Plot specific part of the context menu SASVIEW-427

File:
1 edited

Legend:

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

    r257bd57 raadf0af1  
    3131                           dy=[0.1, 0.2, 0.3]) 
    3232        self.data.title="Test data" 
     33        self.data.name="Test name" 
    3334        self.data.id = 1 
    3435 
     
    4243 
    4344        self.assertEqual(self.plotter.data, self.data) 
    44         self.assertEqual(self.plotter._title, self.data.title) 
     45        self.assertEqual(self.plotter._title, self.data.name) 
    4546        self.assertEqual(self.plotter.xLabel, "$()$") 
    4647        self.assertEqual(self.plotter.yLabel, "$()$") 
     
    7071    def testContextMenuQuickPlot(self): 
    7172        """ Test the right click menu """ 
     73        self.plotter.createContextMenuQuick() 
    7274        actions = self.plotter.contextMenu.actions() 
    7375        self.assertEqual(len(actions), 7) 
Note: See TracChangeset for help on using the changeset viewer.