.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: test_preferences .. class:: alert alert-info pull-top .. contents:: *Module:* `test_preferences.py `_ API =================================================================================================== No description. *Imports:* ------------ - `ninja_ide `_ - `ninja_tests.BaseTest `_ - `PyQt4.QtGui.QApplication `_ - `PyQt4.QtGui.QKeySequence `_ - `PyQt4.QtGui.QTreeWidgetItem `_ - `PyQt4.QtCore.Qt `_ - `__future__.absolute_import `_ - `ninja_tests.gui `_ - `ninja_ide.gui.dialogs.preferences `_ - `ninja_ide.resources `_ - `ninja_ide.gui.misc.shortcut_manager `_ - `__future__.unicode_literals `_ *Class:* `PreferencesShortcutManagerConfigurationTestCase(BaseTest) `_ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- .. code:: python class PreferencesShortcutManagerConfigurationTestCase(BaseTest): No description. *Attributes* ~~~~~~~~~~~~~~ - `_app [at ln:103] `_ - `settings [at ln:111] `_ - `shortcuts_manager [at ln:120] `_ *Function:* `setUp() [at ln:109] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def setUp(): No description. ---- *Function:* `setUpClass(cls) [at ln:101] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def setUpClass(cls): No description. **Decorators:** - *classmethod* ---- *Function:* `tearDownClass(cls) [at ln:105] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def tearDownClass(cls): No description. **Decorators:** - *classmethod* ---- *Function:* `test_load_default_shortcuts() [at ln:122] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def test_load_default_shortcuts(): No description. ---- *Function:* `test_save_shortcuts() [at ln:134] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def test_save_shortcuts(): No description. ---- *Class:* `PreferencesEditorConfigurationTestCase(BaseTest) `_ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ .. code:: python class PreferencesEditorConfigurationTestCase(BaseTest): No description. *Attributes* ~~~~~~~~~~~~~~ - `_app [at ln:40] `_ - `editor_completion [at ln:50] `_ - `settings [at ln:48] `_ *Function:* `_check_values(errors, indent, checkStyle, marginLine, checkForDocstrings, showMarginLine, errorsInLine, centerOnScroll, checkStyleInline, useTabs, highlightWholeLine, removeTrailingSpaces, showTabsAndSpaces, allowWordWrap) [at ln:52] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _check_values(errors, indent, checkStyle, marginLine, checkForDocstrings, showMarginLine, errorsInLine, centerOnScroll, checkStyleInline, useTabs, highlightWholeLine, removeTrailingSpaces, showTabsAndSpaces, allowWordWrap): No description. ---- *Function:* `setUp() [at ln:46] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def setUp(): No description. ---- *Function:* `setUpClass(cls) [at ln:38] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def setUpClass(cls): No description. **Decorators:** - *classmethod* ---- *Function:* `tearDownClass(cls) [at ln:42] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def tearDownClass(cls): No description. **Decorators:** - *classmethod* ---- *Function:* `test_save() [at ln:78] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def test_save(): No description.