aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/user/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/user/backend.php')
-rw-r--r--tests/lib/user/backend.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lib/user/backend.php b/tests/lib/user/backend.php
index 5dab5afb186..984249e84eb 100644
--- a/tests/lib/user/backend.php
+++ b/tests/lib/user/backend.php
@@ -20,6 +20,16 @@
*
*/
+/**
+ * Abstract class to provide the basis of backend-specific unit test classes.
+ *
+ * All subclasses MUST assign a backend property in setUp() which implements
+ * user operations (add, remove, etc.). Test methods in this class will then be
+ * run on each separate subclass and backend therein.
+ *
+ * For an example see /tests/lib/user/dummy.php
+ */
+
abstract class Test_User_Backend extends UnitTestCase {
/**
* @var OC_User_Backend $backend