$39 GRAYBYTE WORDPRESS FILE MANAGER $82

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python34/lib64/python3.4/idlelib/idle_test/__pycache__/

HOME
Current File : /opt/alt/python34/lib64/python3.4/idlelib/idle_test/__pycache__//test_textview.cpython-34.pyo
�
e f7�@s�dZddlmZed�ddlZddlZddlmZddlmZ	ddl
mZddlm
Z
d	d
�Zdd�ZGd
d�de	j�ZGdd�dej�ZGdd�dej�Zedkr�ejdd�ndS)aMTest the functions and main class method of textView.py.

Since all methods and functions create (or destroy) a TextViewer, which
is a widget containing multiple widgets, all tests must be gui tests.
Using mock Text would not change this.  Other mocks are used to retrieve
information about calls.

The coverage is essentially 100%.
�)�requiresZguiN)�Tk)�textView)�Func)�MboxcCs
t�adS)N)r�root�rr�D/opt/alt/python34/lib64/python3.4/idlelib/idle_test/test_textview.py�setUpModulesr
cCstj�bdS)N)r�destroyrrrr	�tearDownModules
rc@s+eZdZe�Ze�Ze�ZdS)�TVN)�__name__�
__module__�__qualname__r�	transient�grab_set�wait_windowrrrr	r
s		r
c@s@eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�TextViewTestcCs+tjj�tjj�tjj�dS)N)r
r�__init__rr)�selfrrr	�setUp%s

zTextViewTest.setUpcCsYttdd�}|jtjj�|jtjj�|jtjj�|j�dS)N�Titlez	test text)r
r�
assertTruer�calledrr�Ok)r�viewrrr	�test_init_modal*s
zTextViewTest.test_init_modalcCs_ttdddd�}|jtjj�|jtjj�|jtjj�|j�dS)Nrz	test text�modalF)r
rZassertFalserrrrr)rrrrr	�test_init_nonmodal1s
zTextViewTest.test_init_nonmodalcCsRttdddd�}t�|_|j�|j|jj�|`|jdS)Nrz	test textrF)r
rrrrrr)rrrrr	�test_ok8s
zTextViewTest.test_okN)rrrrrrr rrrr	r#src@sLeZdZedd��Zedd��Zdd�Zdd�Zd	S)
�textviewTestcCstj|_tt_dS)N)�tv�tkMessageBox�	orig_mboxr)�clsrrr	�
setUpClassCsztextviewTest.setUpClasscCs|jt_|`dS)N)r$r"r#)r%rrr	�
tearDownClassHsztextviewTest.tearDownClasscCs2tjtdddd�}|j|tj�dS)Nrz	test textrF)r"Z	view_textr�assertIsInstance�
TextViewer)rrrrr	�test_view_textMsztextviewTest.test_view_textcCs�tjjt�}tjj|d�}tjtd|dd�}|j|tj	�|j
d|jjdd��|j
�tjj|d�}tjtd|dd�}|j|�dS)	Nztest_textview.pyrrFZTestz1.0z1.endz../notthere.py)�os�path�dirname�__file__�joinr"Z	view_filerr(r)ZassertInr�getrZassertIsNone)rZtest_dirZtestfilerrrr	�test_view_fileRs
ztextviewTest.test_view_fileN)rrr�classmethodr&r'r*r1rrrr	r!Asr!�__main__�	verbosity�)�__doc__Ztest.supportrZunittestr+ZtkinterrZidlelibrr"Zidlelib.idle_test.mock_idlerZidlelib.idle_test.mock_tkrr
rr)r
ZTestCaserr!r�mainrrrr	�<module>	s



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-34.pyc
0.502 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__init__.cpython-34.pyo
0.502 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
htest.cpython-34.pyc
11.496 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
htest.cpython-34.pyo
11.496 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mock_idle.cpython-34.pyc
2.399 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mock_idle.cpython-34.pyo
2.399 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mock_tk.cpython-34.pyc
10.845 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mock_tk.cpython-34.pyo
10.845 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_autocomplete.cpython-34.pyc
5.045 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_autocomplete.cpython-34.pyo
5.045 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_autoexpand.cpython-34.pyc
4.139 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_autoexpand.cpython-34.pyo
4.139 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_calltips.cpython-34.pyc
10.097 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_calltips.cpython-34.pyo
10.019 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_config_name.cpython-34.pyc
3.163 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_config_name.cpython-34.pyo
3.163 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_configdialog.cpython-34.pyc
1.341 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_configdialog.cpython-34.pyo
1.341 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_delegator.cpython-34.pyc
1.137 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_delegator.cpython-34.pyo
1.137 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_editor.cpython-34.pyc
1.191 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_editor.cpython-34.pyo
1.191 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_formatparagraph.cpython-34.pyc
12.415 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_formatparagraph.cpython-34.pyo
12.415 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_grep.cpython-34.pyc
3.077 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_grep.cpython-34.pyo
3.077 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_hyperparser.cpython-34.pyc
7.972 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_hyperparser.cpython-34.pyo
7.972 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_idlehistory.cpython-34.pyc
6.697 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_idlehistory.cpython-34.pyo
6.697 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_io.cpython-34.pyc
8.777 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_io.cpython-34.pyo
8.777 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_parenmatch.cpython-34.pyc
3.908 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_parenmatch.cpython-34.pyo
3.908 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_pathbrowser.cpython-34.pyc
1.312 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_pathbrowser.cpython-34.pyo
1.312 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_rstrip.cpython-34.pyc
1.556 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_rstrip.cpython-34.pyo
1.556 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_searchdialogbase.cpython-34.pyc
5.794 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_searchdialogbase.cpython-34.pyo
5.794 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_searchengine.cpython-34.pyc
10.688 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_searchengine.cpython-34.pyo
10.688 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_text.cpython-34.pyc
6.863 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_text.cpython-34.pyo
6.863 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_textview.cpython-34.pyc
3.826 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_textview.cpython-34.pyo
3.826 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_warning.cpython-34.pyc
3.44 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_warning.cpython-34.pyo
3.44 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_widgetredir.cpython-34.pyc
5.447 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_widgetredir.cpython-34.pyo
5.447 KB
17 Apr 2024 5.10 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF