Michal Čihař
29fe4d12af
Check import status in testcase
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-04-11 17:52:35 +02:00
Michal Čihař
bf2c76c1b1
Adjust tests to new import code
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-04-11 17:40:56 +02:00
Michal Čihař
3e2029e750
Move MySQL charsets handling to the Charsets class
...
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-04-11 12:55:42 +02:00
Michal Čihař
cd4008b3d7
Move MySQL charset maps to separate class
...
This allows us to load it only when needed
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-04-11 10:33:40 +02:00
Michal Čihař
9d57ab4f2b
Remove unused code
...
This was used only in testsuite and quite some portion of tests existed
just to test this.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-04-07 09:51:49 +02:00
Michal Čihař
0227caf067
Adjust tests to new processing of password
...
Issue #12147 , #12143
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-04-07 09:47:34 +02:00
Michal Čihař
8a5bf72775
Merge branch 'QA_4_6'
2016-03-18 10:35:43 +01:00
Michal Čihař
1b43606a48
Fixed possible invalid SQL export
...
We should emit the charset restoration only if we have emitted its
setting in the header. As the condition was slightly different in both
cases it was possible that only one part of these two was emitted in
past.
Fixes #12074
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-03-18 10:34:17 +01:00
Michal Čihař
4ed47fc4b4
Move charset conversion to a class
...
Also removes ancient support for AIX iconv.
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-03-08 14:05:59 +01:00
Durgesh
6650f7b07d
Refactor text sanitization and javascript escaping, Issue #11989 , #11988
...
Signed-off-by: Durgesh <007durgesh219@gmail.com >
2016-02-22 14:45:19 +05:30
Durgesh
0b64827930
Refactored url parmeters generating, Issue #11990
...
Signed-off-by: Durgesh <007durgesh219@gmail.com >
2016-02-22 14:36:41 +05:30
Michal Čihař
2fffee3093
Merge remote-tracking branch 'origin/pull/11986'
2016-02-22 07:56:50 +01:00
chintan zaveri
2b74163914
Removal of Swekey
...
Signed-off-by: Chintan Zaveri <zaveri_chintan@rediff.com >
master rebased
Signed-off-by: Chintan Zaveri <zaveri_chintan@rediff.com >
2016-02-20 21:41:07 +05:30
Madhura Jayaratne
6f547b5d9a
Remove superfluous white spaces
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2016-02-19 22:38:56 +11:00
Michal Čihař
2d47e41084
Remove no longer needed variables
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-12 15:18:21 +01:00
Michal Čihař
86d3d0bc04
Define theme for all tests
...
This allows to unify environment.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-12 15:14:39 +01:00
Michal Čihař
a28cc6d2de
Ensure we always restore original instance even on failure
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-03 20:41:00 +01:00
Michal Čihař
2148e7cad8
Implement test for Cookie auth without runkit
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-03 20:21:40 +01:00
Michal Čihař
be8b4ccd76
Add mising separator
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-03 19:57:42 +01:00
Michal Čihař
e3843ab1a9
Test with SID if set
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-03 19:56:26 +01:00
Michal Čihař
c2b41b829a
Wrap header() and headers_sent() in response
...
This allows us to test the code without using runkit. Currenly only
AuthenticationHttp is migrated to new code, but others will follow.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-03 19:49:05 +01:00
Michal Čihař
431450a237
Make test run even without runkit
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-03 19:49:05 +01:00
Michal Čihař
ae1ccf3e6a
Remove PmaAbsoluteUri configuration directive
...
Fixes #11412
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-02-03 17:41:29 +01:00
Michal Čihař
b450e58dbb
Remove require of libraries included in test bootstrap
...
There is no need to specify them in every test when we already do it
globally.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-12 16:43:16 +01:00
Michal Čihař
908c44c027
Remove no longer used variables
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-12 14:51:08 +01:00
Michal Čihař
19f9e830eb
Remove no longer needed code for language selection
...
Issue #11847
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-12 14:51:08 +01:00
Michal Čihař
ce1df2746b
Coding style improvements
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-05 16:35:23 +01:00
Michal Čihař
7f9333c3e1
Add second test for shape file import
...
This one contains multipolygons to test more complex things.
The data is based on OpenStreetMap, licensed under ODbL 1.0.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-05 12:18:05 +01:00
Michal Čihař
65555e51d5
Ensure test can be executed separately
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-05 12:18:05 +01:00
Madhura Jayaratne
46a6967c70
Update another plugin test
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-12-18 17:41:05 +11:00
Madhura Jayaratne
1e7979554b
Update tests for import plugins
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-12-18 17:40:30 +11:00
Madhura Jayaratne
739ff52833
Update export plugin tests
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-12-18 17:36:24 +11:00
Madhura Jayaratne
9e38e02593
Update auth plugin tests
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-12-18 17:36:05 +11:00
Madhura Jayaratne
1c7282b859
Merge branch 'QA_4_5'
...
Conflicts:
test/classes/plugin/export/ExportSqlTest.php
2015-12-11 19:26:26 +11:00
Madhura Jayaratne
968bfd354c
Fix broken tests
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-12-11 19:18:53 +11:00
Madhura Jayaratne
6016b64836
Loosen some assertions. We are tying to prevent calls to dbi.
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-12-11 17:15:00 +11:00
Madhura Jayaratne
76a416283a
Fix failing tests
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-12-11 17:07:46 +11:00
Madhura Jayaratne
1124d70b71
Fix import test
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-12-02 07:26:58 +11:00
Hugues Peccatte
0e5de28eaa
Remove side effects in declaration files.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2015-11-15 17:31:53 +01:00
Madhura Jayaratne
ab49273856
Rename test classes
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-10-15 20:57:27 +11:00
Hugues Peccatte
6f4676cdfc
Merge remote-tracking branch 'origin/master' into useNamespaces_master
2015-10-04 18:04:49 +02:00
Marc Delisle
fd7c8522ea
Clarify method name
...
Signed-off-by: Marc Delisle <marc@infomarc.info >
2015-10-03 10:14:29 -04:00
Hugues Peccatte
c0617bcd5f
Merge remote-tracking branch 'origin/master' into useNamespaces_master
2015-10-03 15:14:47 +02:00
Madhura Jayaratne
5d2fa0d91b
Merge branch 'QA_4_5'
2015-10-03 22:20:06 +10:00
Madhura Jayaratne
b41ab56e3b
Fix #11526 Foreign key to other database's tables fails
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com >
2015-10-03 22:14:49 +10:00
Hugues Peccatte
00e743eb32
Fix unit test.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2015-09-20 13:25:34 +02:00
Hugues Peccatte
330c92ddf7
Set namespace on properties classes.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2015-09-12 22:16:23 +02:00
Hugues Peccatte
8c289e523b
Revert transformation classes rename.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2015-09-12 21:48:43 +02:00
Hugues Peccatte
99633d238a
Fix wrong case in files.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2015-09-12 15:01:59 +02:00
Hugues Peccatte
857c8a92cf
Move abstract transformation plugins to abs folder.
...
Update templates.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com >
2015-09-12 14:13:31 +02:00