a
    §ˆc  ã                   @   s"   d Z ddlZG dd„ dejƒZdS )z Test the api module. é    Nc                   @   s<   e Zd Zdd„ Zdd„ Zdd„ Zdd„ Zd	d
„ Zdd„ ZdS )ÚTestApic                 C   s   ddl m} d S )Nr   )ÚUITester)Útraitsui.testing.apir   )Úselfr   © r   úb/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/traitsui/testing/tests/test_api.pyÚtest_tester_import   s    zTestApi.test_tester_importc                 C   s   ddl m}m}m} d S )Nr   )Ú
MouseClickÚKeyClickÚKeySequence)r   r	   r
   r   )r   r	   r
   r   r   r   r   Útest_commands_imports   s    zTestApi.test_commands_importsc                 C   s    ddl m}m}m}m}m} d S )Nr   )ÚDisplayedTextÚ	IsCheckedÚ	IsEnabledÚ	IsVisibleÚSelectedText)r   r   r   r   r   r   )r   r   r   r   r   r   r   r   r   Útest_query_imports   s    zTestApi.test_query_importsc                 C   s    ddl m}m}m}m}m} d S )Nr   )ÚIndexÚ
TargetByIdÚTargetByNameÚTextboxÚSlider)r   r   r   r   r   r   )r   r   r   r   r   r   r   r   r   Útest_locator_imports$   s    zTestApi.test_locator_importsc                 C   s   ddl m} d S )Nr   )ÚTargetRegistry)r   r   )r   r   r   r   r   Útest_advanced_usage_imports-   s    z#TestApi.test_advanced_usage_importsc                 C   s   ddl m}m}m}m} d S )Nr   )ÚDisabledÚInteractionNotSupportedÚLocationNotSupportedÚTesterError)r   r   r   r   r   )r   r   r   r   r   r   r   r   Útest_exceptions_imports0   s    zTestApi.test_exceptions_importsN)	Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   r   r   r   r      s   		r   )Ú__doc__ZunittestZTestCaser   r   r   r   r   Ú<module>   s   