Commit Graph

489 Commits

Author SHA1 Message Date
Michal Čihař
7d032df6d2 Fixed field type 2013-08-21 14:33:13 +02:00
Michal Čihař
7b56920492 These are actually texts 2013-08-21 14:30:48 +02:00
Michal Čihař
a7a102c44f Correctly mark test as incomplete 2013-08-21 14:09:26 +02:00
Michal Čihař
4aa0dcbdf8 Fixed assertions for HTML 5 input types 2013-08-21 14:07:38 +02:00
Madhura Jayaratne
eb6616c6d5 Fix test failures due to undefined index 'True_Type' 2013-08-21 17:30:30 +05:30
Michal Čihař
dfccfa9dc5 Merge pull request #619 from ayushchd/uts_refactored
Unit tests for insert_edit.lib.php
2013-08-20 22:28:28 -07:00
ayushchd
fd97b69c22 Tests for libraries/insert_edit.lib.php 2013-08-21 02:21:59 +05:30
Michal Čihař
7eb2ba9c83 Merge pull request #608 from ayushchd/ref_uts
Fixes and tests
2013-08-20 02:22:13 -07:00
ayushchd
f68c3fe3e7 Tests for libraries/tbl_columns_definition_form.lib.php 2013-08-18 19:22:05 +05:30
xmujay
608ef69919 more UTs for PMA_mult_submits 2013-08-18 16:04:57 +08:00
xmujay
4f2559d3a3 add UT for PMA_mult_submits 2013-08-17 00:23:42 +08:00
xmujay
230f5c7103 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into mult_submit_refactor 2013-08-16 13:49:10 +08:00
xmujay
cd98246d44 refactor PMA_mult_submits and Add UT 2013-08-15 00:01:13 +08:00
xmujay
f0a225f516 Uts for PMA_server_privileges 2013-08-12 21:32:37 +08:00
Marc Delisle
490f960042 Merge pull request #584 from xmujay/fixUT
UTs for PMA_server_privileges
2013-08-11 22:56:40 -07:00
adamgsoc2013
8c7566093d fix the assertion error for testPMAGetRelationsParam 2013-08-12 00:28:00 +08:00
adamgsoc2013
05f7400ff9 fix code Static Analysis Warnings 2013-08-12 00:18:04 +08:00
xmujay
9e2639eca8 add test case for PMA_server_privileges 2013-08-11 16:40:15 +08:00
Marc Delisle
db39b07d95 Merge pull request #579 from xmujay/fixUT
fix UT error and add UT for PMA_server_privileges
2013-08-09 08:23:43 -07:00
xmujay
d1a70dcf82 fix UT error and add UT for PMA_server_privileges 2013-08-09 18:31:12 +08:00
adamgsoc2013
bd7eefc39b add more test cases 2013-08-08 23:04:34 +08:00
Michal Čihař
482b6a23b7 Another SQL fixup 2013-08-07 19:51:35 +02:00
Michal Čihař
2764e7b940 Fix expected SQL query 2013-08-07 19:44:41 +02:00
Michal Čihař
7153a45546 Correctly merge server variables fix to master 2013-08-07 14:43:01 +02:00
Michal Čihař
c419f5be59 Add some missing includes 2013-08-07 11:40:28 +02:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
8e71b13ced CS compliant transformation helper functions 2013-08-07 10:53:09 +02:00
Michal Čihař
d7c3b58337 Dropped MySQL manual type configuration
Nothing but default settings is really working now:

- most formats are no longer available on MySQL formats
- for downloadable doc our links are in most cases broken and nobody
  noticed this, so I assume nobody is using this
- anyway most current installations don't have troubles with internet
  access what was main motivation for this configuration directive
2013-08-07 08:32:01 +02:00
Michal Čihař
b8ea23ab9f Drop $cfg['SQP']['fmtType']
It has no effect anyway and in case we would want to make syntax
highlighting optional, it needs to be done in javascript and needs
better configuration name than this one.
2013-08-06 13:35:09 +02:00
Michal Čihař
32b33a9e26 Incorporate truncating into PMA_Util::formatSql
It is used quite often as well.
2013-08-06 12:29:27 +02:00
Michal Čihař
cb413506a6 As PMA_Util::formatSql is now trivial, the test can be as well 2013-08-06 12:24:28 +02:00
Michal Čihař
99af0cbc7e Remove unused parameter from PMA_Util::formatSql
We no longer need parsed SQL here.
2013-08-06 12:24:28 +02:00
Michal Čihař
959644445d PMA_Util::formatSql now requires unparsed query as well
In most cases we just need to output it as is, formatting is done in
javascript.
2013-08-06 12:04:14 +02:00
Michal Čihař
6bb21aec66 Do not try to add documentation links with disabled docs 2013-08-06 11:56:37 +02:00
adamgsoc2013
66184fe8cc fix code comments on test code 2013-08-05 23:50:20 +08:00
Marc Delisle
b0a4eca472 Fix typo 2013-08-04 18:22:14 -04:00
xmujay
d260060106 fix the wrong comment for the case: value is not a number 2013-08-04 17:49:26 -04:00
xmujay
137614355b using better variable name and comments 2013-08-04 17:49:26 -04:00
xmujay
a6d93f2abb fix the typo: varible ==> variable 2013-08-04 17:49:26 -04:00
xmujay
909fcefb5d UTs for PMA_server_variables 2013-08-04 17:49:26 -04:00
Madhura Jayaratne
a84700e151 Merge pull request #553 from ayushchd/unit_testing_2
UTs and fixes
2013-08-04 04:17:50 -07:00
Isaac Bennetch
91c2523fa2 Merge pull request #555 from kasunchathuranga/unitTesting
Unit testing
2013-08-03 06:39:43 -07:00
Kasun Chathuranga
2f252cc83d Fix failing tests 2013-08-03 17:36:14 +05:30
Kasun Chathuranga
8b5ebb8784 Break different scenarios into different tests 2013-08-03 17:36:12 +05:30
Kasun Chathuranga
6b18c1764b Unit tests for user group manipulation functions 2013-08-03 17:36:11 +05:30
ayushchd
226e027e5b Merge remote-tracking branch 'upstream/master' into unit_testing_2 2013-08-03 15:12:37 +05:30
xmujay
db39eeb423 refactor server_variables
1. move functions to separated files
2. render HTML at once
3. refactor function name to PMA_getHtmlForSubPageHeader
2013-08-02 20:05:27 +08:00
Marc Delisle
9c660d150c Merge pull request #556 from xmujay/server_refactor2
Uts for PMA_server_status_queries
2013-07-31 11:15:58 -07:00
Kasun Chathuranga
c4686207ad Tests for PMA_generateRelationalDropdown() in tbl_relation.lib.php 2013-07-31 18:23:43 +05:30
xmujay
9bc7deb9a5 Uts for PMA_server_status_queries 2013-07-31 20:48:48 +08:00