Public Member Functions | |
def | callerFile (self) |
def | callerFunc (self) |
def | callerLine (self) |
def | setUp (self) |
def | test00 (self) |
def | test01 (self) |
def | test10 (self) |
def | test11 (self) |
def | test12 (self) |
def | test13 (self) |
def | test14 (self) |
def | test20 (self) |
def | test21 (self) |
def | test30 (self) |
def | test31 (self) |
def | test32 (self) |
def | test33 (self) |
def | test34 (self) |
def | test50 (self) |
def | test51 (self) |
def | test52 (self) |
def | test53 (self) |
def | test60 (self) |
def | test61 (self) |
def | testzz (self) |
Static Public Attributes | |
string | MODULE = "TestPathLog" |
Some basic tests for the logging framework.
def PathTests.TestPathLog.TestPathLog.callerFile | ( | self | ) |
Referenced by PathTests.TestPathLog.TestPathLog.test00().
def PathTests.TestPathLog.TestPathLog.callerFunc | ( | self | ) |
Referenced by PathTests.TestPathLog.TestPathLog.test01().
def PathTests.TestPathLog.TestPathLog.callerLine | ( | self | ) |
def PathTests.TestPathLog.TestPathLog.setUp | ( | self | ) |
def PathTests.TestPathLog.TestPathLog.test00 | ( | self | ) |
Check for proper module extraction.
References PathTests.TestPathLog.TestPathLog.callerFile(), AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
Referenced by PathTests.TestPathTool.TestPathTool.test01(), PathTests.TestPathToolController.TestPathToolController.test01(), PathTests.TestPathTooltable.TestPathTooltable.test01(), PathTests.TestPathTool.TestPathTool.test02(), and PathTests.TestPathTooltable.TestPathTooltable.test02().
def PathTests.TestPathLog.TestPathLog.test01 | ( | self | ) |
Check for proper function extraction.
References PathTests.TestPathLog.TestPathLog.callerFunc().
def PathTests.TestPathLog.TestPathLog.test10 | ( | self | ) |
Verify default log levels is NOTICE.
References AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
def PathTests.TestPathLog.TestPathLog.test11 | ( | self | ) |
Verify setting global log level.
References AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
def PathTests.TestPathLog.TestPathLog.test12 | ( | self | ) |
Verify setting module log level.
References AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
def PathTests.TestPathLog.TestPathLog.test13 | ( | self | ) |
Verify setting other modul's log level doesn't change this one's.
References AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
def PathTests.TestPathLog.TestPathLog.test14 | ( | self | ) |
Verify resetting log level for module falls back to global level.
References AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
def PathTests.TestPathLog.TestPathLog.test20 | ( | self | ) |
Verify debug logs aren't logged by default.
def PathTests.TestPathLog.TestPathLog.test21 | ( | self | ) |
Verify debug logs are logged if log level is set to DEBUG.
def PathTests.TestPathLog.TestPathLog.test30 | ( | self | ) |
Verify log level ERROR.
def PathTests.TestPathLog.TestPathLog.test31 | ( | self | ) |
Verify log level WARNING.
def PathTests.TestPathLog.TestPathLog.test32 | ( | self | ) |
Verify log level NOTICE.
def PathTests.TestPathLog.TestPathLog.test33 | ( | self | ) |
Verify log level INFO.
def PathTests.TestPathLog.TestPathLog.test34 | ( | self | ) |
Verify log level DEBUG.
def PathTests.TestPathLog.TestPathLog.test50 | ( | self | ) |
Verify no tracking by default.
def PathTests.TestPathLog.TestPathLog.test51 | ( | self | ) |
Verify enabling tracking for module results in tracking.
References AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
def PathTests.TestPathLog.TestPathLog.test52 | ( | self | ) |
Verify untracking stops tracking.
def PathTests.TestPathLog.TestPathLog.test53 | ( | self | ) |
Verify trackAllModules works correctly.
def PathTests.TestPathLog.TestPathLog.test60 | ( | self | ) |
Verify track handles no argument.
References AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
def PathTests.TestPathLog.TestPathLog.test61 | ( | self | ) |
Verify track handles arbitrary argument types correctly.
References AddonManagerTest.app.test_addon.TestAddon.MODULE, AddonManagerTest.app.test_macro.TestMacro.MODULE, AddonManagerTest.app.test_utilities.TestUtilities.MODULE, AddonManagerTest.gui.test_gui.TestGui.MODULE, OpenSCADTest.app.test_importCSG.TestImportCSG.MODULE, OpenSCADTest.gui.test_dummy.TestDummy.MODULE, PathTests.TestPathLog.TestPathLog.MODULE, and TestStart.TestStartPage.TestStartPage.MODULE.
def PathTests.TestPathLog.TestPathLog.testzz | ( | self | ) |
Restoring environment after tests.
|
static |
Referenced by PathTests.TestPathLog.TestPathLog.test00(), PathTests.TestPathLog.TestPathLog.test10(), PathTests.TestPathLog.TestPathLog.test11(), PathTests.TestPathLog.TestPathLog.test12(), PathTests.TestPathLog.TestPathLog.test13(), PathTests.TestPathLog.TestPathLog.test14(), PathTests.TestPathLog.TestPathLog.test51(), PathTests.TestPathLog.TestPathLog.test60(), and PathTests.TestPathLog.TestPathLog.test61().