1 | import unittest |
---|
2 | |
---|
3 | from UnitTesting import AboutBoxTest |
---|
4 | from UnitTesting import DataExplorerTest |
---|
5 | from UnitTesting import WelcomePanelTest |
---|
6 | from UnitTesting import DroppableDataLoadWidgetTest |
---|
7 | from UnitTesting import GuiManagerTest |
---|
8 | from UnitTesting import GuiUtilsTest |
---|
9 | from UnitTesting import MainWindowTest |
---|
10 | from UnitTesting import TestUtilsTest |
---|
11 | from UnitTesting import PlotHelperTest |
---|
12 | from UnitTesting import PlotterBaseTest |
---|
13 | from UnitTesting import PlotterTest |
---|
14 | from UnitTesting import Plotter2DTest |
---|
15 | from UnitTesting import SasviewLoggerTest |
---|
16 | from UnitTesting import ScalePropertiesTest |
---|
17 | from UnitTesting import KiessigCalculatorTest |
---|
18 | from UnitTesting import DensityCalculatorTest |
---|
19 | from UnitTesting import WindowTitleTest |
---|
20 | |
---|
21 | def suite(): |
---|
22 | suites = ( |
---|
23 | unittest.makeSuite(AboutBoxTest.AboutBoxTest, 'test'), |
---|
24 | unittest.makeSuite(DataExplorerTest.DataExplorerTest, 'test'), |
---|
25 | unittest.makeSuite(WelcomePanelTest.WelcomePanelTest, 'test'), |
---|
26 | unittest.makeSuite(DroppableDataLoadWidgetTest.DroppableDataLoadWidgetTest, 'test'), |
---|
27 | unittest.makeSuite(GuiManagerTest.GuiManagerTest, 'test'), |
---|
28 | unittest.makeSuite(GuiUtilsTest.GuiUtilsTest, 'test'), |
---|
29 | unittest.makeSuite(MainWindowTest.MainWindowTest, 'test'), |
---|
30 | unittest.makeSuite(TestUtilsTest.TestUtilsTest, 'test'), |
---|
31 | unittest.makeSuite(PlotHelperTest.PlotHelperTest, 'test'), |
---|
32 | unittest.makeSuite(PlotterBaseTest.PlotterBaseTest, 'test'), |
---|
33 | unittest.makeSuite(PlotterTest.PlotterTest, 'test'), |
---|
34 | unittest.makeSuite(Plotter2DTest.Plotter2DTest, 'test'), |
---|
35 | unittest.makeSuite(SasviewLoggerTest.SasviewLoggerTest, 'test'), |
---|
36 | unittest.makeSuite(ScalePropertiesTest.ScalePropertiesTest, 'test'), |
---|
37 | unittest.makeSuite(KiessigCalculatorTest.KiessigCalculatorTest, 'test'), |
---|
38 | unittest.makeSuite(DensityCalculatorTest.DensityCalculatorTest, 'test'), |
---|
39 | unittest.makeSuite(WindowTitleTest.WindowTitleTest, 'test'), |
---|
40 | ) |
---|
41 | return unittest.TestSuite(suites) |
---|
42 | |
---|
43 | if __name__ == "__main__": |
---|
44 | unittest.main(defaultTest="suite") |
---|
45 | |
---|