Compare 0007009 ... +2 ... c20242e

Coverage Reach
wx/tree_editor.py wx/table_editor.py wx/tabular_editor.py wx/ui_panel.py wx/range_editor.py wx/list_str_editor.py wx/date_editor.py wx/table_model.py wx/list_editor.py wx/extra/bounds_editor.py wx/extra/windows/ie_html_editor.py wx/extra/windows/flash_editor.py wx/extra/led_editor.py wx/scrubber_editor.py wx/instance_editor.py wx/helper.py wx/toolkit.py wx/image_slice.py wx/enum_editor.py wx/set_editor.py wx/ui_live.py wx/code_editor.py wx/file_editor.py wx/color_editor.py wx/menu.py wx/ui_modal.py wx/dnd_editor.py wx/text_editor.py wx/check_list_editor.py wx/font_editor.py wx/ui_base.py wx/editor.py wx/ui_wizard.py wx/image_control.py wx/history_control.py wx/color_trait.py wx/image_enum_editor.py wx/editor_factory.py wx/key_binding_editor.py wx/font_trait.py wx/progress_editor.py wx/editors_gen.py wx/drop_editor.py wx/view_application.py wx/html_editor.py wx/search_editor.py wx/history_editor.py wx/button_editor.py wx/ui_window.py wx/time_editor.py wx/rgb_color_trait.py wx/compound_editor.py wx/animated_gif_editor.py wx/key_event_to_name.py wx/directory_editor.py wx/boolean_editor.py wx/constants.py wx/rgb_color_editor.py wx/image_editor.py wx/custom_editor.py wx/csv_list_editor.py wx/title_editor.py wx/null_editor.py wx/array_editor.py wx/value_editor.py wx/basic_editor_factory.py wx/tuple_editor.py wx/ui_editor.py wx/shell_editor.py wx/data_frame_editor.py wx/popup_editor.py wx/array_view_editor.py wx/color_column.py wx/__init__.py qt4/tree_editor.py qt4/table_editor.py qt4/ui_panel.py qt4/tabular_editor.py qt4/range_editor.py qt4/extra/bounds_editor.py qt4/extra/range_slider.py qt4/extra/checkbox_renderer.py qt4/extra/qt_view.py qt4/extra/table_image_renderer.py qt4/extra/progress_renderer.py qt4/extra/led_editor.py qt4/list_editor.py qt4/toolkit.py qt4/list_str_editor.py qt4/table_model.py qt4/instance_editor.py qt4/enum_editor.py qt4/set_editor.py qt4/editor.py qt4/ui_base.py qt4/tabular_model.py qt4/file_editor.py qt4/code_editor.py qt4/image_enum_editor.py qt4/menu.py qt4/list_str_model.py qt4/check_list_editor.py qt4/date_editor.py qt4/color_editor.py qt4/helper.py qt4/text_editor.py qt4/image_editor.py qt4/ui_modal.py qt4/font_editor.py qt4/ui_live.py qt4/font_trait.py qt4/button_editor.py qt4/key_binding_editor.py qt4/drop_editor.py qt4/styled_date_editor.py qt4/editor_factory.py qt4/datetime_editor.py qt4/progress_editor.py qt4/tree_node_renderers.py qt4/search_editor.py qt4/date_range_editor.py qt4/history_editor.py qt4/color_trait.py qt4/html_editor.py qt4/view_application.py qt4/boolean_editor.py qt4/time_editor.py qt4/compound_editor.py qt4/clipboard.py qt4/key_event_to_name.py qt4/rgb_color_trait.py qt4/directory_editor.py qt4/rgb_color_editor.py qt4/title_editor.py qt4/csv_list_editor.py qt4/constants.py qt4/custom_editor.py qt4/null_editor.py qt4/value_editor.py qt4/array_editor.py qt4/basic_editor_factory.py qt4/shell_editor.py qt4/ui_editor.py qt4/tuple_editor.py qt4/data_frame_editor.py qt4/array_view_editor.py qt4/__init__.py editors/table_editor.py editors/range_editor.py editors/array_editor.py editors/shell_editor.py editors/csv_list_editor.py editors/tuple_editor.py editors/html_editor.py editors/list_editor.py editors/api.py editors/tree_editor.py editors/tabular_editor.py editors/image_enum_editor.py editors/button_editor.py editors/popup_editor.py editors/value_editor.py editors/code_editor.py editors/list_str_editor.py editors/text_editor.py editors/date_editor.py editors/enum_editor.py editors/default_override.py editors/instance_editor.py editors/file_editor.py editors/scrubber_editor.py editors/custom_editor.py editors/progress_editor.py editors/color_editor.py editors/image_editor.py editors/search_editor.py editors/boolean_editor.py editors/font_editor.py editors/rgb_color_editor.py editors/title_editor.py editors/history_editor.py editors/set_editor.py editors/datetime_editor.py editors/styled_date_editor.py editors/time_editor.py editors/drop_editor.py editors/compound_editor.py editors/dnd_editor.py editors/null_editor.py editors/key_binding_editor.py editors/check_list_editor.py editors/date_range_editor.py editors/directory_editor.py editors/__init__.py testing/tester/wx/implementation/enum_editor.py testing/tester/wx/implementation/list_editor.py testing/tester/wx/implementation/check_list_editor.py testing/tester/wx/implementation/button_editor.py testing/tester/wx/implementation/range_editor.py testing/tester/wx/implementation/text_editor.py testing/tester/wx/implementation/instance_editor.py testing/tester/wx/implementation/ui_base.py testing/tester/wx/implementation/font_editor.py testing/tester/wx/helpers.py testing/tester/wx/default_registry.py testing/tester/wx/common_ui_targets.py testing/tester/wx/registry_helper.py testing/tester/qt4/implementation/enum_editor.py testing/tester/qt4/implementation/list_editor.py testing/tester/qt4/implementation/check_list_editor.py testing/tester/qt4/implementation/range_editor.py testing/tester/qt4/implementation/instance_editor.py testing/tester/qt4/implementation/text_editor.py testing/tester/qt4/implementation/button_editor.py testing/tester/qt4/implementation/ui_base.py testing/tester/qt4/implementation/font_editor.py testing/tester/qt4/helpers.py testing/tester/qt4/default_registry.py testing/tester/qt4/common_ui_targets.py testing/tester/qt4/registry_helper.py testing/tester/ui_wrapper.py testing/tester/registry.py testing/tester/ui_tester.py testing/tester/registry_helper.py testing/tester/exceptions.py testing/tester/editors/layout.py testing/tester/locator.py testing/tester/common_ui_targets.py testing/tester/default_registry.py testing/tester/command.py testing/tester/query.py testing/tester/compat.py tree_node.py extras/_demo_legacy.py extras/saving.py extras/has_dynamic_views.py extras/progress_column.py extras/checkbox_column.py extras/edit_column.py extras/api.py extras/_demo_info.py extras/demo.py ui.py table_column.py tabular_adapter.py editor.py ui_editors/data_frame_editor.py ui_editors/array_view_editor.py group.py table_filter.py undo.py file_dialog.py value_tree.py handler.py item.py list_str_adapter.py key_bindings.py view.py null/font_trait.py null/toolkit.py null/rgb_color_trait.py null/color_trait.py null/__init__.py editor_factory.py toolkit.py helper.py view_element.py ui_traits.py instance_choice.py view_elements.py base_panel.py theme.py dockable_view_element.py dock_window_theme.py delegating_handler.py api.py menu.py message.py color_column.py __init__.py ui_editor.py editors_gen.py basic_editor_factory.py help_template.py ui_info.py context_value.py tree_node_renderer.py toolkit_traits.py help.py include.py default_dock_window_theme.py image/image.py mimedata.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -98,17 +98,22 @@
Loading
98 98
99 99
    Registering location solver (register_solver)
