Sindbad~EG File Manager
�
&Μg� � �� � d Z ddlmZ ddlmZ ed� ddlZddlZddlm Z m
Z
mZmZm
Z
ddlmZ ddlmZ dd lmZ d
� Zd� Z G d� d
ej, � Z G d� dej0 � Z G d� dej0 � Z G d� dej0 � Z G d� dej0 � Z G d� dej0 � Z G d� dej0 � Zedk( r ej@ d�� yy)a Test textview, coverage 100%.
Since all methods and functions create (or destroy) a ViewWindow, which
is a widget containing a widget, etcetera, all tests must be gui tests.
Using mock Text would not change this. Other mocks are used to retrieve
information about calls.
� )�textview)�requires�guiN)�Tk�TclError�CHAR�NONE�WORD)�Button)�Func)� Mbox_funcc �@ � t � at j � y �N�r �root�withdraw� � �</usr/local/lib/python3.12/idlelib/idle_test/test_textview.py�setUpModuler s � �
�4�D��M�M�Or c �V � t j � t j � b y r �r �update_idletasks�destroyr r r �tearDownModuler s � ������L�L�N�r c �6 � e Zd Z e� Z e� Z e� Zy)�VWN)�__name__�
__module__�__qualname__r � transient�grab_set�wait_windowr r r r r # s � ���I��v�H��&�Kr r c �$ � e Zd Zd� Zd� Zd� Zd� Zy)�ViewWindowTestc � � t j j � t j j � t j j � y r )r r! �__init__r"