Commit Graph

111 Commits

Author SHA1 Message Date
Marc Delisle
0ee881da71 bug #4395 BLOB link transformation is broken
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-16 09:56:47 -04:00
Michal Čihař
d559fa6a21 Remove trailing whitespace from the code
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-20 09:36:48 +01:00
Jeff Chan
3e65f88dee Fix AuthenticationCookieTest::testAuth to have proper includes
Also change testAuthSetUserWithHeaders to have more flexible assertion

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-14 19:28:17 +00:00
Jeff Chan
719babd2c6 Import dependencies to make tests friendlier to running independently
The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-14 18:59:18 +00:00
Jeff Chan
581f8e4d94 Define MYSQL_VERSION string constant if not already defined
These tests were failing when run individually since the constant was
not defined. This patch defines the constant if it doesn't exist.

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-14 18:59:07 +00: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
Jeff Chan
0216a5a4a1 Move slow tests 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 05:20:31 +00:00
Jeff Chan
3f0f634c38 Import config to make unit tests friendlier to running independently
The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

This is similar to 607cb3b0b3

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-12 03:30:36 +00:00
Jeff Chan
607cb3b0b3 Import dependencies to make unit tests friendlier to running independently
The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

This is similar to 659efe1a88

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-10 03:26:24 +00:00
Jeff Chan
659efe1a88 Import dependencies to make unit tests friendlier to running independently
The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

This is similar to 840f7b1215

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-09 08:16:24 +00:00
Madhura Jayaratne
2512ffe513 Merge pull request #1034 from jeffchan/fix-export-tests
Import export.lib.php to make unit tests friendlier to running independently
2014-03-09 11:41:56 +05:30
Jeff Chan
4f241de077 Import export.lib.php to make unit tests friendlier to running independently
The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

This is similar to 1d58392622

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-09 05:03:05 +00:00
Jeff Chan
6b0e7d6807 Remove duplicate include_once
Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-03-09 04:55:55 +00:00
Michal Čihař
3f9c963abe Merge remote-tracking branch 'origin/QA_4_1' 2014-03-03 09:28:55 +01:00
Dhananjay Nakrani
76c57710f0 Display session expiry msg after auto-redirect.
Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
2014-03-03 11:49:17 +05:30
minhaz
f1529325ff coding style fix
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-01 02:49:56 +05:30
Chirayu Chiripal
dec30ffd6d Feature Request #1460 Redirect to login page after session has expired
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-02-27 17:45:46 +05:30
Michal Čihař
c189d3a410 Merge commit '501d25fe622a83826b0d57541eb4f2551c49f5af' 2014-02-27 10:54:40 +01:00
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ř
7a325cf5ad Fix regexp to match
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 12:33:16 +01:00
Michal Čihař
b63ddb6b41 Test encoded binary output
Otherwise PHP sometimes refuses to match binary content using PCRE.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 11:59:41 +01:00
Michal Čihař
b485c6105c Remove blank lines from the end of PHP files (causing extra output)
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 10:57:21 +01:00
Marc Delisle
e8f14e0ac0 Merge pull request #897 from dhananjay92/bug#4237
Fix for bug#4237.
2014-02-07 12:37:33 -05:00
Dhananjay
0a18d86059 Fix for bug#4237.
Signed-off-by: Dhananjay <dhananjaynakrani@gmail.com>
2014-02-07 11:56:46 +05:30
Chanaka Indrajith
4457f40ef4 Support for export server/db/table without views
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-02-06 23:03:04 +05:30
Chanaka Indrajith
55151381fa rfe-1403 : Support for export only triggers/stored procedures
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-02-04 22:47:00 +05:30
Michal Čihař
396991a194 Merge remote-tracking branch 'origin/QA_4_1' 2014-02-03 09:01:55 +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
Michal Čihař
0e5be0dff1 Fix test case expectations
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-02 12:27:32 +01:00
Chanaka Indrajith
2988aebc86 rfe-1483 : Export database without triggers
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-01-28 23:09:59 +05:30
Marc Delisle
3d72b1cc87 Fix typos
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-24 08:24:14 -05:00
Marc Delisle
edde7126ce Move functions to library file
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-25 09:18:29 -05:00
Marc Delisle
4f612de31d Remove unneeded transformation
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-06 06:31:47 -05: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
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
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
Madhura Jayaratne
5f72019a66 Fix failing tests 2013-10-19 13:02:43 +05:30
Marc Delisle
c7e504b337 This test should use a numeric value 2013-10-11 12:57:46 -04:00
adamgsoc2013
d3a87951de using a smaller test data to make it run more quick 2013-09-14 16:53:38 +08:00
adamgsoc2013
3d6f38223e move mock dbi code to setup function 2013-09-13 22:01:44 +08:00
adamgsoc2013
d9fe181553 add comment for DRIZZLE=false branch 2013-09-13 16:34:48 +08:00
adamgsoc2013
0e10ad4738 add Unit test case for import sharp files 2013-09-12 21:11:17 +08:00
Dieter Adriaenssens
4a2a360f8c fix coding style 2013-09-07 23:08:02 +02:00
Michal Čihař
6b9dd0e096 Whitespace cleanup 2013-08-21 14:06:44 +02:00
Michal Čihař
f2b6a3d8b2 Properly mark test as incomplete 2013-08-21 14:06:44 +02:00
Michal Čihař
9d00e5934c Merge pull request #571 from ayushchd/ut
Ut
2013-08-13 06:35:23 -07:00