source: sasview/src/sas/qtgui/GUITests.py @ d7ff531

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 d7ff531 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
Line 
1import unittest
2
3from UnitTesting import AboutBoxTest
4from UnitTesting import AddTextTest
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
12from UnitTesting import PlotHelperTest
13from UnitTesting import PlotterBaseTest
14from UnitTesting import PlotterTest
15from UnitTesting import Plotter2DTest
16from UnitTesting import SasviewLoggerTest
17from UnitTesting import ScalePropertiesTest
18from UnitTesting import KiessigCalculatorTest
19from UnitTesting import DensityCalculatorTest
20from UnitTesting import WindowTitleTest
21from UnitTesting import SetGraphRangeTest
22from UnitTesting import LinearFitTest
23from UnitTesting import PlotPropertiesTest
24from UnitTesting import PlotUtilitiesTest
25from UnitTesting import ColorMapTest
26from UnitTesting import BoxSumTest
27from UnitTesting import SlicerModelTest
28from UnitTesting import SlicerParametersTest
29
30# Perspectives
31import path_prepare
32from Perspectives.Fitting.UnitTesting import FittingWidgetTest
33from Perspectives.Fitting.UnitTesting import FittingPerspectiveTest
34from Perspectives.Fitting.UnitTesting import FittingLogicTest
35from Perspectives.Fitting.UnitTesting import FittingUtilitiesTest
36
37
38def suite():
39    suites = (
40        unittest.makeSuite(AboutBoxTest.AboutBoxTest,          'test'),
41        unittest.makeSuite(AddTextTest.AddTextTest,          'test'),
42        unittest.makeSuite(DataExplorerTest.DataExplorerTest,  'test'),
43        unittest.makeSuite(WelcomePanelTest.WelcomePanelTest,  'test'),
44        unittest.makeSuite(DroppableDataLoadWidgetTest.DroppableDataLoadWidgetTest, 'test'),
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'),
50        unittest.makeSuite(PlotterBaseTest.PlotterBaseTest,     'test'),
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'),
57        unittest.makeSuite(WindowTitleTest.WindowTitleTest, 'test'),
58        unittest.makeSuite(SetGraphRangeTest.SetGraphRangeTest, 'test'),
59        unittest.makeSuite(LinearFitTest.LinearFitTest, 'test'),
60        unittest.makeSuite(PlotPropertiesTest.PlotPropertiesTest, 'test'),
61        unittest.makeSuite(PlotUtilitiesTest.PlotUtilitiesTest, 'test'),
62        unittest.makeSuite(ColorMapTest.ColorMapTest, 'test'),
63        unittest.makeSuite(BoxSumTest.BoxSumTest, 'test'),
64        unittest.makeSuite(SlicerModelTest.SlicerModelTest, 'test'),
65        unittest.makeSuite(SlicerParametersTest.SlicerParametersTest, 'test'),
66        unittest.makeSuite(FittingPerspectiveTest.FittingPerspectiveTest, 'test'),
67        unittest.makeSuite(FittingWidgetTest.FittingWidgetTest, 'test'),
68        unittest.makeSuite(FittingLogicTest.FittingLogicTest, 'test'),
69        unittest.makeSuite(FittingUtilitiesTest.FittingUtilitiesTest, 'test'),
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.