ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/lib64/python2.7/idlelib/idle_test/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyc

�
{fc@s�ddlZddlmZddlmZmZddljZddl	j
Zddlm
Z
ddlmZddd��YZ
ddd	��YZd
ejfd��YZedkr�ejd
d�ndS(i����N(trequires(tTktText(tFunc(tEventtAutoCompleteWindowcBseZd�ZRS(cCsdS(N((((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pytcompletes(t__name__t
__module__R(((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyR
stDummyEditwincBseZd�ZRS(cCs1||_||_d|_d|_t|_dS(Ni(trootttexttindentwidthttabwidthtTruetcontext_use_ps1(tselfR
R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt__init__s
				(RRR(((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyR	stAutoCompleteTestcBs�eZed��Zed��Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
d�Zd�Zd
�ZRS(cCsDtd�t�|_t|j�|_t|j|j�|_dS(Ntgui(RRR
RRR	teditor(tcls((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt
setUpClasss
cCs#|`|`|jj�|`dS(N(RRR
tdestroy(R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt
tearDownClass s
cCs/|jjjdd�tj|j�|_dS(Ns1.0tend(RRtdeletetactAutoCompletetautocomplete(R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pytsetUp&scCs|j|jj|j�dS(N(tassertEqualRteditwinR(R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt	test_init*scCs&|jj�}|j|tj�dS(N(Rt_make_autocomplete_windowtassertIsInstancetacwR(Rttestwin((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_make_autocomplete_window-scCs9|jj�|j_|jj�|j|jj�dS(N(RR"tautocompletewindowt_remove_autocomplete_windowtassertIsNone(R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_remove_autocomplete_window1s
cCsEt�}||j_|jjd�|j|jtttf�dS(Ntevent(RRtopen_completionstforce_open_completions_eventRtargsRtFalse(Rto_cs((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt!test_force_open_completions_event7s	cCs�|j}|j}|jj}t�}||_|d�||jd�|jjdd�|d�||jt	t	t	df�|jj
dd�|jjdd�|d�||jt	t	t	df�dS(NR+s1.0sre.iRs"./Lib/i(RRttry_open_completions_eventRt_open_completions_laterR.tNoneRtinsertR/R(RtEqualRttrycompletionsto_c_l((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_try_open_completions_event>s				


cCs�|j}|j}tdt�}|j|j|��|`|jjdd�||jj|�d�|j	�t
�}||_||jj|�d�||j
tttf�t|_||jj|�d�||j
tttf�dS(Ntmc_states1.0sre.tbreak(RRRRR)tautocomplete_eventR:RR5R(RR,R4R.R/tresult(RR6RtevR0((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_autocomplete_eventTs		
			cCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_open_completions_laternscCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_delayed_open_completionsrscCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_open_completionsxscCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_fetch_completions}scCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_get_entity�s(RRtclassmethodRRRR!R&R*R1R9R?R@RARBRCRD(((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyRs											t__main__t	verbosityi(((tunittestttest.test_supportRtTkinterRRtidlelib.AutoCompleteRRtidlelib.AutoCompleteWindowRR$tidlelib.idle_test.mock_idleRtidlelib.idle_test.mock_tkRR	tTestCaseRRtmain(((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt<module>s	t

Zerion Mini Shell 1.0