Michal Čihař
e42b7e3aed
Bring back SSL certificate validation
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-25 11:08:44 +01:00
Dan Ungureanu
91b97fadc2
Remove unneeded closing tags.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Michal Čihař
13a3fb0635
Revert "Temporarily deactivate these tests (almost always fail on ci.phpmyadmin.net)"
...
This reverts commit 9403921e4e .
We should really test those. In case the requests will fail, some other
solution should be found to actually execute this code.
Signed-off-by: Michal Čihař <michal@cihar.com>
Conflicts:
test/classes/PMA_Config_test.php
test/classes/PMA_Util_test.php
test/libraries/PMA_SetupIndex_test.php
2015-06-22 15:14:48 +02:00
Hugues Peccatte
0ee7063220
Replace PMA_String calls by mb_* calls in tests.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-29 18:52:54 +02:00
Hugues Peccatte
9b77d746ab
Mass modifications to use PMA_String.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Marc Delisle
551099bc93
Fix coding style
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-08-23 07:34:11 -04:00
Marc Delisle
9403921e4e
Temporarily deactivate these tests (almost always fail on ci.phpmyadmin.net)
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-06 06:58:20 -04:00
Michal Čihař
a679b8c476
Adjust expectations
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-06 14:32:56 +02:00
Michal Čihař
3ba249176a
Remove incomplete @covers annotations
...
PHPUnit now uses these to list code which is covered and was not listed
in @covers, what produces quite a lot of errors. I don't think we really
need to explicitely list those directives.
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-19 16:04:20 +01:00
Hugues Peccatte
9b1f025fb7
PHPCS updates.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-03-14 23:06:46 +01:00
Jeff Chan
013a9a3395
Move slow test in HHVM to group medium
...
These tests were failing on HHVM because of the default 3 second timeout.
Yes, HHVM is supposed to be faster, but there's a "warmup" time for scripts
in JIT mode (which is on by default). I suspect that's why they're failing.
Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-13 20:52:13 +00:00
Michal Čihař
3bc935063f
Merge remote-tracking branch 'origin/QA_4_1'
2014-03-06 09:18:27 +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ř
3f9c963abe
Merge remote-tracking branch 'origin/QA_4_1'
2014-03-03 09:28:55 +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
Michal Čihař
5c0f090061
Skip test if curl extension is missing
2013-12-17 22:35:18 +01:00
J.M
1d5b248706
Add test case for Internet Explorer 11 detection
2013-11-21 20:40:42 +01:00
Madhura Jayaratne
d4c3a75e3e
Add missing doc comment
2013-08-27 23:38:13 +05:30
adamgsoc2013
05f7400ff9
fix code Static Analysis Warnings
2013-08-12 00:18:04 +08:00
ayushchd
b9a5bffaba
Testsuite code-compliance fixes
2013-08-07 22:28:46 +05:30
Michal Čihař
ba9cff2736
Set token in single place for all tests
2013-06-11 13:53:31 +02:00
Michal Čihař
f211f63327
Allow test to run standalone
2013-06-11 13:50:09 +02:00
adamgsoc2013
f2b5db7c04
fix the test case error due to fontsize setting
2013-05-20 21:07:38 +08:00
adamgsoc2013
01fe907a28
add test getFontsizeOptions for "em","Pt","px" unit
2013-05-16 00:44:36 +08:00
adamgsoc2013
d88b4599de
add testGetFontsizeForm for PMA_Config_test
2013-05-08 23:22:10 +08:00
Michal Čihař
e7355e49b1
Fix indentation
2013-05-02 15:23:13 +02:00
Michal Čihař
e6ff6dc9a8
Merge pull request #256 from adamgsoc2013/UT_config2
...
add test case for Config.class.php:
2013-04-16 00:16:35 -07:00
adamgsoc2013
b2d191b39e
follow PMA coding style, add space after comma.
2013-04-16 15:06:37 +08:00
adamgsoc2013
d13fbbbc41
add test case for Config.class.php:
...
1 testIsGitRevision
2 testCheckHTTP
per http://ci.phpmyadmin.net/job/phpMyAdmin/cloverphp/libraries_Config.class.php.html
It can increase a lot of code coverage
2013-04-16 13:51:31 +08:00
Michal Čihař
a7b1e909fd
Merge pull request #241 from ayushchd/issue_https
...
Fixed config tests and static variable issue
2013-04-15 02:38:57 -07:00
Madhura Jayaratne
8ea9c0719e
TRUE, FALSE and NULL must be lowercase
2013-04-12 22:00:54 +05:30
ayushchd
62c6910116
Fixed config tests for https detection and output compression
2013-04-12 21:11:03 +05:30
J.M
c3e8a8cc44
Add tests for IE9, IE10, IE11, Chrome
2013-04-08 14:52:18 +02:00
ayushchd
46e7d3fd0c
Implemented Config Test testGetThemeUniqueValue()
2013-04-05 14:27:57 +05:30
ayushchd
79c607df95
Fixed webOS detection for Darwin
2013-04-05 14:25:29 +05:30
Marc Delisle
6ec9b8336b
Fix merge conflicts
2013-03-26 07:49:12 -04:00
Marc Delisle
c7d32bf649
Adjust tests for new Safari detection
2013-03-25 20:09:45 -04:00
Michal Čihař
f9abb77686
Correctly test for PHP_OS detection
2013-02-13 09:27:05 +01:00
Madhura Jayaratne
bc5de586c6
Doc block improvements (mostly specifying return types)
2012-09-26 22:55:04 +05:30
Madhura Jayaratne
3849390b8b
Fix function name: PMA_array_merge_recursive -> PMA_arrayMergeRecursive
2012-06-01 21:57:07 +05:30
Michal Čihař
2a7358c9ab
Rewrite another test using dataProvider
2012-05-14 16:15:58 +02:00
Michal Čihař
1b1f501ac8
Wrap some long lines
2012-05-14 16:12:32 +02:00
Michal Čihař
d597d31f9e
Add doc
2012-05-14 16:09:02 +02:00