traitsui.tests.test_ui module

Test cases for the UI object.

class traitsui.tests.test_ui.DisallowNewTraits

Bases: traits.has_traits.HasStrictTraits

Make sure no extra traits are added.

class traitsui.tests.test_ui.FooDialog

Bases: traits.has_traits.HasTraits

Test dialog that does nothing useful.

traitsui.tests.test_ui.is_current_backend_null(*, backend_name='null')
traitsui.tests.test_ui.is_current_backend_qt4(*, backend_name='qt4')
traitsui.tests.test_ui.is_current_backend_wx(*, backend_name='wx')
traitsui.tests.test_ui.skip_if_not_null(item, *, backend_name='null')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_ui.skip_if_not_qt4(item, *, backend_name='qt4')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_ui.skip_if_not_wx(item, *, backend_name='wx')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_ui.test_destroy_after_ok_qt()
traitsui.tests.test_ui.test_destroy_after_ok_wx()
traitsui.tests.test_ui.test_no_spring_trait()
traitsui.tests.test_ui.test_reset_with_destroy_qt()
traitsui.tests.test_ui.test_reset_with_destroy_wx()
traitsui.tests.test_ui.test_reset_without_destroy_qt()
traitsui.tests.test_ui.test_reset_without_destroy_wx()

Previous topic

traitsui.tests.test_tuple_editor module

Next topic

traitsui.tests.test_visible_when_layout module

This Page