Commit Graph

1042 Commits

Author SHA1 Message Date
ayushchd
2a5183d9f0 Merge remote-tracking branch 'upstream/master' into unit_testing 2013-07-17 11:47:28 +05:45
ayushchd
7312cd5b01 Tests for AuthenticationConfig and AuthenticationCookie 2013-07-16 21:44:49 +05:45
ayushchd
c1d787edf8 Move getTagArray to bootstrap 2013-07-16 21:40:53 +05:45
xmujay
5282b838ce UTs for PMA_server_status_advisor 2013-07-15 22:07:14 +08:00
Michal Čihař
57c1efd166 Merge pull request #504 from adamgsoc2013/UT_plu_table
add unit test case for PMA_Table*
2013-07-15 04:01:05 -07:00
ayushchd
3f646649ea Fix test failures because of header redirect 2013-07-15 16:28:42 +05:45
adamgsoc2013
014cbe7036 not need to do on tearDown 2013-07-15 17:07:53 +08:00
Michal Čihař
574f520b1a Use new shared runkit detection 2013-07-15 10:51:43 +02:00
Michal Čihař
a2e9ee199e Migrate PMA_sendHeaderLocation testing to shared header testing code 2013-07-15 10:42:41 +02:00
Michal Čihař
493c23d18f Add shared code to setup header testing using runkit 2013-07-15 10:42:02 +02:00
adamgsoc2013
7cf5cc0d4c make better diff 2013-07-15 10:42:31 +08:00
adamgsoc2013
5f0a987362 add unit test case for PMA_Table* 2013-07-15 10:30:53 +08:00
Michal Čihař
0302d009c5 Merge pull request #501 from adamgsoc2013/UT_plu_parse
Test case for sqlparser.data.php (no function lines)
2013-07-14 12:28:07 -07:00
adamgsoc2013
43f0653f50 add function in source file, so that sqlparser.data.php can be covered by PHPUnit 2013-07-14 22:13:39 +08:00
adamgsoc2013
772d3e0005 add PMA_SQL_Parse_Data_Mock, so that sqlparser.data.php can be covered by PHPUnit 2013-07-14 21:27:27 +08:00
xmujay
3f358142cb fix the "Not support query" error by moving mock data to DBI Dummy class 2013-07-13 11:31:01 +08:00
adamgsoc2013
35417fe3ed Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into UT_plu_parse 2013-07-12 23:23:36 +08:00
xmujay
7014c18a88 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into 0706_UT_serverView2 2013-07-12 23:21:34 +08:00
xmujay
e257c17588 Unit test case for PMA_server_replication refactored functions 2013-07-12 22:31:35 +08:00
Madhura Jayaratne
2dfcf17983 Merge pull request #495 from ayushchd/unit_testing
Validator names fix
2013-07-12 04:06:17 -07:00
ayushchd
27cbd608d4 Fix testAddJsValidate 2013-07-12 16:18:16 +05:45
Michal Čihař
e338e91e9d Improve version parsing to cope with version numbers we use currently 2013-07-12 10:54:59 +02:00
Michal Čihař
fc163bb512 Move version parsing to Util class 2013-07-12 10:54:01 +02:00
Michal Čihař
dcd8d12cf6 Move version gathering into function and test it 2013-07-12 10:21:17 +02:00
ayushchd
550a606443 Improve tests and coverage 2013-07-12 13:07:30 +05:45
ayushchd
4fc8d2b37e Fix failing tests because of static variable 2013-07-12 13:07:01 +05:45
Madhura Jayaratne
6f1f272a12 Merge pull request #493 from ayushchd/unit_testing
Tests for setup/lib* and user_prefs*
2013-07-11 11:33:09 -07:00
ayushchd
de3cc341a0 Add test case for non-array $var_value 2013-07-11 23:48:05 +05:45
Michal Čihař
e651c7aaf2 Merge pull request #487 from ayushchd/unit_testing_2
UTs for libraries/config/*, added validator class
2013-07-11 07:34:59 -07:00
adamgsoc2013
5941ad5134 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into UT_plu_parse 2013-07-11 18:23:17 +08:00
ayushchd
e6aad8891c Fix test case 2013-07-11 15:20:09 +05:45
ayushchd
87008b25ce More tests for perform_config_checks 2013-07-11 14:58:11 +05:45
ayushchd
32157f3425 Add tests for PMA_Form and PMA_FormDisplay 2013-07-11 14:30:57 +05:45
ayushchd
ce71f173a0 Fix test cases for PMA_ConfigFile 2013-07-11 14:30:10 +05:45
ayushchd
f7e9e262c1 Tests for setup/* and user_prefs* 2013-07-11 13:59:49 +05:45
ayushchd
0558150dc5 Reset ConfigFile Instance 2013-07-11 13:58:51 +05:45
xmujay
4726235ef9 remove the browser setting which will cause other cases failed 2013-07-11 13:34:34 +08:00
xmujay
92f1116ca3 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into 0706_UT_serverview 2013-07-10 22:17:05 +08:00
xmujay
197d18b70b fix code style 2013-07-10 21:42:36 +08:00
xmujay
205f3051f9 UTs for PMA_server_databases.lib.php 2013-07-10 21:07:47 +08:00
Michal Čihař
d286715cce Replace tabs with spaces 2013-07-10 14:58:44 +02:00
adamgsoc2013
248c13014d include the data file, so that it can be covered by PHPUnit 2013-07-10 20:09:09 +08:00
Michal Čihař
959f94f087 Merge pull request #490 from adamgsoc2013/UT_plu_schame
Add UT to validate that the data is set correctly on the sub class of Schema
2013-07-10 04:29:03 -07:00
xmujay
0c0f011608 using returnValueMap to fix different setting of PMA_DRIZZLE 2013-07-10 11:33:48 +08:00
adamgsoc2013
9d8e88bbb1 Add UT to validate that the data is set correctly on the sub class of Schema 2013-07-10 00:26:24 +08:00
Michal Čihař
476cd59c01 Merge pull request #481 from adamgsoc2013/UT_plu_parse
add test case for SQL parser/validator
2013-07-09 06:38:18 -07:00
adamgsoc2013
e043418995 add Mock SOAP_Client 2013-07-09 21:02:48 +08:00
Marc Delisle
bf34732f6c Merge pull request #486 from xmujay/0706_UT_serverview
unit test case for server_status newly refactored functions
2013-07-09 05:28:28 -07:00
xmujay
781b4ef722 add class Doc for UT files (server view files) 2013-07-09 10:17:46 +08:00
adamgsoc2013
3f24f6d901 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into UT_plu_parse 2013-07-08 23:52:39 +08:00