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 | |
---|
23 | def suite(): |
---|
24 | suites = ( |
---|
25 | unittest.makeSuite(AboutBoxTest.AboutBoxTest, 'test'), |
---|
26 | unittest.makeSuite(AddTextTest.AddTextTest, 'test'), |
---|
27 | unittest.makeSuite(DataExplorerTest.DataExplorerTest, 'test'), |
---|
28 | unittest.makeSuite(WelcomePanelTest.WelcomePanelTest, 'test'), |
---|
29 | unittest.makeSuite(DroppableDataLoadWidgetTest.DroppableDataLoadWidgetTest, 'test'), |
---|
30 | unittest.makeSuite(GuiManagerTest.GuiManagerTest, 'test'), |
---|
31 | unittest.makeSuite(GuiUtilsTest.GuiUtilsTest, 'test'), |
---|
32 | unittest.makeSuite(MainWindowTest.MainWindowTest, 'test'), |
---|
33 | unittest.makeSuite(TestUtilsTest.TestUtilsTest, 'test'), |
---|
34 | unittest.makeSuite(PlotHelperTest.PlotHelperTest, 'test'), |
---|
35 | unittest.makeSuite(PlotterBaseTest.PlotterBaseTest, 'test'), |
---|
36 | unittest.makeSuite(PlotterTest.PlotterTest, 'test'), |
---|
37 | unittest.makeSuite(Plotter2DTest.Plotter2DTest, 'test'), |
---|
38 | unittest.makeSuite(SasviewLoggerTest.SasviewLoggerTest, 'test'), |
---|
39 | unittest.makeSuite(ScalePropertiesTest.ScalePropertiesTest, 'test'), |
---|
40 | unittest.makeSuite(KiessigCalculatorTest.KiessigCalculatorTest, 'test'), |
---|
41 | unittest.makeSuite(DensityCalculatorTest.DensityCalculatorTest, 'test'), |
---|
42 | unittest.makeSuite(WindowTitleTest.WindowTitleTest, 'test'), |
---|
43 | unittest.makeSuite(SetGraphRangeTest.SetGraphRangeTest, 'test'), |
---|
44 | ) |
---|
45 | return unittest.TestSuite(suites) |
---|
46 | |
---|
47 | if __name__ == "__main__": |
---|
48 | unittest.main(defaultTest="suite") |
---|
49 | |
---|