Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
ó
{fc @ s d Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d l Z e d ƒ d Z
d d d „ ƒ YZ e ƒ Z d
d d „ ƒ YZ
e
ƒ Z d e j f d
„ ƒ YZ d e j f d „ ƒ YZ d e j f d „ ƒ YZ e d k re j d d d e ƒ n d S( s !Changing this line will break Test_findfile.test_found!
Non-gui unit tests for idlelib.GrepDialog methods.
dummy_command calls grep_it calls findfiles.
An exception raised in one method will fail callers.
Otherwise, tests are mostly independent.
*** Currently only test grep_it.
iÿÿÿÿN( t captured_stdoutt findfile( t Var( t
GrepDialogs idlelib/idle_tests
/test_grep.pyt Dummy_searchenginec B s e Z d Z d „ Z RS( sÒ GrepDialog.__init__ calls parent SearchDiabolBase which attaches the
passed in SearchEngine instance as attribute 'engine'. Only a few of the
many possible self.engine.x attributes are needed here.
c C s | j S( N( t _pat( t self( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyt getpat s ( t __name__t
__module__t __doc__R ( ( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyR s t
Dummy_grepc B s; e Z e j j Z e j j Z e e ƒ Z e Z
d „ Z RS( c C s d S( N( ( R ( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyt close" s ( R R R t grep_itt im_funct findfilesR t Falset recvart searchenginet engineR ( ( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyR s
t
FindfilesTestc B s e Z RS( ( R R ( ( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyR ' s t Grep_itTestc B s# e Z d „ Z d „ Z d „ Z RS( c C sZ | t j _ t ƒ � } t j t j | ƒ t ƒ Wd QX| j ƒ j d ƒ } | j
ƒ | S( Ns
( t grepR R R R
t ret compilet __file__t getvaluet splitt pop( R t patt st lines( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyt report3 s
c C s[ d d } | j | ƒ } | j t | ƒ d ƒ | j | | d ƒ | j | d d ƒ d S( Ns xyz*i i i i s No hits.( R t assertEqualt lent assertIn( R R R ( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyt test_unfound; s
c C s… d } | j | ƒ } | j t | ƒ d ƒ | j | | d ƒ | j d | d ƒ | j d | d ƒ | j | d j d ƒ ƒ d S(
Ns<