Commit Graph

1463 Commits

Author SHA1 Message Date
Marc Delisle
81ed4c9c83 bug #4355 Precision specifier for DOUBLE type is truncated
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-04-07 13:08:41 -04:00
Michal Čihař
b80e73979b Fixed PHP Parse error in Advisor
There is one rule which needs to pass more values to format string and
the code did not properly handle this. Now evaluating params and passing
them to vsprintf to process the format string.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-02 09:14:15 +02:00
Michal Čihař
58fcc7bb32 Add test for double format values
bug #4347

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-02 09:09:19 +02:00
Michal Čihař
3d0f237031 Fix expected message to match code
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-14 13:05:48 +01:00
Michal Čihař
3e83565cf2 Fix order of params to assertEquals
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-14 13:05:41 +01:00
Michal Čihař
73cdd13a83 Merge pull request #994 from mebjas/QA_4_1
Correcting test for Config.class.php
2014-03-06 09:18:03 +01:00
minhaz
06e7aa4c26 Test case for Config.class.php fixed
Testcases modified:
Two test cases - one for no config file , other with config file

Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-06 12:08:48 +05:30
minhaz
13baf4ea18 testing permission for test object
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-06 00:44:37 +05:30
minhaz
5868049867 Update PMA_Config_test.php
As per discussion in mailing list, another object is used to check for file permission while global object remains same!
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-05 23:01:05 +05:30
minhaz
f580c8fb94 Correcting test for Config.class.php
The constant used to load config file i.e CONFIG_FILE was config.inc.php while it did not exist in code base, which was causing two similar test-case with no config-file.
CONFIG_FILE has been replaced with "config.sample.inc.php" which can be tested for.
 
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-04 00:49:57 +05:30
Michal Čihař
f319824b54 Fix regexp to match
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-03 09:30:51 +01:00
Michal Čihař
6cbde74c25 Test encoded binary output
Otherwise PHP sometimes refuses to match binary content using PCRE.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-03 09:30:44 +01:00
Michal Čihař
f95010d9c2 Merge pull request #981 from mebjas/QA_4_1
Testcases for PMA_ConfigTest modified
2014-03-03 09:28:00 +01:00
minhaz
34a11a06fb Testcase build failure fixed
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-02 15:23:45 +05:30
minhaz
5b8bf48dad testCase bild fail fixed
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-02 14:44:39 +05:30
minhaz
47dfc2e3f0 tearDown() function to unset GLOBALS used for this test
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-02 13:43:38 +05:30
minhaz
f7b35e52ef Added testcase for testCheckPermissions()
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-02 13:41:57 +05:30
minhaz
b32b8ade30 Test object unset on test completion
The tearDown() function was kept empty without releasing resources of current object

Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-01 04:42:51 +05:30
minhaz
f1529325ff coding style fix
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-01 02:49:56 +05:30
Marc Delisle
94cb1e11f8 Merge pull request #976 from sampathLiyanage/bugfixdbsearch
DB Search bug fix #4299
2014-02-28 15:11:48 -05:00
Sampath Liyanage
5f93f45c04 test failure fixed
Signed-off-by: Sampath Liyanage <plbsam@gmail.com>
2014-03-01 00:15:08 +05:30
minhaz
501d25fe62 fixing build test and adding test cases
Test case added for testBlowfishDecrypt() and modified for testBlowfishEncrypt()
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-02-27 14:46:57 +05:30
minhaz
495eda9df3 testBlowFishDecrypt() testcase added
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-02-27 04:23:43 +05:30
Michal Čihař
b91cc88d73 Fixed altering table to DOUBLE/FLOAT field 2014-02-19 14:31:09 +01:00
Michal Čihař
87bbb24496 Fix tescase for new parameter passed to recaptcha
Signed-off-by: Michal Čihař <mcihar@suse.cz>
2014-02-03 09:00:31 +01:00
Marc Delisle
8ee7fc8a9c bug #4265 Missing datepicker icon for DATETIME(length)
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-30 13:23:31 -05:00
Madhura Jayaratne
c1c50b5944 Revert e8fa9e5335, ea0ad9d41c and f36fbfd4c6
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-29 23:06:43 +05:30
Sampath Liyanage
ea0ad9d41c unit tests updated. Some global variables were set in setup functions of some test files. one testing function with mockobjects was changed from once() to exactly(2) because the bug fix has made that function calls twice
Signed-off-by: Sampath Liyanage <plbsam@gmail.com>
2014-01-27 21:53:36 +05:30
Marc Delisle
7064e047a3 bug #4218 Chrome behavior with date fields
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-22 08:37:32 -05:00
Marc Delisle
10a6260180 Fix failing test
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-06 09:35:54 -05:00
Marc Delisle
8cc5103b00 Fix failing test
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-28 06:13:51 -05:00
Marc Delisle
887cd2b6e9 Fix test
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-15 13:43:08 -05:00
Marc Delisle
f488cbbb86 Remove test no longer correct
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-08 19:27:06 -05:00
J.M
1d5b248706 Add test case for Internet Explorer 11 detection 2013-11-21 20:40:42 +01:00
ptarjan
840f7b1215 Make unit tests friendlier to running independently 2013-11-20 14:43:55 -08:00
Michal Čihař
8075bd0dd3 These tests can take longer, give them more time 2013-11-19 09:26:04 +01:00
Marc Delisle
946bf10276 Fix coding style 2013-11-18 07:32:20 -05:00
Mohamed Ashraf
2549260267 removed no-op method 2013-11-17 18:34:41 +01:00
Mohamed Ashraf
5c102f48af Added test cases for PMA_prettyPrint 2013-11-17 15:38:44 +01:00
Marc Delisle
d8fd82a9f5 The DisableIS directive is removed 2013-11-05 12:44:04 -05:00
Marc Delisle
26bea3f104 Merge remote branch 'tithugues/fix-4134' 2013-11-05 12:16:32 -05:00
Marc Delisle
57ef25eed8 The DisableIS directive is being deprecated 2013-11-05 05:10:13 -05:00
Madhura Jayaratne
4d8e34d954 Merge branch 'master' of github.com:phpmyadmin/phpmyadmin 2013-11-04 22:22:02 +05:30
Madhura Jayaratne
525fd79d19 Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
Madhura Jayaratne
f1a461d7bf Remove trailing white spaces 2013-11-04 22:09:15 +05:30
Michal Čihař
5a614aeb64 Fix expected result 2013-11-04 09:49:01 +01:00
Michal Čihař
1ec6b61f46 Fix PMA_getHtmlForOptionsList parameters 2013-11-04 09:45:27 +01:00
Hugues Peccatte
12f1627656 Fix repositioning after delete.
Fix test related to repositioning.
2013-11-03 19:19:15 +01:00
Marc Delisle
8fd0d79405 The DisableIS directive is being deprecated 2013-11-03 09:55:39 -05:00
Madhura Jayaratne
3b70bbc44e Remove more trailing white spaces 2013-11-03 19:20:24 +05:30