[Phpmyadmin-devel] Refactoring: Displaying query results

Chanaka Dharmarathna pe.chanaka.ck at gmail.com
Sat Jul 7 09:42:14 CEST 2012


Hi Michal,

I almost reduce the use of super global variables inside functions of
PMA_DisplayResults class.
Most of the fields are set while executing the getTable() function since
they cannot set while executing the constructor.

Now I'm move into writing tests.
I am facing to a problem with writing tests.
How can I access or set the private variables, by a test ?
The already existed tests also failing due to this change.
Your suggestions will very helpful.

Regards !
-- 
____________________________________

Chanaka Indrajith
Bsc.Computer Engineering Undergraduate
Faculty of Engineering
University of Peradeniya
Sri Lanka
____________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120707/b05b3563/attachment.html>


More information about the Developers mailing list