Angie Byron
994cc4a8e4
#325869 by pwolanin: Restore missing hidden property in test module .info file.
2008-10-24 23:32:44 +00:00
Dries Buytaert
d1d3ce0be7
- Patch #315797 by mfer, Rob Loach, et al: rework the parameter of drupal_add_js.
2008-10-22 19:39:36 +00:00
Angie Byron
f4315766fe
#316868 by Crell: Make addField() alias to the field name, rather than the table and field name when there are no conflicts.
2008-10-22 04:01:03 +00:00
Dries Buytaert
458f8f7882
- Patch #323137 by Crell: clean-up of database tests.
2008-10-20 17:56:52 +00:00
Dries Buytaert
5c3db6511b
- Patch #322779 by Damein Tournoud, cha0s: simpletest calls file_check_directory incorrectly.
2008-10-20 13:06:15 +00:00
Dries Buytaert
cbec05812d
- Patch #298669 by Crell, moshe et al: add query logging per connection.
2008-10-16 14:58:48 +00:00
Dries Buytaert
967d8f67ac
- Patch #304924 by Damien Tournoud: extend error handler to manage exceptions. I have one exception and one fail.
2008-10-15 16:05:51 +00:00
Dries Buytaert
e85187d948
- Patch #320374 by Damien Tournoud, pwolanin et al: worked around a max_allowed_packet size issue with the simpletests.
2008-10-15 14:17:27 +00:00
Dries Buytaert
305d14412c
- Patch #321165 by Dave Reid: fixed exceptions in XML-RPC library and its tests.
2008-10-15 13:56:08 +00:00
Dries Buytaert
c14b03b6ca
- Patch #320747 by lilou, UltimateBoy: removed double semicolons.
2008-10-14 20:44:57 +00:00
Angie Byron
f95f58cc05
#320161 by Dave Reid: Fix problems with drupalGetTestFiles() that causes upload.test to break on some systems.
2008-10-12 08:30:05 +00:00
Angie Byron
bc22653541
#320155 by Dave Reid: Fix silly exceptions in file.test.
2008-10-12 06:37:40 +00:00
Angie Byron
f76acb2d9d
#282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif.
2008-10-12 04:30:09 +00:00
Angie Byron
a765e882eb
#320127 by matt2000: Fix bug with file_check_directory() being passed a function by-reference.
2008-10-12 03:46:08 +00:00
Angie Byron
4d20274076
#253569 by aaron, agentrickard, and Dave Reid: Add hook_modules_X to allow modules to react when other modules are enabled, disabled, installed, or uninstalled.
2008-10-11 22:46:22 +00:00
Angie Byron
7e02f2f782
#318984 by Xano and Dave Reid: Change 'Core - optional' to 'Core' in modules UI.
2008-10-11 02:33:14 +00:00
Angie Byron
464be0b8bd
#318892 by justinrandell and chx: Add .install files to the list of files added to .info files.
2008-10-09 22:51:41 +00:00
Angie Byron
d59ba41f65
#313213 by maartenvg, Gábor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names
2008-10-09 15:15:55 +00:00
Angie Byron
0a6b178c96
#316344 by boombatower: Add meta refresh support to SimpleTest to allow programmatically dealing with Batch API and such.
2008-10-09 02:49:36 +00:00
Angie Byron
f841d1a764
#142995 by dopry, drewish, quicksketch, jpetso, and flobruit: Adding hook_file_X(). This is an enabler of lots and lots of goodies. See CHANGELOG.txt for more. Awesome work, guys. :)
2008-10-09 00:02:29 +00:00
Dries Buytaert
72e09d7beb
- Patch #318593 by hswong3i: clean up of tabs.
2008-10-08 18:34:30 +00:00
Dries Buytaert
cbeaf157af
- Patch #308668 by jpetso, boombatower: make test selection page work when Javascript is disabled.
2008-10-06 14:38:02 +00:00
Angie Byron
4c976d51e6
#281446 by xqus, dropcube, and catch: Improve the requirements check for the installer. Awesome.
2008-10-01 00:27:29 +00:00
Angie Byron
853ce2487a
Temporary roll-back of #298669 : This wasn't quite ready yet and broke SimpleTest in a big way.
2008-09-28 21:52:08 +00:00
Dries Buytaert
5b86f43a75
- Patch #298669 by Crell, moshe weitzman: added query logging per connection.
2008-09-28 00:03:33 +00:00
Angie Byron
f19d83c4c2
#302300 follow-up by Crell: Fixes to database connection tests.
2008-09-27 07:08:44 +00:00
Angie Byron
40e2b52116
#302300 by Crell: Support adding and ignoring database targets, for better replication support.
2008-09-26 19:10:32 +00:00
Dries Buytaert
d83a75125e
- Patch #310447 by Damien Tournoud, Crell, catch: add back SET NAMES='utf8' -- we love UTF-8
2008-09-21 15:27:20 +00:00
Angie Byron
a3bb66e4e8
#259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths.
2008-09-20 20:22:25 +00:00
Angie Byron
a4b0bb58a2
#310358 by drewish: Add a test for file_save_upload and clean up file.test.
2008-09-20 07:35:53 +00:00
Angie Byron
89b4c55989
#64967 follow-up by drewish: Replace ereg with preg in file_scan_directory().
2008-09-20 03:49:24 +00:00
Angie Byron
ca858345c6
#255613 by boombatower: Replace old crufty manual cURL call with nice drupalGet().
2008-09-19 02:47:38 +00:00
Dries Buytaert
a4cb8e0aba
- Patch #308272 by cwgordon7, boombatower, flobruit, et al: improve test selection page.
2008-09-18 14:57:42 +00:00
Angie Byron
867304f3bc
#307477 by clemens.tolboom and boombatower: Test how XML-RPC responds to large messages.
2008-09-17 16:49:41 +00:00
Dries Buytaert
7f29b14277
- Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience.
2008-09-17 07:11:59 +00:00
Dries Buytaert
6f8b5f9a5b
- Patch #296297 by beeradb, boombatwoer: tests for drupal_get_content and drupal_set_content. Yay.
2008-09-17 07:01:31 +00:00
Angie Byron
e3b019f480
#299186 by boombatower: Fix assertFieldByXPath so that it recognizes select and textarea values.
2008-09-17 00:46:44 +00:00
Angie Byron
a37d9be187
#295697 by maartenvg and boombatower: Make SimpleTest fail to install if cURL is not present.
2008-09-16 23:24:36 +00:00
Angie Byron
2f3146f041
#308434 follow-up by drewish: Small clean-ups to file.inc clean-ups.
2008-09-15 21:06:07 +00:00
Angie Byron
161a9970f7
#308534 by Dave Reid: Remove stray whitespace core-wide.
2008-09-15 20:48:10 +00:00
Angie Byron
cf987be12d
#253702 follow-up by catch: Fix file.inc tests.
2008-09-15 16:10:12 +00:00
Dries Buytaert
312b97e9e9
- Patch #253702 by Damien Tournoud et al: further clean-up of the session handling code.
2008-09-15 15:18:59 +00:00
Angie Byron
e875378518
AHEM. Aaaaand... tests! :D
2008-09-15 09:30:03 +00:00
Angie Byron
63632564ad
#308262 by boombatower, flobruit, and Damien Tournoud: Clean-up of simpletest.js.
2008-09-14 22:34:25 +00:00
Angie Byron
568034d90c
#308399 by Damien Tournoud: Fix SimpleTest error handler to not spaz out and die when PHP errors are encountered.
2008-09-14 21:14:21 +00:00
Angie Byron
a7c16d158d
#308186 by chx: Fix tons and tons of test failures in certain versions of cURL.
2008-09-14 06:46:34 +00:00
Angie Byron
ab07b4cd5e
#305077 by DamZ, boombatower, and cwgordon7: Rework SimpleTest backend.
2008-09-10 04:13:01 +00:00
Dries Buytaert
e4ff0cd6f4
- Patch #304139 by Rob Loach, beeradb, Damien, et al: tests for the variable_*() functions.
2008-09-08 20:49:47 +00:00
Angie Byron
af884c3888
#302763 by DamZ: Fixing test failures, removing legacy globals check cruft.
2008-09-06 15:20:09 +00:00
Angie Byron
73356fde8b
#296310 by DamZ: Fixes to drupal_http_request() and accompanying tests.
2008-09-06 15:06:10 +00:00
Dries Buytaert
e5b0e5f76c
- Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency.
2008-09-06 08:36:22 +00:00
Dries Buytaert
2b07665033
- Patch #64967 by Arancaytar, meba: ereg -> preg for performance reasons and future compatilbility. PHP6 is rumoured to drop ereg support.
2008-09-05 09:25:52 +00:00
Angie Byron
c17a5e70bc
#285309 by pwolanin: menu_name in hook_menu is ignored on updates
2008-09-02 19:23:02 +00:00
Dries Buytaert
32981b119b
- Patch #296310 by domas, dmitrig01, boombatower: drupal_http_request tests.
2008-09-02 17:00:34 +00:00
Angie Byron
f60cdab373
#276276 follow-up by Crell: Fixing a notice in db test.
2008-08-31 15:05:29 +00:00
Angie Byron
382f4a8c5f
#276276 by Crell and florbuit: New database system unit tests. WOOHOO! :D
2008-08-31 11:43:41 +00:00
Dries Buytaert
fb9d456450
- Patch #299461 by Damien Tournoud: fixed annoying glitches with assertEqual().
2008-08-30 09:42:25 +00:00
Dries Buytaert
6261c4cad2
- Patch #246261 by pwolanin: simpletest does not handle optgroup correctly
2008-08-30 09:27:21 +00:00
Dries Buytaert
fadcc4f9c1
- Patch #295564 by mustafau, Damien Tournoud et al: drupal_http_rqeuest triggers error.
2008-08-29 14:45:19 +00:00
Dries Buytaert
5dee24e73f
- Patch #297894 by boombatower: two new asserts for link checking.
2008-08-23 07:42:54 +00:00
Dries Buytaert
8b00301995
- Patch #298137 by flobruit: drupalCreateContentType() now resets node permissions.
2008-08-22 12:40:32 +00:00
Dries Buytaert
c15bcc0653
- Patch #297869 by boombatower: add xpath method to simpletest and refactor existing tests.
2008-08-22 12:35:55 +00:00
Dries Buytaert
69e6f411a9
- Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7.
2008-08-21 19:36:39 +00:00
Dries Buytaert
0e79597812
- Patch #268148 by obsidiandesign: make the simpletests work on https.
2008-08-18 19:25:52 +00:00
Dries Buytaert
e2825f474b
- Patch #293099 by boombatower: clarify form documentation and error handling.
2008-08-18 18:40:07 +00:00
Dries Buytaert
1065e3805f
- Patch #276430 by jhedstrom, chx, boombatower et al: added tests for session handling.
2008-08-16 21:11:02 +00:00
Dries Buytaert
253c74d245
- Patch #296027 by hswong3i: {simpletest} indexes come with wrong array expression
2008-08-16 20:57:14 +00:00
Dries Buytaert
c639b5135f
- Patch #295564 by boombatower, Damien Tournoud: fixed drupal_http_request error and cleaned up some simpletest stuff. We should have a much more funky 'all tests passed' screen. Having all tests pass shouldn't be this boring. Let's be a bit more creative and injest some fun ... ;-)
2008-08-16 07:31:01 +00:00
Dries Buytaert
207284675e
- Patch #268063 : move tests from includes/tests to modules/simpletests/tests.
2008-08-14 09:18:28 +00:00
Dries Buytaert
ab4e39da83
- Patch #283806 by mustafau: fixed bug in drupal_http_request() and added some first drupal_http_request() tests to core. Yay.
2008-08-13 07:11:18 +00:00
Dries Buytaert
5de34fb21c
- Patch #290316 by boombatower, Damien Tournoud et al: made simpletests work on PostgreSQL.
2008-08-13 06:42:04 +00:00
Dries Buytaert
8d11f75d89
- Patch #291750 by boombatower: remove test results after displayed, makes tests work on PostgreSQL.
2008-08-11 17:46:06 +00:00
Dries Buytaert
f76ea7023f
- Patch #293500 by Damien Tournoud: message column too short for PostgreSQL.
2008-08-11 17:43:30 +00:00
Dries Buytaert
0d1995a828
- Patch #268063 by boombatower, chx, cwgordon7, Damien Tournoud: move includes/tests to simpletest/tests and provide hidden .info propery
2008-08-09 12:41:23 +00:00
Dries Buytaert
db8215e5ec
- Patch #231190 by Dries: drupalHead repeated twice. Oops.
2008-07-18 07:30:34 +00:00
Dries Buytaert
d8aacc5de2
- Patch #225880 by pwolanin, webchick, keith.smith, et al: fixed non-writability of settings.php.
2008-07-18 07:24:29 +00:00
Dries Buytaert
fb3b6d13b8
- Patch #231190 by eli, mfb: page cache didn't work with HEAD requests.
2008-07-17 21:10:39 +00:00
Dries Buytaert
57fe5103da
- Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value.
2008-07-16 21:59:29 +00:00
Dries Buytaert
4fe1f3582c
- Patch #276774 by Moshe, Susurrus: remove crufty settings.
2008-07-05 17:48:33 +00:00
Dries Buytaert
48955b3754
- Patch #253506 by Damien Tournoud, catch, et al: fixed contact.text.
2008-07-05 07:19:31 +00:00
Dries Buytaert
fe06b4ccd8
- Patch #276581 by catch: wrote missing tests for contact module and simplified contact module thanks to that. Also removed some whitespace.
2008-07-02 20:05:11 +00:00
Dries Buytaert
a009417189
- Patch #277586 by chx: call setUp for each test method.
2008-07-02 19:34:13 +00:00
Dries Buytaert
929b2c599c
- Patch #277621 by Damien Tournoud: drupalGet was not working correctly.
2008-07-02 19:20:58 +00:00
Dries Buytaert
66ddfda7a2
- Patch #274994 by R.Muilwijk, boombatower: bring back the includes-tests.
2008-06-26 21:07:59 +00:00
Dries Buytaert
d7c32183e5
- Patch #275396 by Moshe: removed some dead code, and added url() options to drupalPost().
2008-06-26 19:31:31 +00:00
Dries Buytaert
df8dcc79b1
- Patch #275094 by boombatower: lean, lean, mean simpletest.
2008-06-26 11:23:52 +00:00
Dries Buytaert
69a7d80607
- Patch #274589 by dmitrig01: forgot to remove simpletest library from core.
2008-06-25 07:30:11 +00:00
Dries Buytaert
9b82787b22
- Patch #243773 by chx, catch, boombatower, yched, dmitrig01, et al: use the batch API for running the tests instead of an all-in-one approach. Great work.
2008-06-24 21:51:03 +00:00
Dries Buytaert
0889c01d21
- Patch #270053 by pwolanin: fixed undefined index.
2008-06-17 01:12:50 +00:00
Dries Buytaert
3020deb421
- Patch #266178 by boombatower: SimpleTest internal browser no longer handles element ids.
2008-06-10 19:39:29 +00:00
Dries Buytaert
ecb032a239
- Patch #151902 by MadHarold et al: a better format_size() (and removed some excessive white space).
2008-06-09 08:11:45 +00:00
Dries Buytaert
76aedbefe0
- Patch #267813 by alpritt: fixed some user module tests.
2008-06-08 19:50:54 +00:00
Dries Buytaert
caa2e7e1d1
- Patch #267308 by boombatower: check permissions to make sure they are avlid.
2008-06-08 19:09:50 +00:00
Dries Buytaert
5c9d4b9c97
- Patch #253506 by Daniel, flobruit and catch: made the upload tests work.
2008-06-06 10:36:45 +00:00
Dries Buytaert
b87b7c2d01
- Patch #265040 by flobruit: Remove drupalModuleEnable() from simpletest.
2008-06-05 21:55:45 +00:00
Dries Buytaert
d722c96909
- Patch #265498 by boombatower et al: tearDown() doesn't reset the module list.
2008-06-03 19:53:42 +00:00
Dries Buytaert
cccf98aaa0
- Patch #265809 by dropcube: fixed some typos.
2008-06-03 13:45:07 +00:00
Dries Buytaert
24d27b88c7
- Patch #260501 by cwgordon7: made the trigger module tests pass.
2008-06-02 17:39:12 +00:00
Dries Buytaert
01223c9f49
- Patch #260882 by boombatower: added simpletests for simpletest. :-)
2008-05-28 14:07:46 +00:00
Dries Buytaert
ddea5c448d
- Patch #260882 by boombatower: refresh variables after install and page requests. This actually fixes one failure.
2008-05-28 13:11:11 +00:00
Dries Buytaert
25a5bf9fc3
- Patch #261843 by dropcube: tests fail when a response of zero bytes is received.
2008-05-26 17:36:08 +00:00
Dries Buytaert
3bbd9a7fa4
- Patch #260812 by boombatower: add failure message to DrupalWebTestCase->parse().
2008-05-22 19:32:52 +00:00
Dries Buytaert
83601ea040
- Patch #260383 by webchick: better debugging for form errors in simpletest.
2008-05-20 20:28:05 +00:00
Dries Buytaert
a628fe811e
- Patch #246259 by boombatower and saxofaan: enabling/disabling modules doesn't check for failures.
2008-05-16 02:09:22 +00:00
Dries Buytaert
f50062676e
- Patch #254758 by flobruit and me: remove inline CSS style from simpletest.
2008-05-10 07:46:22 +00:00
Dries Buytaert
bdf980c40b
- Patch by boombatower: fixed code style of simpletests.
2008-05-10 06:55:09 +00:00
Dries Buytaert
b9f1018ea4
- Patch #73874 by pwolanin: normalize the permissions table and wrote simpletests for the (new) permission handling. At last.
2008-05-07 19:34:24 +00:00
Dries Buytaert
2e18cb8924
- Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
...
et al. Can you say 'registry'? Drupal now maintains an internal registry of
all functions or classes in the system, allowing it to lazy-load code files as
needed (reducing the amount of code that must be parsed on each request). The
list of included files is cached per menu callback for subsequent loading by
the menu router. This way, a given page request will have all the code it needs
but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert
c100468cf2
- Patch #251473 by webchick, chx, et al: one step closer to running tests in the includes directory. Not working yet.
2008-05-06 11:21:10 +00:00
Dries Buytaert
917b27d688
- Patch #252365 by boombatower: clean up the temporary directory that gets creating during the test runs.
2008-04-30 06:45:43 +00:00
Dries Buytaert
bc8a2b23da
- Patch #251550 by ksenzee: simpletest requires curl so make sure to add a requirements check.
2008-04-28 09:30:35 +00:00
Dries Buytaert
2813062be7
- Patch #251631 by chx: fixed behavior of the Drupal web test case with regard to POST and GET operations.
2008-04-28 08:36:06 +00:00
Dries Buytaert
21576021bf
- Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6.
2008-04-23 20:01:56 +00:00
Dries Buytaert
63406e5268
- Patch #250056 by dmitrig01: if all the checkboxes in a checkbox group are checked on page load, the check all box isn't checked, which is should be (because all sub-boxes are checked).
2008-04-23 18:50:49 +00:00
Dries Buytaert
c863246b51
- Patch #249629 by chx, flobruit: made drupal_test_case() reusable and improve the SimpleTest documentation.
2008-04-23 17:49:50 +00:00
Dries Buytaert
ffc0e93c4e
- Added a test framework to Drupal along with a first batch of tests for
...
Drupal core! This is an important milestone for the project so enable
the module and check it out ... :)
Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
Lal, Moshe Weitzman, and the many other people that helped with testing
over the past years and that drove this home.
It all works but it is still rough around the edges (i.e. documentation
is still being written, the coding style is not 100% yet, a number of
tests still fail) but we spent the entire weekend working on it in Paris
and made a ton of progress. The best way to help and to get up to speed,
is to start writing and contributing some tests ... as well as fixing
some of the failures.
For those willing to help with improving the test framework, here are
some next steps and issues to resolve:
- How to best approach unit tests and mock functions?
- How to test drupal_mail() and drupal_http_request()?
- How to improve the admin UI so we have a nice progress bar?
- How best to do code coverage?
- See http://g.d.o/node/10099 for more ...
2008-04-20 18:34:43 +00:00
Dries Buytaert
af474609e3
- Added a test framework to Drupal along with a first batch of tests for
...
Drupal core! This is an important milestone for the project so enable
the module and check it out ... :)
Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
Lal, Moshe Weitzman, and the many other people that helped with testing
over the past years and that drove this home.
It all works but it is still rough around the edges (i.e. documentation
is still being written, the coding style is not 100% yet, a number of
tests still fail) but we spent the entire weekend working on it in Paris
and made a ton of progress. The best way to help and to get up to speed,
is to start writing and contributing some tests ... as well as fixing
some of the failures.
For those willing to help with improving the test framework, here are
some next steps and issues to resolve:
- How to best approach unit tests and mock functions?
- How to test drupal_mail() and drupal_http_request()?
- How to improve the admin UI so we have a nice progress bar?
- How best to do code coverage?
- See http://g.d.o/node/10099 for more ...
2008-04-20 18:24:07 +00:00