diff options
Diffstat (limited to 'trunk/test-plugins')
-rw-r--r-- | trunk/test-plugins/aaa_hello_plugin.py | 8 | ||||
-rw-r--r-- | trunk/test-plugins/hello_plugin.py | 11 | ||||
-rw-r--r-- | trunk/test-plugins/oldhello_plugin.py | 9 | ||||
-rw-r--r-- | trunk/test-plugins/test.cr2 | bin | 0 -> 11398232 bytes | |||
-rw-r--r-- | trunk/test-plugins/test.jpg | bin | 0 -> 24257 bytes | |||
-rw-r--r-- | trunk/test-plugins/wrongversion_plugin.py | 12 |
6 files changed, 40 insertions, 0 deletions
diff --git a/trunk/test-plugins/aaa_hello_plugin.py b/trunk/test-plugins/aaa_hello_plugin.py new file mode 100644 index 0000000..f7ca7e9 --- /dev/null +++ b/trunk/test-plugins/aaa_hello_plugin.py @@ -0,0 +1,8 @@ +import pluginmgr + +class Hello(pluginmgr.Plugin): + + def __init__(self, foo, bar=None): + self.foo = foo + self.bar = bar + diff --git a/trunk/test-plugins/hello_plugin.py b/trunk/test-plugins/hello_plugin.py new file mode 100644 index 0000000..7f0472c --- /dev/null +++ b/trunk/test-plugins/hello_plugin.py @@ -0,0 +1,11 @@ +import pluginmgr + +class Hello(pluginmgr.Plugin): + + def __init__(self, foo, bar=None): + self.foo = foo + self.bar = bar + + @property + def version(self): + return '0.0.1' diff --git a/trunk/test-plugins/oldhello_plugin.py b/trunk/test-plugins/oldhello_plugin.py new file mode 100644 index 0000000..47b3b67 --- /dev/null +++ b/trunk/test-plugins/oldhello_plugin.py @@ -0,0 +1,9 @@ +import pluginmgr + +class Hello(pluginmgr.Plugin): + + def __init__(self, foo, bar=None): + self.foo = foo + self.bar = bar + + diff --git a/trunk/test-plugins/test.cr2 b/trunk/test-plugins/test.cr2 Binary files differnew file mode 100644 index 0000000..0d36264 --- /dev/null +++ b/trunk/test-plugins/test.cr2 diff --git a/trunk/test-plugins/test.jpg b/trunk/test-plugins/test.jpg Binary files differnew file mode 100644 index 0000000..05516b0 --- /dev/null +++ b/trunk/test-plugins/test.jpg diff --git a/trunk/test-plugins/wrongversion_plugin.py b/trunk/test-plugins/wrongversion_plugin.py new file mode 100644 index 0000000..4ecc6aa --- /dev/null +++ b/trunk/test-plugins/wrongversion_plugin.py @@ -0,0 +1,12 @@ +# This is a test plugin that requires a newer application version than +# what the test harness specifies. + +import pluginmgr + +class WrongVersion(pluginmgr.Plugin): + + required_application_version = '9999.9.9' + + def __init__(self, *args, **kwargs): + pass + |