Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/twisted_8_1/twisted/plugins/twisted_trial.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 from zope.interface import implements
3
4 from twisted.trial.itrial import IReporter
5 from twisted.plugin import IPlugin
6
7 class _Reporter(object):
8 implements(IPlugin, IReporter)
9
10 def __init__(self, name, module, description, longOpt, shortOpt, klass):
11 self.name = name
12 self.module = module
13 self.description = description
14 self.longOpt = longOpt
15 self.shortOpt = shortOpt
16 self.klass = klass
17
18
19 Tree = _Reporter("Tree Reporter",
20 "twisted.trial.reporter",
21 description="verbose color output (default reporter)",
22 longOpt="verbose",
23 shortOpt="v",
24 klass="TreeReporter")
25
26 BlackAndWhite = _Reporter("Black-And-White Reporter",
27 "twisted.trial.reporter",
28 description="Colorless verbose output",
29 longOpt="bwverbose",
30 shortOpt="o",
31 klass="VerboseTextReporter")
32
33 Minimal = _Reporter("Minimal Reporter",
34 "twisted.trial.reporter",
35 description="minimal summary output",
36 longOpt="summary",
37 shortOpt="s",
38 klass="MinimalReporter")
39
40 Classic = _Reporter("Classic Reporter",
41 "twisted.trial.reporter",
42 description="terse text output",
43 longOpt="text",
44 shortOpt="t",
45 klass="TextReporter")
46
47 Timing = _Reporter("Timing Reporter",
48 "twisted.trial.reporter",
49 description="Timing output",
50 longOpt="timing",
51 shortOpt=None,
52 klass="TimingTextReporter")
53
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/plugins/twisted_telnet.py ('k') | third_party/twisted_8_1/twisted/plugins/twisted_web.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698