o
    ¯bÂ  ã                   @   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d5d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d6d-d.„Zd/d0„ Zd1d2„ Zd3d4„ ZdS )7Ú	_Reporterc                 C   s(   || _ || _|| _|| _|| _|| _d S ©N)ÚnameÚmoduleÚdescriptionÚlongOptÚshortOptÚklass)Úselfr   r   r	   r
   r   r   © r   ú?/usr/lib/python3/dist-packages/twisted/plugins/twisted_trial.pyÚ__init__	   s   
z_Reporter.__init__c                 C   ó   d S r   r   ©r   r   r   r   Ústream   ó   z_Reporter.streamc                 C   r   r   r   r   r   r   r   Útbformat   r   z_Reporter.tbformatc                 C   r   r   r   r   r   r   r   Úargs   r   z_Reporter.argsc                 C   r   r   r   r   r   r   r   Ú
shouldStop    r   z_Reporter.shouldStopc                 C   r   r   r   r   r   r   r   Ú	separator%   r   z_Reporter.separatorc                 C   r   r   r   r   r   r   r   ÚtestsRun*   r   z_Reporter.testsRunc                 C   r   r   r   )r   ÚtestÚerrorr   r   r   ÚaddError/   ó   z_Reporter.addErrorNc                 C   r   r   r   )r   r   ÚfailureÚtodor   r   r   ÚaddExpectedFailure3   r   z_Reporter.addExpectedFailurec                 C   r   r   r   )r   r   r   r   r   r   Ú
addFailure7   r   z_Reporter.addFailurec                 C   r   r   r   )r   r   Úreasonr   r   r   ÚaddSkip;   r   z_Reporter.addSkipc                 C   r   r   r   )r   r   r   r   r   Ú
addSuccess?   r   z_Reporter.addSuccessc                 C   r   r   r   )r   r   r   r   r   r   ÚaddUnexpectedSuccessC   r   z_Reporter.addUnexpectedSuccessc                 C   r   r   r   )r   Úerrsr   r   r   ÚcleanupErrorsG   r   z_Reporter.cleanupErrorsc                 C   r   r   r   r   r   r   r   ÚdoneK   r   z_Reporter.donec                 C   r   r   r   ©r   r   r   r   r   ÚendSuiteO   r   z_Reporter.endSuitec                 C   r   r   r   r   r   r   r   ÚprintErrorsS   r   z_Reporter.printErrorsc                 C   r   r   r   r   r   r   r   ÚprintSummaryW   r   z_Reporter.printSummaryc                 C   r   r   r   r)   r   r   r   Ú
startSuite[   r   z_Reporter.startSuitec                 C   r   r   r   ©r   Úmethodr   r   r   Ú	startTest_   r   z_Reporter.startTestc                 C   r   r   r   r.   r   r   r   ÚstopTestc   r   z_Reporter.stopTestTc                 C   r   r   r   )r   ÚuserMethÚwarnÚprintStatusr   r   r   ÚupDownErrorg   r   z_Reporter.upDownErrorc                 C   r   r   r   r   r   r   r   ÚwasSuccessfulk   r   z_Reporter.wasSuccessfulc                 C   r   r   r   ©r   Ústringr   r   r   Úwriteo   r   z_Reporter.writec                 C   r   r   r   r7   r   r   r   Úwritelns   r   z_Reporter.writelnr   )TT)Ú__name__Ú
__module__Ú__qualname__r   Úpropertyr   r   r   r   r   r   r   r    r!   r#   r$   r%   r'   r(   r*   r+   r,   r-   r0   r1   r5   r6   r9   r:   r   r   r   r   r      s@    








r   zTree Reporterztwisted.trial.reporterz'verbose color output (default reporter)ÚverboseÚvÚTreeReporter)r	   r
   r   r   zBlack-And-White ReporterzColorless verbose outputÚ	bwverboseÚoÚVerboseTextReporterzMinimal Reporterzminimal summary outputÚsummaryÚsÚMinimalReporterzClassic Reporterzterse text outputÚtextÚtÚTextReporterzTiming ReporterzTiming outputÚtimingNÚTimingTextReporterzSubunit Reporterzsubunit outputÚsubunitÚSubunitReporter)Úzope.interfacer   Útwisted.pluginr   Útwisted.trial.itrialr   r   ÚTreeÚBlackAndWhiteÚMinimalÚClassicÚTimingÚSubunitr   r   r   r   Ú<module>   sj    pú	ú	ú	ú	ú	
ú