/usr/lib64/python2.7/idlelib/idle_test
NameSizeModeActions
htest.py137790644editdlrm
htest.pyc126000644editdlrm
htest.pyo126000644editdlrm
mock_idle.py15970644editdlrm
mock_idle.pyc28790644editdlrm
mock_idle.pyo28790644editdlrm
mock_tk.py115740644editdlrm
mock_tk.pyc123620644editdlrm
mock_tk.pyo123620644editdlrm
README.txt54920644editdlrm
test_autocomplete.py49220644editdlrm
test_autocomplete.pyc58600644editdlrm
test_autocomplete.pyo58600644editdlrm
test_autoexpand.py41220644editdlrm
test_autoexpand.pyc48060644editdlrm
test_autoexpand.pyo48060644editdlrm
test_calltips.py71400644editdlrm
test_calltips.pyc121310644editdlrm
test_calltips.pyo121310644editdlrm
test_configdialog.py7820644editdlrm
test_configdialog.pyc16550644editdlrm
test_configdialog.pyo16550644editdlrm
test_config_name.py24720644editdlrm
test_config_name.pyc40120644editdlrm
test_config_name.pyo40120644editdlrm
test_delegator.py12940644editdlrm
test_delegator.pyc13190644editdlrm
test_delegator.pyo13190644editdlrm
test_editmenu.py31670644editdlrm
test_editmenu.pyc44390644editdlrm
test_editmenu.pyo44390644editdlrm
test_formatparagraph.py143440644editdlrm
test_formatparagraph.pyc143180644editdlrm
test_formatparagraph.pyo143180644editdlrm
test_grep.py27620644editdlrm
test_grep.pyc37600644editdlrm
test_grep.pyo37600644editdlrm
test_helpabout.py16110644editdlrm
test_helpabout.pyc23630644editdlrm
test_helpabout.pyo23630644editdlrm
test_hyperparser.py56840644editdlrm
test_hyperparser.pyc67340644editdlrm
test_hyperparser.pyo67340644editdlrm
test_idlehistory.py54950644editdlrm
test_idlehistory.pyc81420644editdlrm
test_idlehistory.pyo81420644editdlrm
test_io.py95050644editdlrm
test_io.pyc115330644editdlrm
test_io.pyo115330644editdlrm
test_parenmatch.py38220644editdlrm
test_parenmatch.pyc54560644editdlrm
test_parenmatch.pyo54560644editdlrm
test_pathbrowser.py9400644editdlrm
test_pathbrowser.pyc14850644editdlrm
test_pathbrowser.pyo14850644editdlrm
test_rstrip.py16130644editdlrm
test_rstrip.pyc17730644editdlrm
test_rstrip.pyo17730644editdlrm
test_searchdialogbase.py58630644editdlrm
test_searchdialogbase.pyc68270644editdlrm
test_searchdialogbase.pyo68270644editdlrm
test_searchengine.py114870644editdlrm
test_searchengine.pyc126490644editdlrm
test_searchengine.pyo126490644editdlrm
test_text.py67440644editdlrm
test_text.pyc81480644editdlrm
test_text.pyo81480644editdlrm
test_textview.py28020644editdlrm
test_textview.pyc45310644editdlrm
test_textview.pyo45310644editdlrm
test_warning.py27570644editdlrm
test_warning.pyc32860644editdlrm
test_warning.pyo32860644editdlrm
test_widgetredir.py41770644editdlrm
test_widgetredir.pyc63840644editdlrm
test_widgetredir.pyo63840644editdlrm
__init__.py6500644editdlrm
__init__.pyc9150644editdlrm
__init__.pyo9150644editdlrm
Edit: /usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyo (6827B)
ó {fc@s¶dZddlZddlmZddlmZmZmZmZddl m Z ddl m Z ddlmZdejfd „ƒYZed kr²ejd d d d ƒndS(s©Unittests for idlelib/SearchDialogBase.py Coverage: 99%. The only thing not covered is inconsequential -- testing skipping of suite when self.needwrapbutton is false. iÿÿÿÿN(trequires(tTexttTktTopleveltFrame(t SearchEngine(tSearchDialogBase(tFunctSearchDialogBaseTestcBs’eZed„ƒZed„ƒZd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z d „Z d „Zd „Zd „ZRS(cCstdƒtƒ|_dS(Ntgui(RRtroot(tcls((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyt setUpClasss cCs|jjƒ|`dS(N(R tdestroy(R ((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyt tearDownClass s cCs:tj|jƒ|_tjd|jd|jƒ|_dS(NR tengine(tseRR RtsdbRtdialog(tself((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pytsetUp%scCs|jjƒdS(N(Rtclose(R((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttearDown)scCsÆd|j_t|jƒ}t|ƒ}|jj|ƒ|j|jjj ƒdƒ|jj ƒ|j|jjj ƒdƒ|jj|ddƒ|j|jj j ƒdƒ|j ƒ|jƒdS(Ntnormalt withdrawnt searchphrasethello(tNoneRtdefault_commandRR Rtopent assertEqualttoptstateRtenttgettupdate_idletasksR (Rttoplevelttext((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_open_and_close,s    cCs±tƒ|j_tƒ|j_tƒ|j_tƒ|j_d|j_|jjƒ|j |jjj ƒ|j |jjj ƒ|j |jjj ƒ|j |jjj ƒdS(N( RRtcreate_entriestcreate_option_buttonstcreate_other_buttonstcreate_command_buttonsRRtcreate_widgetst assertTruetcalled(R((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_create_widgets<s  cCsë|j}d|j_t|jƒ|j_|jjddƒ\}}||ddƒ|j|jƒdƒ|j ƒ}|t |dƒdƒ|t |dƒdƒ|t |dƒdƒ|t |d ƒdƒ||jjdƒdS( NisTest:RR%trowtcolumnitrowspant columnspan( RRR/RR Rt make_entrytassertInR"t grid_infotint(Rtequaltentrytlabeltegi((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_make_entryJs   cCsId|j_|jjdƒ|jjƒ|j|jjjƒdƒdS(NiR(RR/RtsetpatR'R4R!R"(R((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_create_entriesYs  cCs–d|j_t|jƒ|j_|jjƒ\}}|j|dƒ|j|tƒ|jjdƒ\}}|j|ddƒ|j|tƒdS(Nitt testlabelR%( RR/RR Rt make_frameRtassertIsInstanceR(RtframeR9((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_make_frame_s cCs(t|jƒ|j_d|j_|ƒS(Ni(RR RRR/(Rtmeth((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pytbtn_test_setupjs c Cs|j}xødD]ð}x3|j|j|j|jfD]}|j|ƒq5W|j|jjƒ\}}x–t ||j ƒƒD]\}}|\}}|j |d|ƒ|j |j ƒ|ƒ|dkrØ|j ƒn |jƒ|j |j ƒd|ƒq}WqWdS(NiiR%(ii(RtrevartcasevartwordvartwrapvartsetRERR(tzipt pack_slavesRR"tdeselecttselect( RteR tvarRBtoptionstspectbuttonR9((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_create_option_buttonsos  %"    c Csx ttfD]û}|jj}|j|ƒ|j|jjƒ\}}|jƒ}x²t ||ƒD]¡\}}|\}} |j |d| ƒ||krc|j |j ƒ|ƒ||j ƒ|j |j ƒd|ƒ|d|j ƒ|j |j ƒ|ƒqcqcWq WdS(NR%i( tFalsetTrueRtbackvarRJRERR)RLRKRR"RN( RR RPRBtotherstbuttonsRRRStvalR9((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_create_other_buttons€s     cCs`t|jƒ|j_t|jjƒ|j_|jjd|jjƒ}|j|ddƒdS(NtTestR%( RR RRRt buttonframet make_buttonRR(Rtbtn((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_make_button“scCsa|jjƒd}x7|jjjƒD]#}|ddkr&|d}q&q&W|jd|ƒdS(NR>R%Rtcommand(RR*R]twinfo_childrenR4(Rtclosebuttoncommandtchild((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyttest_create_command_buttons™s  (t__name__t __module__t classmethodR RRRR&R.R;R=RCRERTR[R`Re(((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyRs          t__main__t verbosityitexit(t__doc__tunittestttest.test_supportRtTkinterRRRRtidlelibRRRRtidlelib.idle_test.mock_idleRtTestCaseRRftmain(((s?/usr/lib64/python2.7/idlelib/idle_test/test_searchdialogbase.pyts " ‹