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 | def suite(): |
---|
31 | suites = ( |
---|
32 | unittest.makeSuite(AboutBoxTest.AboutBoxTest, 'test'), |
---|
33 | unittest.makeSuite(AddTextTest.AddTextTest, 'test'), |
---|
34 | unittest.makeSuite(DataExplorerTest.DataExplorerTest, 'test'), |
---|
35 | unittest.makeSuite(WelcomePanelTest.WelcomePanelTest, 'test'), |
---|
36 | unittest.makeSuite(DroppableDataLoadWidgetTest.DroppableDataLoadWidgetTest, 'test'), |
---|
37 | unittest.makeSuite(GuiManagerTest.GuiManagerTest, 'test'), |
---|
38 | unittest.makeSuite(GuiUtilsTest.GuiUtilsTest, 'test'), |
---|
39 | unittest.makeSuite(MainWindowTest.MainWindowTest, 'test'), |
---|
40 | unittest.makeSuite(TestUtilsTest.TestUtilsTest, 'test'), |
---|
41 | unittest.makeSuite(PlotHelperTest.PlotHelperTest, 'test'), |
---|
42 | unittest.makeSuite(PlotterBaseTest.PlotterBaseTest, 'test'), |
---|
43 | unittest.makeSuite(PlotterTest.PlotterTest, 'test'), |
---|
44 | unittest.makeSuite(Plotter2DTest.Plotter2DTest, 'test'), |
---|
45 | unittest.makeSuite(SasviewLoggerTest.SasviewLoggerTest, 'test'), |
---|
46 | unittest.makeSuite(ScalePropertiesTest.ScalePropertiesTest, 'test'), |
---|
47 | unittest.makeSuite(KiessigCalculatorTest.KiessigCalculatorTest, 'test'), |
---|
48 | unittest.makeSuite(DensityCalculatorTest.DensityCalculatorTest, 'test'), |
---|
49 | unittest.makeSuite(WindowTitleTest.WindowTitleTest, 'test'), |
---|
50 | unittest.makeSuite(SetGraphRangeTest.SetGraphRangeTest, 'test'), |
---|
51 | unittest.makeSuite(LinearFitTest.LinearFitTest, 'test'), |
---|
52 | unittest.makeSuite(PlotPropertiesTest.PlotPropertiesTest, 'test'), |
---|
53 | unittest.makeSuite(PlotUtilitiesTest.PlotUtilitiesTest, 'test'), |
---|
54 | unittest.makeSuite(ColorMapTest.ColorMapTest, 'test'), |
---|
55 | unittest.makeSuite(BoxSumTest.BoxSumTest, 'test'), |
---|
56 | unittest.makeSuite(SlicerModelTest.SlicerModelTest, 'test'), |
---|
57 | unittest.makeSuite(SlicerParametersTest.SlicerParametersTest, 'test'), |
---|
58 | ) |
---|
59 | return unittest.TestSuite(suites) |
---|
60 | |
---|
61 | if __name__ == "__main__": |
---|
62 | unittest.main(defaultTest="suite") |
---|
63 | |
---|