diff options
author | Hugues Hiegel <root@paranoid> | 2015-02-22 12:58:46 +0100 |
---|---|---|
committer | Hugues Hiegel <root@paranoid> | 2015-02-22 12:58:46 +0100 |
commit | b2034fdfec040a67988e543a911208ef2491ce7a (patch) | |
tree | f970dfabc63f59adac7b948cb0211d6ae926d29f /jqueryui/tests/Jqueryui.php |
New RoundCube Plugins Git folder
Diffstat (limited to 'jqueryui/tests/Jqueryui.php')
-rw-r--r-- | jqueryui/tests/Jqueryui.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/jqueryui/tests/Jqueryui.php b/jqueryui/tests/Jqueryui.php new file mode 100644 index 0000000..ee25818 --- /dev/null +++ b/jqueryui/tests/Jqueryui.php @@ -0,0 +1,23 @@ +<?php + +class Jqueryui_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../jqueryui.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new jqueryui($rcube->api); + + $this->assertInstanceOf('jqueryui', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + |