관리-도구
편집 파일: test_percolator.cpython-35.pyc
��Yf� � @ s� d Z d d l m Z e d � d d l Z d d l m Z m Z m Z d d l m Z m Z Gd d � d e � Z Gd d � d e j � Z e d k r� e j d d � d S)zTest Percolator� )�requiresZguiN)�Text�Tk�END)� Percolator� Delegatorc @ sa e Z d Z d d � Z d d � Z d d � Z d d d � Z d d d � Z d d d � Z d S)�MyFilterc C s t j | d � d S)N)r �__init__)�self� r �F/opt/alt/python35/lib64/python3.5/idlelib/idle_test/test_percolator.pyr s zMyFilter.__init__c G s | | _ | j j | � d S)N)�insert_called_with�delegate�insert)r �argsr r r r s zMyFilter.insertc G s | | _ | j j | � d S)N)�delete_called_withr �delete)r r r r r r s zMyFilter.deleteNc C s# | j � } | j j | | � d S)N)�upperr r )r �index�chars�tagsr r r �uppercase_insert s zMyFilter.uppercase_insertc C s# | j � } | j j | | � d S)N)�lowerr r )r r r r r r r �lowercase_insert s zMyFilter.lowercase_insertc C s d S)Nr )r r r r r r r �dont_insert s zMyFilter.dont_insert) �__name__� __module__�__qualname__r r r r r r r r r r r s r c @ s� e Z d Z e d d � � Z e d d � � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�PercolatorTestc C s"