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

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 c416a17 was 1bc27f1, checked in by Piotr Rozyczko <rozyczko@…>, 8 years ago

Code review fixes SASVIEW-588
Pylint related fixes in Perspectives/Fitting?

  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[0fc37fea]1import unittest
2
[83eb5208]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
[28a09b0]31from Calculators.UnitTesting import GenericScatteringCalculatorTest
[83eb5208]32
33# Utilities
34from Utilities.UnitTesting import GuiUtilsTest
35from Utilities.UnitTesting import SasviewLoggerTest
36
37# Unit Testing
[0fc37fea]38from UnitTesting import TestUtilsTest
39
[811bec1]40# Perspectives
41import path_prepare
42from Perspectives.Fitting.UnitTesting import FittingWidgetTest
43from Perspectives.Fitting.UnitTesting import FittingPerspectiveTest
[7248d75d]44from Perspectives.Fitting.UnitTesting import FittingLogicTest
45from Perspectives.Fitting.UnitTesting import FittingUtilitiesTest
[672b8ab]46from Perspectives.Fitting.UnitTesting import FitPageTest
[811bec1]47
48
[0fc37fea]49def suite():
50    suites = (
[83eb5208]51        # Plotting
[1bc27f1]52        unittest.makeSuite(PlotHelperTest.PlotHelperTest,             'test'),
53        unittest.makeSuite(PlotterTest.PlotterTest,                   'test'),
54        unittest.makeSuite(WindowTitleTest.WindowTitleTest,           'test'),
55        unittest.makeSuite(PlotterBaseTest.PlotterBaseTest,           'test'),
56        unittest.makeSuite(Plotter2DTest.Plotter2DTest,               'test'),
57        unittest.makeSuite(AddTextTest.AddTextTest,                   'test'),
58        unittest.makeSuite(ScalePropertiesTest.ScalePropertiesTest,   'test'),
59        unittest.makeSuite(SetGraphRangeTest.SetGraphRangeTest,       'test'),
60        unittest.makeSuite(LinearFitTest.LinearFitTest,               'test'),
61        unittest.makeSuite(PlotPropertiesTest.PlotPropertiesTest,     'test'),
62        unittest.makeSuite(PlotUtilitiesTest.PlotUtilitiesTest,       'test'),
63        unittest.makeSuite(ColorMapTest.ColorMapTest,                 'test'),
64        unittest.makeSuite(BoxSumTest.BoxSumTest,                     'test'),
65        unittest.makeSuite(SlicerModelTest.SlicerModelTest,           'test'),
66        unittest.makeSuite(SlicerParametersTest.SlicerParametersTest, 'test'),
[83eb5208]67
[1bc27f1]68        # Main window
69        unittest.makeSuite(AboutBoxTest.AboutBoxTest,          'test'),
70        unittest.makeSuite(DataExplorerTest.DataExplorerTest,  'test'),
71        unittest.makeSuite(WelcomePanelTest.WelcomePanelTest,  'test'),
72        unittest.makeSuite(DroppableDataLoadWidgetTest.DroppableDataLoadWidgetTest, 'test'),
73        unittest.makeSuite(GuiManagerTest.GuiManagerTest,      'test'),
74        unittest.makeSuite(GuiUtilsTest.GuiUtilsTest,          'test'),
75        unittest.makeSuite(MainWindowTest.MainWindowTest,      'test'),
[83eb5208]76
[1bc27f1]77        # Utilities
78        unittest.makeSuite(TestUtilsTest.TestUtilsTest,         'test'),
79        unittest.makeSuite(SasviewLoggerTest.SasviewLoggerTest, 'test'),
[83eb5208]80
[1bc27f1]81        # Calculators
82        unittest.makeSuite(KiessigCalculatorTest.KiessigCalculatorTest,                     'test'),
83        unittest.makeSuite(DensityCalculatorTest.DensityCalculatorTest,                     'test'),
84        unittest.makeSuite(GenericScatteringCalculatorTest.GenericScatteringCalculatorTest, 'test'),
[83eb5208]85
[1bc27f1]86        # Perspectives
87        unittest.makeSuite(FittingPerspectiveTest.FittingPerspectiveTest, 'test'),
[672b8ab]88        unittest.makeSuite(FittingWidgetTest.FittingWidgetTest,           'test'),
[1bc27f1]89        unittest.makeSuite(FittingLogicTest.FittingLogicTest,             'test'),
90        unittest.makeSuite(FittingUtilitiesTest.FittingUtilitiesTest,     'test'),
[672b8ab]91        unittest.makeSuite(FitPageTest.FitPageTest,                       'test'),
[0fc37fea]92    )
93    return unittest.TestSuite(suites)
94
95if __name__ == "__main__":
96    unittest.main(defaultTest="suite")
97
Note: See TracBrowser for help on using the repository browser.