Commit Graph

253 Commits

Author SHA1 Message Date
Herman van Rink
cf5d62b7ca Code style 2011-07-05 08:35:15 +02:00
Zarubin Stas
f05749656d Fix for PMA_headerLocation_test 2011-07-01 22:36:54 +03:00
Zarubin Stas
0e2e973f6c Set is_ajax_request to true to avoid notice - "Automatically appended backtick to the end of query!" for queries with unclosed quotes 2011-07-01 18:53:24 +03:00
Zarubin Stas
f7d7102d2f - Unit Test grouped by library directory
- Added configuration file phpunit.xml.dist and bootstraper-dist.php
 - Ignoring phpunit.xml, bootstraper.php and build/
2011-06-29 20:06:27 +03:00
Michal Čihař
c9c9fdf49d Consistent capitalisation of PMA_sqlAddSlashes 2011-06-27 14:48:15 +02:00
Michal Čihař
e57f27e50b Remove @uses tags from docblocks 2011-06-27 11:20:20 +02:00
Michal Čihař
2cae746cc1 Generally we speak only about sTheme, so do not introduce / Style 2011-06-17 14:58:13 +02:00
Tyron Madlener
5e09426666 Merge 2011-06-06 14:38:56 +02:00
Michal Čihař
cefdbde71c The *_cnt variables are gone from parser 2011-06-06 11:15:37 +02:00
Michal Čihař
bbbf2c49ed Drop $GLOBALS['charset'].
It was anyway always set to utf-8 so it does not make sense to keep it
as a variable.
2011-06-03 14:04:29 +02:00
Marc Delisle
baf339f802 Continue to replace warning level with error level 2011-05-04 06:14:28 -04:00
Marc Delisle
73c57b099e Continue to replace warning level with error level 2011-05-03 19:05:24 -04:00
Michal Čihař
c63d3dde81 Add more testcases. 2010-08-30 17:19:10 +02:00
Michal Čihař
e781f7f9b9 Add testcase for failed parsing. 2010-08-30 16:00:33 +02:00
Michal Čihař
4afbb59588 Add testcase for backticked table. 2010-08-30 15:55:52 +02:00
Michal Čihař
24b83423ce Add testcase for simple SELECT. 2010-08-30 15:54:30 +02:00
Michal Čihař
a6ba984504 Start testcase for SQL parser. 2010-08-30 15:53:00 +02:00
Michal Čihař
e6bd28ea88 Test counts as well. 2010-08-30 15:22:49 +02:00
Michal Čihař
7ab207384a Add testcase for validity of SQL parser data. 2010-08-30 15:18:49 +02:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
9c34a0eec9 Merged branch official/master. Resolved merge conflicts introduced due to merging of Piotr and Martynas's branches 2010-08-28 01:53:52 +05:30
Michal Čihař
99975dfc17 Merge branch 'QA_3_3'
Conflicts:
	test/PMA_headerLocation_test.php
