Hi Michal,
I have fixed the failing test cases of CommonFunctions.class.php. But the
following two test files still having issues.
- PMA_showMessage_test_disabled.php
Test method of this class recursively calling many functions and
going through several layers. Since CommonFunctions.class.php
having private construct it is not possible to mock the class
also.
- PMA_checkParameters_test.php
When I include the database_interface.lib.php I failed to
configure the required configurations.
If you have any suggestions let me know.
Also is there a method to run all the test cases under
/test/libraries/common/ ? Since CommonFunctions.class.php has several test
classes it is difficult to genarate the whole class code coverage.
*phpunit test/libraries/common/* command won't work.
Regards,
--
Yasitha Pandithawatta
Undergraduate
Computer Science and Engineering Department
University of Moratuwa
Sri Lanka
Hi Chanaka/Thilina,
Any body working on writing test cases for above mentioned two classes. If
What is the status?
I can see some test cases are failing in common library test cases
after re-factoring. Any body fix those failing
test cases in your fork?
Regards,
--
Yasitha Pandithawatta
Undergraduate
Computer Science and Engineering Department
University of Moratuwa
Sri Lanka
Hi,
with current upstream master (15ab6eea39880983f1bc2b0e08d679a33a457876),
I get an error trying to copy a table via Operations.
--
Marc Delisle
http://infomarc.info
Hi,
Madhura, I saw that last year your wrote the plug-in for importing ESRI
Shape files. I found a short description of the format, and I wrote it
here [1], but I'm not sure if that corresponds. Could you please check?
Also, is there any way you can provide me with a sample .shp file to
test the new import plugin? :)
On a related note, Michal, do you think docSQL is still supported? I saw
that their last update was in 2009, and their website is not available [2].
I downloaded the archive, but their English readme is in Deutsch, and
their Deutsch readme is in English, but still not very helpful, so I did not
manage to get around it. Do you think we should keep this import format?
[1] http://wiki.phpmyadmin.net/pma/import
[2] http://sourceforge.net/projects/docsql/
--
Alex
Hi,
I was trying to edit a page on the wiki [1], and it tells me that I don't
have the necessary permissions and asks me to:
"set and validate your e-mail address through your user preferences."
But when accessing [2], I get the following error:
A database query syntax error has occurred. This may indicate a bug
in the software. The last attempted database query was:
(SQL query hidden)
from within function "SpecialOpenID::getUserOpenIDInformation". \
Database returned error "1054: Unknown column 'uoi_user_registration'
in 'field list' (192.168.2.4)".
Any ideas why?
[1] http://wiki.phpmyadmin.net/pma/Import_(development)
[2] http://wiki.phpmyadmin.net/pma/Special:Preferences
--
Alex
Hi Rouslan,
I was just reading your weekly report. I have a question about the
'refreshing of navigation' :
You mention that the state of the navigation (which branches are open)
has to be remembered, when sending it over to the client/browser. Does
this mean that the entire navigation tree is generated server side on
every change to the nav tree (f.e. clicking on a branch to open it, or
when tables/databases are added/deleted/renamed/...)? Or only in case
of a full refresh (or first load)?
Would it make sense to keep the nav tree state stored client side and
let the script repopulate the tree based on data it gets from the
server, after a request initiated by user interaction (navigating the
tree) or when the server sends new/changed/deleted tables when
something is changed by the user in the main panel (triggering
refreshNavigation)?
Or would this overcomplicate things?
--
Kind regards,
Dieter Adriaenssens
Hi,
not sure if it's a problem with the new plugins or
CommonFunctions.class.php but when clicking on Import in database view:
Cannot use object of type ImportCsv as array in
/libraries/CommonFunctions.class.php on line 3540
Tested with PHP 5.4.4.
--
Marc Delisle
http://infomarc.info