aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-06-01 18:59:57 +0100
committerSam Tuke <samtuke@owncloud.com>2012-06-01 18:59:57 +0100
commit410b556a8651695dd15e742e0501d4da341ef594 (patch)
treef48ddef8b2ac97d34c4e9b96cfd1a861fd69fb73 /tests
parent4b4d13165a1698a19ad6726d634b8880e1405fea (diff)
downloadnextcloud-server-410b556a8651695dd15e742e0501d4da341ef594.tar.gz
nextcloud-server-410b556a8651695dd15e742e0501d4da341ef594.zip
Added class comment block
Diffstat (limited to 'tests')
-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