Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2019-06-30 10:16:44 +0300
committerAleksander Machniak <alec@alec.pl>2019-06-30 10:16:44 +0300
commit6d17e58380e897d298c4e73419c54bb1f9f562ca (patch)
tree11edf4a13131060910e9611745eab03f8e0bf709 /plugins
parent9d5e2219f816a393d1a7e445e7fa0878da7c5d37 (diff)
Add basic test for password drivers
Diffstat (limited to 'plugins')
-rw-r--r--plugins/password/tests/Password.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/password/tests/Password.php b/plugins/password/tests/Password.php
index d59049fee..95cba4166 100644
--- a/plugins/password/tests/Password.php
+++ b/plugins/password/tests/Password.php
@@ -21,6 +21,20 @@ class Password_Plugin extends PHPUnit_Framework_TestCase
}
/**
+ * A dummy test testing PHP syntax on password drivers
+ */
+ function test_all_drivers()
+ {
+ if ($files = glob(__DIR__ . '/../drivers/*.php')) {
+ foreach ($files as $file) {
+ if (preg_match('|/([a-z_]+)\.php$|', $file, $matches)) {
+ $this->load_driver($matches[1]);
+ }
+ }
+ }
+ }
+
+ /**
* cpanel_webmail driver test
*/
function test_driver_cpanel_webmail()