Changeset 965fbd8 in sasview for src/sas/qtgui/UnitTesting
- Timestamp:
- Feb 2, 2017 9:09:39 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:
- b789967
- Parents:
- 3bdbfcc
- Location:
- src/sas/qtgui/UnitTesting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/UnitTesting/DataExplorerTest.py
rcad617b r965fbd8 592 592 p_file="cyl_400_20.txt" 593 593 output_object = loader.load(p_file) 594 new_data = [manager.create_gui_data(output_object, p_file)] 594 output_item = QtGui.QStandardItem() 595 new_data = [(output_item, manager.create_gui_data(output_object, p_file))] 595 596 596 597 # Mask plotting -
src/sas/qtgui/UnitTesting/GuiUtilsTest.py
rb46f285 r965fbd8 159 159 # Make sure only the checked data is present 160 160 # FRIDAY IN 161 self.assertIn(test_list0, plot_list )161 self.assertIn(test_list0, plot_list[0]) 162 162 # SATURDAY IN 163 self.assertIn(test_list1, plot_list )163 self.assertIn(test_list1, plot_list[1]) 164 164 # MONDAY NOT IN 165 self.assertNotIn(test_list2, plot_list) 165 self.assertNotIn(test_list2, plot_list[0]) 166 self.assertNotIn(test_list2, plot_list[1]) 166 167 167 168 def testInfoFromData(self): -
src/sas/qtgui/UnitTesting/Plotter2DTest.py
- Property mode changed from 100755 to 100644
r3bdbfcc r965fbd8 100 100 101 101 self.assertEqual(self.plotter.cmap, "jet") 102 self.assert Equal(self.plotter.vmin, -0.1)103 self.assert Equal(self.plotter.vmax, 0.1)102 self.assertAlmostEqual(self.plotter.vmin, 0.1, 6) 103 self.assertAlmostEqual(self.plotter.vmax, 1e+20, 6) 104 104 105 105 def testOnToggleScale(self):
Note: See TracChangeset
for help on using the changeset viewer.