source: sasview/src/sas/qtgui/GUITests.py @ 98b13f72

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 98b13f72 was 83eb5208, checked in by Piotr Rozyczko <rozyczko@…>, 8 years ago

Putting files in more ordered fashion

  • Property mode set to 100644
File size: 4.1 KB
Line 
1import unittest
2
3# Main Window
4from MainWindow.UnitTesting import AboutBoxTest
5from MainWindow.UnitTesting import DataExplorerTest
6from MainWindow.UnitTesting import WelcomePanelTest
7from MainWindow.UnitTesting import DroppableDataLoadWidgetTest
8from MainWindow.UnitTesting import GuiManagerTest
9from MainWindow.UnitTesting import MainWindowTest
10
11# Plotting
12from Plotting.UnitTesting import AddTextTest
13from Plotting.UnitTesting import PlotHelperTest
14from Plotting.UnitTesting import PlotterBaseTest
15from Plotting.UnitTesting import PlotterTest
16from Plotting.UnitTesting import Plotter2DTest
17from Plotting.UnitTesting import ScalePropertiesTest
18from Plotting.UnitTesting import WindowTitleTest
19from Plotting.UnitTesting import SetGraphRangeTest
20from Plotting.UnitTesting import LinearFitTest
21from Plotting.UnitTesting import PlotPropertiesTest
22from Plotting.UnitTesting import PlotUtilitiesTest
23from Plotting.UnitTesting import ColorMapTest
24from Plotting.UnitTesting import BoxSumTest
25from Plotting.UnitTesting import SlicerModelTest
26from Plotting.UnitTesting import SlicerParametersTest
27
28# Calculators
29from Calculators.UnitTesting import KiessigCalculatorTest
30from Calculators.UnitTesting import DensityCalculatorTest
31
32# Utilities
33from Utilities.UnitTesting import GuiUtilsTest
34from Utilities.UnitTesting import SasviewLoggerTest
35
36# Unit Testing
37from UnitTesting import TestUtilsTest
38
39# Perspectives
40import path_prepare
41from Perspectives.Fitting.UnitTesting import FittingWidgetTest
42from Perspectives.Fitting.UnitTesting import FittingPerspectiveTest
43from Perspectives.Fitting.UnitTesting import FittingLogicTest
44from Perspectives.Fitting.UnitTesting import FittingUtilitiesTest
45
46
47def suite():
48    suites = (
49        # Plotting
50        unittest.makeSuite(PlotHelperTest.PlotHelperTest,       'test'),
51        unittest.makeSuite(PlotterTest.PlotterTest,          'test'),
52        unittest.makeSuite(WindowTitleTest.WindowTitleTest, 'test'),
53        unittest.makeSuite(PlotterBaseTest.PlotterBaseTest,     'test'),
54        unittest.makeSuite(Plotter2DTest.Plotter2DTest,        'test'),
55        unittest.makeSuite(AddTextTest.AddTextTest,          'test'),
56        unittest.makeSuite(ScalePropertiesTest.ScalePropertiesTest,  'test'),
57        unittest.makeSuite(SetGraphRangeTest.SetGraphRangeTest, 'test'),
58        unittest.makeSuite(LinearFitTest.LinearFitTest, 'test'),
59        unittest.makeSuite(PlotPropertiesTest.PlotPropertiesTest, 'test'),
60        unittest.makeSuite(PlotUtilitiesTest.PlotUtilitiesTest, 'test'),
61        unittest.makeSuite(ColorMapTest.ColorMapTest, 'test'),
62        unittest.makeSuite(BoxSumTest.BoxSumTest, 'test'),
63        unittest.makeSuite(SlicerModelTest.SlicerModelTest, 'test'),
64        unittest.makeSuite(SlicerParametersTest.SlicerParametersTest, 'test'),
65
66        # Main window
67        unittest.makeSuite(AboutBoxTest.AboutBoxTest,          'test'),
68        unittest.makeSuite(DataExplorerTest.DataExplorerTest,  'test'),
69        unittest.makeSuite(WelcomePanelTest.WelcomePanelTest,  'test'),
70        unittest.makeSuite(DroppableDataLoadWidgetTest.DroppableDataLoadWidgetTest, 'test'),
71        unittest.makeSuite(GuiManagerTest.GuiManagerTest,      'test'),
72        unittest.makeSuite(GuiUtilsTest.GuiUtilsTest,          'test'),
73        unittest.makeSuite(MainWindowTest.MainWindowTest,      'test'),
74
75        # Utilities
76        unittest.makeSuite(TestUtilsTest.TestUtilsTest,        'test'),
77        unittest.makeSuite(SasviewLoggerTest.SasviewLoggerTest,    'test'),
78
79        # Calculators
80        unittest.makeSuite(KiessigCalculatorTest.KiessigCalculatorTest, 'test'),
81        unittest.makeSuite(DensityCalculatorTest.DensityCalculatorTest, 'test'),
82
83        # Perspectives
84        unittest.makeSuite(FittingPerspectiveTest.FittingPerspectiveTest, 'test'),
85        unittest.makeSuite(FittingWidgetTest.FittingWidgetTest, 'test'),
86        unittest.makeSuite(FittingLogicTest.FittingLogicTest, 'test'),
87        unittest.makeSuite(FittingUtilitiesTest.FittingUtilitiesTest, 'test'),
88    )
89    return unittest.TestSuite(suites)
90
91if __name__ == "__main__":
92    unittest.main(defaultTest="suite")
93
Note: See TracBrowser for help on using the repository browser.