100 100
    ---------------------------------------------
101 -
102 -
    Resolving a location on a UI target is logically similar to making a query
103 -
    for a nested UI target. This query is separated out to support the
104 -
    ``UIWrapper.locate`` method independently of the query method
105 -
    ``UIWrapper.inspect``.
106 -
107 -
    The locator type can be any subclass of ``type``. There are predefined
108 -
    locators in ``traitsui.testing.tester.locator``.
109 -
110 -
    For example, suppose a UI target called ``MyUIContainer`` has some buttons,
111 -
    and the objective of a test is to click a specific button with a given
101 +
    Location solvers are used to support ``UIWrapper.locate``.
102 +
103 +
    ``UIWrapper.locate`` accepts an object, ``location``, which provides
104 +
    information for navigating into a specific element from
105 +
    ``UIWrapper.target``. The ``location`` content varies from use case
106 +
    to use case and a target is typically a rich container of multiple GUI
107 +
    elements. With that, for a given target type, multiple location types may
108 +
    be supported. For the given location type, the logic for resolving a
109 +
    location also depends on the target type. In order to support these many
110 +
    different behaviors, one needs to register a "location solver" to specify
111 +
    how to interpret a location given its type and the type of the target it
112 +
    is used with.
113 +
114 +
    For example, suppose we have a ``UIWrapper`` whose ``target`` is an
115 +
    instance of ``MyUIContainer``. This object has some buttons and the
116 +
    objective of a test is to click a specific button with a given
112 117
    label. We will therefore need to locate the button with the given label
113 118
    before a mouse click can be performed.
114 119

@@ -73,10 +73,10 @@
Loading
73 73
    """ Function to register solvers for obtaining nested targets inside a
74 74
    nested traitsui.ui.UI inside a (parent) target.
75 75
76 -
    For example, a TreeEditor may contain a nested UI from which more nested
77 -
    UI target may be required. In that case, the ``target_class`` will the
76 +
    For example, an instance of TreeEditor may contain a nested
77 +
    ``traitsui.ui.UI`` instance. In that case, the ``target_class`` will the
78 78
    TreeEditor and the ``nested_ui_getter`` specifies how to obtain the nested
79 -
    UI from it.
79 +
    ``traitsui.ui.UI`` UI from it.
80 80
81 81
    Parameters
82 82
    ----------

Learn more Showing 9 files with coverage changes found.

Changes in traitsui/testing/tester/wx/helpers.py
-2
-1
-90
Loading file...
Changes in traitsui/testing/tester/qt4/default_registry.py
+14
Loading file...
Changes in traitsui/wx/editor_factory.py
+1
+17
Loading file...
Changes in traitsui/testing/tester/wx/default_registry.py
+14
Loading file...
New file traitsui/testing/tester/qt4/implementation/font_editor.py
New
Loading file...
New file traitsui/testing/tester/wx/implementation/font_editor.py
New
Loading file...
Changes in traitsui/qt4/font_trait.py
-3
+3
Loading file...
Changes in traitsui/testing/tester/qt4/registry_helper.py
-1
+1
Loading file...
Changes in traitsui/qt4/font_editor.py
-42
+42
Loading file...
Files Coverage
traitsui 0.3% 34.4%
Project Totals (293 files) 34.4%
Loading