2010-08-25 09:30:12 +02:00
Herman van Rink
0aba4e12f0 Updated unittest to conform latest update 2010-08-24 15:44:49 +02:00
Herman van Rink
b301062bee Generalized include, to incorporate the Config class 2010-08-24 15:14:27 +02:00
Herman van Rink
5920476d44 Updated unittest to conform latest update 2010-08-23 14:30:17 +02:00
ninadsp
e646a2760c Fixed conflict due to upstream merge 2010-07-23 21:59:15 +05:30
Michal Čihař
318dc4b650 Drop @version tag from docblocks. 2010-07-20 13:59:17 +02:00
Michal Čihař
df4a6efe47 Drop convcharset/pma_charset handling.
This code had no real use, it was used for converting strings from MySQL
to browser encoding.
2010-07-20 11:46:11 +02:00
ninadsp
38ac78e3ba merging changes from origin 2010-05-24 18:32:42 +05:30
Michal Čihař
dffd1dc1a2 Get rid of strSuccess. 2010-05-24 11:30:28 +02:00
Michal Čihař
88ff43da9f Remove strError occurences. 2010-05-24 11:27:08 +02:00
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Marc Delisle
dd845888f8 not really an old-style message 2010-05-17 12:53:26 -04:00
Michal Čihař
3436ce42cc Migrate separator code to gettext. 2010-05-13 11:31:34 +02:00
Michal Čihař
0dcbea28eb Move byte units translations to proper place. 2010-05-13 11:26:54 +02:00
Michal Čihař
588a63e6c0 These globals are no longer needed. 2010-05-13 11:23:57 +02:00
Marc Delisle
2182098af6 strings to gettext, second batch 2010-05-04 20:07:19 -04:00
Marc Delisle
f55823f47f strings to gettext, first batch 2010-05-03 12:57:46 -04:00
Michal Čihař
97a5c047d1 Convert end of lines. 2010-04-15 10:23:22 +02:00
Michal Čihař
f9ccd69538 Remove no longer needed language file names. 2010-04-09 13:57:36 +02:00
Marc Delisle
819324ede6 remove author names, as discussed at the 2010 developer meeting and according to the book Producing Open Source Software 2010-03-06 18:04:17 +00:00
Michal Čihař
94c2f864ae [core] Remove config data from session as it brings chicken-egg problem.
Configuration data stores PmaAbsoluteUri, which should be accessible
before initiating session. Otherwise there is no way to make
PmaAbsoluteUri work. PmaAbsoluteUri is needed at least for reverse
proxy setups, for example http webserver running behind https proxy.
2010-01-21 11:18:18 +00:00
Marc Delisle
526dce65cb 3.3 2009-12-31 13:11:19 +00:00
Marc Delisle
f3833884e4 3.3 2009-12-31 13:09:18 +00:00
Herman van Rink
b55c48b8d8 Added unittest for PMA_ifSetOr() 2009-10-16 08:10:26 +00:00
Marc Delisle
15441ded5d do not try to display a tab that was not built 2009-08-22 11:22:50 +00:00
Herman van Rink
9b4ee154a3 Add first Selenium tests 2009-07-16 11:03:50 +00:00
Herman van Rink
54247c62f6 Update TestCase for recent change 2009-07-15 18:27:30 +00:00
Herman van Rink
1edd1d32a4 Fixed HTML sytax errors and replaced usage of PMA_Config->getMtime 2009-06-29 13:11:25 +00:00
Herman van Rink
bad1075595 Fix EOL conflict in testcase 2009-06-29 08:34:06 +00:00
Marc Delisle
8480ffb665 improve function names 2009-06-07 11:09:13 +00:00
Marc Delisle
c010da50d8 bug #2473127 [display] Deleting rows displays tbl structure, not contents 2009-01-01 21:39:21 +00:00
Marc Delisle
85e9b88297 new tests, thanks to Michal Biniek 2008-12-11 18:26:41 +00:00
Sebastian Mendel
b5ff34658b point your browser to test/wui.php to see test results in your browser 2008-12-10 13:19:54 +00:00
Sebastian Mendel
ce1d25289d my fault, of course it is allowed to have more than one assert* in a test* method (it just stops executing on the first failed assert) 2008-12-10 13:07:24 +00:00
Sebastian Mendel
6d00fcb4ba there can be only ONE assert*() method in each test*() method 2008-12-10 10:46:41 +00:00
Sebastian Mendel
71b933b7a7 there can be only ONE assert*() method in each test*() method 2008-12-10 10:27:55 +00:00
Marc Delisle
e20c3b5579 false failures correction, thanks to Michal Biniek 2008-12-03 21:21:35 +00:00
Marc Delisle
ccbc80228a new unit tests, thanks to Michal Biniek 2008-11-30 11:49:44 +00:00
Michal Čihař
90dcd9716e Ignore this define. 2008-11-24 11:06:37 +00:00
Michal Čihař
56941e509c Adding @package, second part. 2008-11-24 11:05:40 +00:00
Michal Čihař
95dc7c7ed0 Convert some comments to phpdoc. 2008-11-24 10:13:57 +00:00
Marc Delisle
bf0f94a626 another false alarm 2008-11-23 21:11:59 +00:00
Marc Delisle
08458a5450 false alarm on this test 2008-11-23 20:53:39 +00:00
Marc Delisle
57257286d2 new tests, thanks to Michal Biniek 2008-11-07 17:35:40 +00:00
Marc Delisle
32d250a9f8 added a define() to enable running of test/AllTests.php, thanks to Sebastian Mendel 2008-10-30 21:22:00 +00:00
Marc Delisle
a00577daa6 unit testing: missing required library 2008-10-29 20:44:14 +00:00
Marc Delisle
601416c9e2 fix vim modelines 2008-10-25 13:37:54 +00:00
Marc Delisle
c930d2bd4f patch #209978, missing svn:eol-style 2008-09-10 16:53:28 +00:00
Sebastian Mendel
385efeb63a testcase for blowfish de- and encryption 2008-01-25 09:34:21 +00:00
Sebastian Mendel
915e4f3ff3 updated testcase for themes 2007-12-20 11:27:34 +00:00
Sebastian Mendel
994d2667ab PHP 5.2 required 2007-10-17 14:08:40 +00:00
Sebastian Mendel
5f779e5a7f fixed test result 2007-09-04 15:37:20 +00:00
Sebastian Mendel
a09db703a1 testsuite for PMA_generate_common_url 2007-09-04 15:19:33 +00:00
Sebastian Mendel
042fedf51c added new test for checking var against array of valid values;
fixed some test not properly working;
2007-05-09 13:03:18 +00:00
Sebastian Mendel
9256caa3a0 added some but disabled tests for negative exp on pow 2007-05-09 13:02:40 +00:00
Sebastian Mendel
573a6161bd fixed code indention 2007-05-09 12:18:57 +00:00
Sebastian Mendel
d0ac1f2bbb XHTML standard: no language attribute in <script> 2007-04-01 11:13:46 +00:00
Sebastian Mendel
0848d0f654 renamed test according to naming conventions 2007-04-01 08:23:23 +00:00
Sebastian Mendel
2698ea8b26 added test for empty option string 2007-03-27 13:05:53 +00:00
Sebastian Mendel
b2ded6b4dd added one more testcase 2007-03-26 12:06:21 +00:00
Sebastian Mendel
18c210d548 added testsuite for PMA_transformation_getOptions() 2007-03-26 12:02:35 +00:00
Sebastian Mendel
758c0b5d03 added some test for PMA_isValid 2007-03-21 16:52:15 +00:00
Sebastian Mendel
b6a2ca2646 fixed package and subpackage assignment 2007-03-20 15:15:58 +00:00
Sebastian Mendel
d0facc3d4f splitted common.lib.php into common.inc.php, core.lib.php and common.lib.php 2007-03-20 14:16:18 +00:00
Sebastian Mendel
374abd5173 fixed/added page level docblock 2007-03-20 10:32:13 +00:00
Sebastian Mendel
b948e16584 fixed/added svn properties 2007-03-20 08:32:55 +00:00
Sebastian Mendel
ed52421872 included JavaScript escape test into PHPUnit test suite 2007-03-16 11:59:40 +00:00
Sebastian Mendel
5272b1be7d test some environment
wrap test output
2007-03-16 11:51:57 +00:00
Sebastian Mendel
a738c7435c added vim-line, tweaked doc 2007-03-16 08:58:14 +00:00
Sebastian Mendel
38c50e0362 updated test 2007-03-15 15:52:04 +00:00
Sebastian Mendel
771afcbc0f added testsuite for PMA_pow() 2007-03-14 12:27:07 +00:00
Sebastian Mendel
8f8584bf2e added testsuite for PMA_sanitize 2007-03-13 13:31:53 +00:00
Sebastian Mendel
991c2308cc added testcase for PMA_get_real_size_test.php() 2007-03-08 16:57:02 +00:00
Marc Delisle
42ac66ad74 get rid of propicon 2007-02-10 15:58:46 +00:00
Marc Delisle
c06c96f317 patch #1611684 part 2, other issues with the caching of phpmyadmin.css.php 2006-12-21 01:22:03 +00:00
Michal Čihař
0e48825a46 Finalise SVN migration. 2006-10-12 16:27:13 +00:00
Sebastian Mendel
12f2005466 fixed bug #1444466 theme directory not being processed correctly 2006-04-12 11:16:22 +00:00
Sebastian Mendel
a7b7f0bd11 - make use of new PMA_Theme and PMA_Theme_Manager classes
- remove libraries/select_theme.lib.php
2005-11-29 12:25:31 +00:00
Michal Čihař
9935bfd907 Ignore custom headers and temporary files from Vim. 2005-11-25 08:44:56 +00:00
Michal Čihař
618f2d7408 Move javascript stuff out of libraries folder. 2005-11-23 19:10:30 +00:00
Sebastian Mendel
8cd4e67d59 added htmlspecialchars() 2005-11-22 12:14:59 +00:00
Sebastian Mendel
ec4dd3cb14 for testing themes 2005-11-22 07:09:04 +00:00