Ignore:
Timestamp:
Sep 3, 2018 8:12:41 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
8274471e
Parents:
f4a6f2c
Message:

Added subitems to the selection logic - SASVIEW-999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py

    r573c383 ra24eacf  
    7171        self.assertEqual(self.form.cmdFreeze.text(), "Freeze Theory") 
    7272        self.assertEqual(self.form.cmdSendTo.text(), "Send data to") 
    73         self.assertEqual(self.form.cmdSendTo.iconSize(), QSize(48, 48)) 
     73        self.assertEqual(self.form.cmdSendTo.iconSize(), QSize(32, 32)) 
    7474        self.assertIsInstance(self.form.cmdSendTo.icon(), QIcon) 
    7575        self.assertEqual(self.form.chkBatch.text(), "Batch mode") 
     
    352352        # Test the current selection 
    353353        self.assertTrue(item1D.checkState() == Qt.Checked) 
    354         self.assertTrue(item2D.checkState() == Qt.Unchecked)         
     354        self.assertTrue(item2D.checkState() == Qt.Checked) 
    355355 
    356356        # unselect 1d data 
     
    359359        # Test the current selection 
    360360        self.assertTrue(item1D.checkState() == Qt.Unchecked) 
    361         self.assertTrue(item2D.checkState() == Qt.Unchecked)         
     361        self.assertTrue(item2D.checkState() == Qt.Checked) 
    362362 
    363363        # select 2d data 
Note: See TracChangeset for help on using the changeset viewer.