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
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
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
Marc Delisle
d8fd82a9f5
The DisableIS directive is removed
2013-11-05 12:44:04 -05:00
Marc Delisle
57ef25eed8
The DisableIS directive is being deprecated
2013-11-05 05:10:13 -05:00
Marc Delisle
8fd0d79405
The DisableIS directive is being deprecated
2013-11-03 09:55:39 -05:00
Madhura Jayaratne
f311c9c502
Remove trailing white spaces
2013-11-03 19:13:23 +05:30
Madhura Jayaratne
184316d891
Coding style fixes
2013-11-03 19:00:41 +05:30
Piotr Przybylski
858b20d26d
Removed wiki links from setup script and user preferences
2013-11-03 13:07:22 +01:00
Piotr Przybylski
a67e41a646
Refactored ConfigFile class so that it is no longer a singleton
...
Fixes bug #4123 Double config including
2013-11-03 12:54:20 +01:00
Marc Delisle
d6488e2f58
Fix coding style
2013-10-21 03:40:52 -07:00
Piotr Przybylski
f8f43a10a7
Fix test on Windows
2013-10-20 23:24:32 +02:00
Madhura Jayaratne
5f72019a66
Fix failing tests
2013-10-19 13:02:43 +05:30
Marc Delisle
88da7eeba0
Fixes many coding style "line too long"
2013-10-17 05:41:51 -04:00
Madhura Jayaratne
490b4770e1
Mark the test as incomplete
2013-10-13 12:58:51 +05:30
Madhura Jayaratne
7119011693
Counting words is not really a good way of testing
2013-10-13 12:53:00 +05:30
Marc Delisle
c7e504b337
This test should use a numeric value
2013-10-11 12:57:46 -04:00
Mohamed Ashraf
a2659d7ba5
Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into error_reporting
...
Conflicts:
ChangeLog
2013-09-29 23:13:05 +02:00
Dieter Adriaenssens
07c850c2d6
fix coding style
2013-09-27 19:18:17 +02:00
Dieter Adriaenssens
85903d9672
add unit tests for PMA_SVG:getStringWidth()
2013-09-27 18:12:59 +02:00
Mohamed Ashraf
d90126ebd7
Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into error_reporting
...
Conflicts:
ChangeLog
scripts/create-release.sh
2013-09-21 00:49:01 +02:00
Michal Čihař
805d28e85b
Merge branch 'UT_import_sharp_files' of git://github.com/adamgsoc2013/phpmyadmin into adamgsoc2013-UT_import_sharp_files
2013-09-16 08:39:44 +02:00
Madhura Jayaratne
f98528a533
Merge branch 'QA_4_0'
...
Conflicts:
test/classes/PMA_DisplayResults_test.php
2013-09-14 16:49:49 +05:30
Madhura Jayaratne
f4fce01443
Fix failing tests
2013-09-14 16:46:58 +05:30