Changeset 28a84e9 in sasview for src/sas/qtgui/UnitTesting/GuiUtilsTest.py
- Timestamp:
- Jul 30, 2016 4:22:07 PM (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:
- 39551a68
- Parents:
- 4b71e91
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/UnitTesting/GuiUtilsTest.py
re540cd2 r28a84e9 13 13 # Tested module 14 14 from GuiUtils import * 15 16 class FakeData(object): 17 '''Data1D/2D object for testing''' 18 def __init__(self): 19 self.x = [] 20 self.y = [] 15 21 16 22 class GuiUtilsTest(unittest.TestCase): … … 189 195 openLink(bad_url3) 190 196 197 def testRetrieveData1d(self): 198 """ 199 """ 200 self.assertRaises(retrieveData1d("BOOP")) 201 202 # data = FakeData() 203 pass 204 205 def testRetrieveData2d(self): 206 """ 207 """ 208 pass 209 210 def testOnTXTSave(self): 211 """ 212 """ 213 pass 214 215 def testSaveData1D(self): 216 """ 217 """ 218 pass 219 220 def testSaveData2D(self): 221 """ 222 """ 223 pass 224 191 225 if __name__ == "__main__": 192 226 unittest.main()
Note: See TracChangeset
for help on using the changeset viewer.