OCP\User currently provides access to user-related methods commonly used by 
apps. For unit testing however, access to more methods are required, such as 
useBackend(), in order to make use of the dummy OC_User_Dummy user management 
backend.

I imagine that other methods will also require access via a public interface 
for unit testing other functionality (not just relating to user.php).

Therefore, although I can provide access to unit tests by simply adding 
wrappers for methods like useBackend() to OCP\User, I wonder whether there is 
a better option which doesn't result in a slew of new wrappers duplicating 
input and output?

Best,

Sam.
-- 
Sam Tuke
British Team Coordinator
Free Software Foundation Europe
IM : [email protected]
Latest UK Free Software news: uk.fsfe.org
Is freedom important to you? Join the fellowship.fsfe.org

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to