[Owncloud] Making internal methods public for unit testing

Sam Tuke samtuke at owncloud.com
Wed Jun 13 18:04:41 UTC 2012


On Tuesday 12 June 2012 20:42:24 Beni Buess wrote:
> You can use PHP's Reflection API. Using ReflectionMethod::setAccessible
> you can make a private Method callable from outside [1]

In this case the issue is not that we are unable to access methods, but rather 
that we are unable to access it from the tailor made OCP public method 
namespace. The question is about how access is organised, rather than how 
access is possible.

Best,

Sam.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120613/525a2a15/attachment.sig>


More information about the Owncloud mailing list