On Monday 04 June 2012 12:53:02 Frank Karlitschek wrote: > > What are you testing, if it is the core, why not use the core OC_ classes?
I'm testing the files_versions app. In order to test any functionality that interacts with users, a dummy backend for the User class must be loaded. > Same question from me. I donĀ“t think we should make our public API bigger > than needed only because we want to use unit tests. If we want apps to have unit tests, then any part of OC which must be accessed for the writing of tests should be in the public namespace. It seems to me that OCP\User class is just as public as any other class that needs access for the testing of an app. Best, Sam.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud