U
    Â“«jÂ  ã                   @   s¸   d dl mZ d dlmZ d dlmZ eeeƒG dd„ dƒƒZedddd	d
dd�Zeddddddd�Zeddddddd�Z	eddddddd�Z
edddddd d�Zed!dd"d#dd$d�ZdS )%é    )Úimplementer)ÚIPlugin)Ú	IReporterc                   @   sò   e Zd Zdd„ Zedd„ ƒZedd„ ƒZedd„ ƒZed	d
„ ƒZedd„ ƒZ	edd„ ƒZ
dd„ Zd5dd„Zdd„ Zdd„ Zdd„ Zd6d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d7d-d.„Zd/d0„ Zd1d2„ Zd3d4„ ZdS )8Ú	_Reporterc                 C   s(   || _ || _|| _|| _|| _|| _d S ©N)ÚnameÚmoduleÚdescriptionÚlongOptÚshortOptÚklass)Úselfr   r   r	   r
   r   r   © r   úA/tmp/pip-unpacked-wheel-59kc99xd/twisted/plugins/twisted_trial.pyÚ__init__	   s    z_Reporter.__init__c                 C   s   d S r   r   ©r   r   r   r   Ústream   s    z_Reporter.streamc                 C   s   d S r   r   r   r   r   r   Útbformat   s    z_Reporter.tbformatc                 C   s   d S r   r   r   r   r   r   Úargs   s    z_Reporter.argsc                 C   s   d S r   r   r   r   r   r   Ú
shouldStop    s    z_Reporter.shouldStopc                 C   s   d S r   r   r   r   r   r   Ú	separator%   s    z_Reporter.separatorc                 C   s   d S r   r   r   r   r   r   ÚtestsRun*   s    z_Reporter.testsRunc                 C   s   d S r   r   )r   ÚtestÚerrorr   r   r   ÚaddError/   s    z_Reporter.addErrorNc                 C   s   d S r   r   )r   r   ÚfailureÚtodor   r   r   ÚaddExpectedFailure3   s    z_Reporter.addExpectedFailurec                 C   s   d S r   r   )r   r   r   r   r   r   Ú
addFailure7   s    z_Reporter.addFailurec                 C   s   d S r   r   )r   r   Úreasonr   r   r   ÚaddSkip;   s    z_Reporter.addSkipc                 C   s   d S r   r   )r   r   r   r   r   Ú
addSuccess?   s    z_Reporter.addSuccessc                 C   s   d S r   r   )r   r   r   r   r   r   ÚaddUnexpectedSuccessC   s    z_Reporter.addUnexpectedSuccessc                 C   s   d S r   r   )r   Zerrsr   r   r   ÚcleanupErrorsG   s    z_Reporter.cleanupErrorsc                 C   s   d S r   r   r   r   r   r   ÚdoneK   s    z_Reporter.donec                 C   s   d S r   r   ©r   r   r   r   r   ÚendSuiteO   s    z_Reporter.endSuitec                 C   s   d S r   r   r   r   r   r   ÚprintErrorsS   s    z_Reporter.printErrorsc                 C   s   d S r   r   r   r   r   r   ÚprintSummaryW   s    z_Reporter.printSummaryc                 C   s   d S r   r   r%   r   r   r   Ú
startSuite[   s    z_Reporter.startSuitec                 C   s   d S r   r   ©r   Úmethodr   r   r   Ú	startTest_   s    z_Reporter.startTestc                 C   s   d S r   r   r*   r   r   r   ÚstopTestc   s    z_Reporter.stopTestTc                 C   s   d S r   r   )r   ZuserMethÚwarnZprintStatusr   r   r   ÚupDownErrorg   s    z_Reporter.upDownErrorc                 C   s   d S r   r   r   r   r   r   ÚwasSuccessfulk   s    z_Reporter.wasSuccessfulc                 C   s   d S r   r   ©r   Ústringr   r   r   Úwriteo   s    z_Reporter.writec                 C   s   d S r   r   r1   r   r   r   Úwritelns   s    z_Reporter.writeln)N)N)TT)Ú__name__Ú
__module__Ú__qualname__r   Úpropertyr   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r&   r'   r(   r)   r,   r-   r/   r0   r3   r4   r   r   r   r   r      s>   








r   zTree Reporterztwisted.trial.reporterz'verbose color output (default reporter)ÚverboseÚvZTreeReporter)r	   r
   r   r   zBlack-And-White ReporterzColorless verbose outputZ	bwverboseÚoZVerboseTextReporterzMinimal Reporterzminimal summary outputÚsummaryÚsZMinimalReporterzClassic Reporterzterse text outputÚtextÚtZTextReporterzTiming ReporterzTiming outputZtimingNZTimingTextReporterzSubunit Reporterzsubunit outputZsubunitZSubunitReporter)Zzope.interfacer   Ztwisted.pluginr   Ztwisted.trial.itrialr   r   ZTreeZBlackAndWhiteZMinimalZClassicZTimingZSubunitr   r   r   r   Ú<module>   sh   pú	ú	ú	ú	ú	ú