From: Sam Tuke Date: Fri, 1 Jun 2012 17:59:57 +0000 (+0100) Subject: Added class comment block X-Git-Tag: v4.5.0beta1~74^2~425^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=410b556a8651695dd15e742e0501d4da341ef594;p=nextcloud-server.git Added class comment block --- 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