source: sasview/src/sas/qtgui/GUITests.py @ 9f25bce

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 9f25bce was 7248d75d, checked in by Piotr Rozyczko <rozyczko@…>, 8 years ago

More unit tests for fitting perspective components - SASVIEW-499

  • Property mode set to 100644
File size: 3.7 KB
RevLine 
[0fc37fea]1import unittest
2
3from UnitTesting import AboutBoxTest
[9290b1a]4from UnitTesting import AddTextTest
[0fc37fea]5from UnitTesting import DataExplorerTest
6from UnitTesting import WelcomePanelTest
7from UnitTesting import DroppableDataLoadWidgetTest
8from UnitTesting import GuiManagerTest
9from UnitTesting import GuiUtilsTest
10from UnitTesting import MainWindowTest
11from UnitTesting import TestUtilsTest
[64f1e93]12from UnitTesting import PlotHelperTest
[3b7b218]13from UnitTesting import PlotterBaseTest
[64f1e93]14from UnitTesting import PlotterTest
15from UnitTesting import Plotter2DTest
16from UnitTesting import SasviewLoggerTest
17from UnitTesting import ScalePropertiesTest
18from UnitTesting import KiessigCalculatorTest
19from UnitTesting import DensityCalculatorTest
[27313b7]20from UnitTesting import WindowTitleTest
[d3ca363]21from UnitTesting import SetGraphRangeTest
[b46f285]22from UnitTesting import LinearFitTest
[87cc73a]23from UnitTesting import PlotPropertiesTest
24from UnitTesting import PlotUtilitiesTest
[092a3d9]25from UnitTesting import ColorMapTest
[3bdbfcc]26from UnitTesting import BoxSumTest
27from UnitTesting import SlicerModelTest
[57b7ee2]28from UnitTesting import SlicerParametersTest
[0fc37fea]29
[811bec1]30# Perspectives
31import path_prepare
32from Perspectives.Fitting.UnitTesting import FittingWidgetTest
33from Perspectives.Fitting.UnitTesting import FittingPerspectiveTest
[7248d75d]34from Perspectives.Fitting.UnitTesting import FittingLogicTest
35from Perspectives.Fitting.UnitTesting import FittingUtilitiesTest
[811bec1]36
37
[0fc37fea]38def suite():
39    suites = (
[64f1e93]40        unittest.makeSuite(AboutBoxTest.AboutBoxTest,          'test'),
[9290b1a]41        unittest.makeSuite(AddTextTest.AddTextTest,          'test'),
[64f1e93]42        unittest.makeSuite(DataExplorerTest.DataExplorerTest,  'test'),
43        unittest.makeSuite(WelcomePanelTest.WelcomePanelTest,  'test'),
[0fc37fea]44        unittest.makeSuite(DroppableDataLoadWidgetTest.DroppableDataLoadWidgetTest, 'test'),
[64f1e93]45        unittest.makeSuite(GuiManagerTest.GuiManagerTest,      'test'),
46        unittest.makeSuite(GuiUtilsTest.GuiUtilsTest,          'test'),
47        unittest.makeSuite(MainWindowTest.MainWindowTest,      'test'),
48        unittest.makeSuite(TestUtilsTest.TestUtilsTest,        'test'),
49        unittest.makeSuite(PlotHelperTest.PlotHelperTest,       'test'),
[3b7b218]50        unittest.makeSuite(PlotterBaseTest.PlotterBaseTest,     'test'),
[64f1e93]51        unittest.makeSuite(PlotterTest.PlotterTest,          'test'),
52        unittest.makeSuite(Plotter2DTest.Plotter2DTest,        'test'),
53        unittest.makeSuite(SasviewLoggerTest.SasviewLoggerTest,    'test'),
54        unittest.makeSuite(ScalePropertiesTest.ScalePropertiesTest,  'test'),
55        unittest.makeSuite(KiessigCalculatorTest.KiessigCalculatorTest, 'test'),
56        unittest.makeSuite(DensityCalculatorTest.DensityCalculatorTest, 'test'),
[27313b7]57        unittest.makeSuite(WindowTitleTest.WindowTitleTest, 'test'),
[d3ca363]58        unittest.makeSuite(SetGraphRangeTest.SetGraphRangeTest, 'test'),
[b46f285]59        unittest.makeSuite(LinearFitTest.LinearFitTest, 'test'),
[87cc73a]60        unittest.makeSuite(PlotPropertiesTest.PlotPropertiesTest, 'test'),
61        unittest.makeSuite(PlotUtilitiesTest.PlotUtilitiesTest, 'test'),
[092a3d9]62        unittest.makeSuite(ColorMapTest.ColorMapTest, 'test'),
[3bdbfcc]63        unittest.makeSuite(BoxSumTest.BoxSumTest, 'test'),
64        unittest.makeSuite(SlicerModelTest.SlicerModelTest, 'test'),
[57b7ee2]65        unittest.makeSuite(SlicerParametersTest.SlicerParametersTest, 'test'),
[811bec1]66        unittest.makeSuite(FittingPerspectiveTest.FittingPerspectiveTest, 'test'),
67        unittest.makeSuite(FittingWidgetTest.FittingWidgetTest, 'test'),
[7248d75d]68        unittest.makeSuite(FittingLogicTest.FittingLogicTest, 'test'),
69        unittest.makeSuite(FittingUtilitiesTest.FittingUtilitiesTest, 'test'),
[0fc37fea]70    )
71    return unittest.TestSuite(suites)
72
73if __name__ == "__main__":
74    unittest.main(defaultTest="suite")
75
Note: See TracBrowser for help on using the repository browser.