1 | import unittest |
---|
2 | |
---|
3 | from UnitTesting import AboutBoxTest |
---|
4 | from UnitTesting import AddTextTest |
---|
5 | from UnitTesting import DataExplorerTest |
---|
6 | from UnitTesting import WelcomePanelTest |
---|
7 | from UnitTesting import DroppableDataLoadWidgetTest |
---|
8 | from UnitTesting import GuiManagerTest |
---|
9 | from UnitTesting import GuiUtilsTest |
---|
10 | from UnitTesting import MainWindowTest |
---|
11 | from UnitTesting import TestUtilsTest |
---|
12 | from UnitTesting import PlotHelperTest |
---|
13 | from UnitTesting import PlotterBaseTest |
---|
14 | from UnitTesting import PlotterTest |
---|
15 | from UnitTesting import Plotter2DTest |
---|
16 | from UnitTesting import SasviewLoggerTest |
---|
17 | from UnitTesting import ScalePropertiesTest |
---|
18 | from UnitTesting import KiessigCalculatorTest |
---|
19 | from UnitTesting import DensityCalculatorTest |
---|
20 | from UnitTesting import WindowTitleTest |
---|
21 | from UnitTesting import SetGraphRangeTest |
---|
22 | from UnitTesting import LinearFitTest |
---|
23 | from UnitTesting import PlotPropertiesTest |
---|
24 | from UnitTesting import PlotUtilitiesTest |
---|
25 | from UnitTesting import ColorMapTest |
---|
26 | from UnitTesting import BoxSumTest |
---|
27 | from UnitTesting import SlicerModelTest |
---|
28 | from UnitTesting import SlicerParametersTest |
---|
29 | |
---|
30 | # Perspectives |
---|
31 | import path_prepare |
---|
32 | from Perspectives.Fitting.UnitTesting import FittingWidgetTest |
---|
33 | from Perspectives.Fitting.UnitTesting import FittingPerspectiveTest |
---|
34 | from Perspectives.Fitting.UnitTesting import FittingLogicTest |
---|
35 | from Perspectives.Fitting.UnitTesting import FittingUtilitiesTest |
---|
36 | |
---|
37 | |
---|
38 | def 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 | |
---|
73 | if __name__ == "__main__": |
---|
74 | unittest.main(defaultTest="suite") |
---|
75 | |
---|