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

Side by Side Diff: third_party/twisted_8_1/twisted/test/plugin_basic.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 # Copyright (c) 2005 Divmod, Inc.
2 # Copyright (c) 2007 Twisted Matrix Laboratories.
3 # See LICENSE for details.
4
5 # Don't change the docstring, it's part of the tests
6 """
7 I'm a test drop-in. The plugin system's unit tests use me. No one
8 else should.
9 """
10
11 from zope.interface import classProvides
12
13 from twisted.plugin import IPlugin
14 from twisted.test.test_plugin import ITestPlugin, ITestPlugin2
15
16
17
18 class TestPlugin:
19 """
20 A plugin used solely for testing purposes.
21 """
22
23 classProvides(ITestPlugin,
24 IPlugin)
25
26 def test1():
27 pass
28 test1 = staticmethod(test1)
29
30
31
32 class AnotherTestPlugin:
33 """
34 Another plugin used solely for testing purposes.
35 """
36
37 classProvides(ITestPlugin2,
38 IPlugin)
39
40 def test():
41 pass
42 test = staticmethod(test)
43
44
45
46 class ThirdTestPlugin:
47 """
48 Another plugin used solely for testing purposes.
49 """
50
51 classProvides(ITestPlugin2,
52 IPlugin)
53
54 def test():
55 pass
56 test = staticmethod(test)
57
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/test/myrebuilder2.py ('k') | third_party/twisted_8_1/twisted/test/plugin_extra1.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698