Exemple #1
0
def suite():
    tests = (test_renderqueue.suite(), test_gtkfractal.suite(),
             test_undo.suite(), test_model.suite(), test_preferences.suite(),
             test_fourway.suite(), test_angle.suite(), test_hig.suite(),
             test_browser.suite(), test_settings.suite(), test_painter.suite(),
             test_utils.suite(), test_main_window.suite(),
             test_director.suite())
    return unittest.TestSuite(tests)
Exemple #2
0
def suite():
    tests = (
        test_renderqueue.suite(),
        test_gtkfractal.suite(),
        test_undo.suite(),
        test_model.suite(),
        test_preferences.suite(),
        test_fourway.suite(),
        test_angle.suite(),
        test_hig.suite(),
        test_browser.suite(),
        test_settings.suite(),
        test_painter.suite(),
        test_utils.suite(),
        test_main_window.suite(),
        test_director.suite())
    return unittest.TestSuite(tests)
Exemple #3
0
import test_scanhandlers_mcafee
import test_scanhandlers_msseccli
import test_scandigest
import test_scanlog
import test_containermanagers
import test_searchutil
import test_sethash
import test_util


# setup a complete test suite
tests = unittest.TestSuite()
tests.addTests(test_cnc_table.suite())
tests.addTests(test_filehash.suite())
tests.addTests(test_keymanager.suite())
tests.addTests(test_model.suite())
tests.addTests(test_scanhandlers_dummy.suite())

# TODO: add these test handlers based on availablility of scanners.
#tests.addTests(test_scanhandlers_mcafee.suite())
#tests.addTests(test_scanhandlers_msseccli.suite())

tests.addTests(test_scandigest.suite())
tests.addTests(test_scanlog.suite())
tests.addTests(test_containermanagers.suite())
tests.addTests(test_searchutil.suite())
tests.addTests(test_sethash.suite())
tests.addTests(test_util.suite())


def run(v=1):