Commit Graph

244 Commits (6afc39c2e468798f3c15e1faee45e51f1440bb51)

Author SHA1 Message Date
Dries Buytaert 82727ed8aa - Patch #352359 by Damien Tournoud: provided unit tests for the unicode library and fixed some bugs. 2008-12-31 11:01:49 +00:00
Dries Buytaert 92a8adea65 - Patch #352470 by scor: fixed typos and grammar in comments. 2008-12-30 16:43:20 +00:00
Dries Buytaert 48673b7506 - Patch #320363 by mikey_p: renaming module for consistency. 2008-12-28 18:27:14 +00:00
Dries Buytaert 445823f6bb - Patch #337783 by Dave Reid, drewish: array-itize drupal_http_requests()'s parameters. 2008-12-26 21:01:57 +00:00
Dries Buytaert 0d100b57dc - Patch #332002 by Crell et al: MergeQuery should refuse to execute if there are no key fields. With tests. 2008-12-26 14:23:38 +00:00
Dries Buytaert fc063806de - Patch #314464 by Crell: fixing up the db_placeholder() patch that I committed incompletely. 2008-12-26 11:48:18 +00:00
Dries Buytaert 779a70a0d4 - Patch #344575 by cdale: made the ANSI compatibility mode less strict to work around a MySQL 5 bug. 2008-12-24 10:21:32 +00:00
Dries Buytaert e5ddb46d12 - Patch #314464 by Crell, Dave Reid et al: convert db_placeholders() to the new DB layer. 2008-12-24 09:53:40 +00:00
Dries Buytaert 1c0f4ac3aa - Patch #344575 by cdale et al: force MySQL to run in ANSI compatibility mode. Comes with tests. 2008-12-23 07:48:24 +00:00
Dries Buytaert 0c63d9e24f - Patch #349504 by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Angie Byron a7d66871bd #283246 by Damien Tournoud, Dave Reid, drewish, boombatower: Store original user when prior to running tests. 2008-12-18 00:42:55 +00:00
Dries Buytaert 0f99a1fb2d - Patch #346529 by Dave Reid: fixed bug in assertFieldByXPath. 2008-12-13 14:03:21 +00:00
Dries Buytaert 4c5221a939 - Patch #299178 by Crell et al: add support for subqueries in FROM and JOIN clauses in dynamic query. Cool feature/syntax. 2008-12-12 16:21:58 +00:00
Dries Buytaert 01ed110a6b - Patch #345838 by Dave Reid: remove user creation from drupalLogin(). drupalLogin() should only do one thing, and do it well. :) 2008-12-11 20:35:37 +00:00
Dries Buytaert 60524be44b - Patch #345632 by boombatower: corrected assertTitle logic and added assertNoTitle for completeness. 2008-12-11 20:11:40 +00:00
Dries Buytaert 6f859fdd8f - Patch #328781 by Damien Tournoud and Dave Reid: fixed simpletest error reporting. 2008-12-09 11:09:26 +00:00
Dries Buytaert c50651f7fb - Patch #340557 by Dave Reid: use static caching in drupal_is_front_page(). 2008-12-09 07:16:10 +00:00
Dries Buytaert 1ffa4fe38b - Patch #343631 by Dave Reid: cleaned up the database tests. 2008-12-08 22:02:45 +00:00
Dries Buytaert 55382d04a7 - Patch #318016 by Dave Reid: step one to standardizing type-hinting. 2008-12-08 21:41:54 +00:00
Angie Byron baa9c7e2b0 #343765 by Dave Reid: Initialize SimpleTest with a value for required site_mail variable. 2008-12-07 07:55:24 +00:00
Angie Byron 6d84974ff5 #343620 by Dave Reid: Fix db_update() failure on expression-only SQL (with test). 2008-12-07 07:51:55 +00:00
Dries Buytaert 58b0235a72 - Patch #324313 by catch et al: load multiple nodes and terms at once. 2008-12-05 22:18:46 +00:00
Dries Buytaert cadd9bd54c - Patch #335086 by recidive: rename node, filter and comment module tables to singular for consistency. Oh my. 2008-12-03 16:32:22 +00:00
Dries Buytaert 5c72eb294a - Patch #327269 by c960657: when drupal_page_cache_header() compares the client's If-Modified-Since header to $cache->created, it assumed a certain date format. However, HTTP/1.1 allows several variations of the date format, i.e. the same time may be represented in slightly different ways. If the client sends the date in a different format than the one generated by Drupal, it would never receive a 304 Not Modified response. Also added a good amount of tests for the drupal_page_cache_header() code. 2008-12-03 14:51:53 +00:00
Dries Buytaert 99afbc53a7 - Patch #330582 by Darren Oh, c960657 et al: better API for retrieving HTTP headers and working with HTTP headers in tests. 2008-12-02 20:03:57 +00:00
Angie Byron f3ad4d9568 #340052 by justinrandell: Speed up SimpleTest by 15,000 orders of magnitude by pre-loading the registry. 2008-11-30 07:04:45 +00:00
Dries Buytaert bc719d0c55 - Patch #337820 by Dave Reid, Damien Tournoud, et al: rename menu path 'logout' to 'user/logout'. For real now. 2008-11-29 09:33:51 +00:00
Angie Byron 5657765d63 #338239 follow-up by c960657: Fix file test failure. 2008-11-27 08:41:45 +00:00
Angie Byron d7f706f291 Reverting #337820 once more, as it causes mysterious test failures. 2008-11-27 07:07:01 +00:00
Dries Buytaert 63e195eb30 - Patch #338239 by Damien Tournoud: clean-up DrupalWebTestCase. 2008-11-26 13:48:50 +00:00
Dries Buytaert c01f85bc37 - Patch #337820 by Dave Reid: rename menu path logout to user/logout. 2008-11-25 13:16:39 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +00:00
Dries Buytaert 96dc47665e - Patch #280934 by pwolanin, swentel, et al: harden session regeneration. It took a while, but it comes with tests and extra features now. 2008-11-24 06:12:46 +00:00
Angie Byron bd9554952c Reverting #337820 which causes menu tests to fail, unbeknownst to testing bot. Hrm... 2008-11-24 04:22:02 +00:00
Angie Byron 251a761eaa #337820 by Dave Reid: Rename menu path 'logout' to 'user/logout' for consistency. 2008-11-23 21:17:48 +00:00
Dries Buytaert 6a93b9d4c4 - Patch #336043 by c960657: skip calls to curlExec() in curlConnect(). Nice find, c960657\! 2008-11-23 18:12:08 +00:00
Angie Byron 1b4dd805ca #315801 by Rob Loach, Grugnoh2, mfer and dmitrig01: Add a hook_js_alter() to modify JavaScript being printed to the page. 2008-11-23 16:00:08 +00:00
Angie Byron 3a5f422cc5 #323474 follow-up by gpk: Some comment improvements to hook_boot/exit simpletests. 2008-11-22 15:29:50 +00:00
Dries Buytaert 33cf35a6e8 - Patch #335614 by Damien Tournoud: getActiveConnection() and getConnection() were broken when was not found. Now with tests\! 2008-11-22 13:51:38 +00:00
Dries Buytaert 653e63bd05 - Patch #323474 by Dave Reid and catch: hook_boot() was not invoked on uncached page views if cache mode is aggressive. 2008-11-22 13:33:00 +00:00
Dries Buytaert 738b58ec5e - Patch #310607 by mfb: added tests for db_column_exists() and db_table_exists(). Yay\! 2008-11-21 15:04:21 +00:00
Angie Byron 328982747d #293514 by mikey_p: Add tests for menu_rebuild_needed. 2008-11-20 07:18:59 +00:00
Angie Byron 07211d4019 #335214 by quicksketch: Speed up simpletest.js and make it more cross-browser compliant. 2008-11-20 05:51:58 +00:00
Dries Buytaert dc65b62ace - Patch #74645 by drewish, roychri et al: modify file_scan_directory to use a regex for the nomask (and code clean-up). 2008-11-16 19:41:14 +00:00
Dries Buytaert 5fbdca023f - Patch #267883 by MadHarold, boombatower: parse_size() and format_size() do not use the same kilo standard. 2008-11-16 15:19:34 +00:00
Angie Byron abcebbfee2 #333095 by chx and Damien Tournoud: Lay groundwork for SQLite patch. 2008-11-16 04:38:15 +00:00
Dries Buytaert 15671f471b - Patch #332123 by webchick, lilou: remove t() function from schema descriptions. 2008-11-15 13:01:11 +00:00
Dries Buytaert 8fb1fc5c90 - Patch #302399 by Damien Tournoud: fixing the schema api tests. 2008-11-13 21:25:05 +00:00
Dries Buytaert 44c8391d32 - Patch #321100 by hswong3i: empty insert statements are better handled now. Comes with tests. 2008-11-13 21:08:16 +00:00
Dries Buytaert a269b9cc1d - Patch #322458 by hswong3i: tests for queryRange(). 2008-11-13 21:02:10 +00:00
Dries Buytaert a56f3a8773 - Patch #302399 by chx, Damien Tournoud: tests for schema API. 2008-11-13 20:49:17 +00:00
Dries Buytaert a56f520fad - Patch #331213 by chx and Damien Tournoud: welcome weird database drivers. 2008-11-11 20:37:46 +00:00
Angie Byron 0762f60073 #315798 by Rob Loach, mfer, Grugnog2, and sun: Add weighting to drupal_add_js(). 2008-11-10 05:23:01 +00:00
Angie Byron 0aeda0f143 Roll-back of #304936; broke because #74645 patch was rolled back. 2008-11-09 05:50:48 +00:00
Angie Byron 8f8cdb6197 Further rollback of patch #74645 - hunk got skipped for some reason. 2008-11-09 05:38:50 +00:00
Angie Byron 2ea70d6507 #304940 by drewish: Stop SimpleTest from trying to upload non-files. 2008-11-09 03:07:54 +00:00
Angie Byron cccc620603 #304936 by drewish and boombatower: Fix SimpleTest copying/deletion. 2008-11-09 03:02:03 +00:00
Dries Buytaert a7f6efc8a1 - Patch #329080 by chx, Damien Tournoud, pwolanin: statics in objects are not per-instance. 2008-11-08 22:52:24 +00:00
Dries Buytaert ceaf8a0c74 - Patch #74645 by drewish, Robin Monks, tayknight: clean up file_scan_directory API to use regex. 2008-11-08 21:49:47 +00:00
Dries Buytaert 4447e45ac4 - Patch #331013 by drewish: remove file_set_status in favor of file_save(). 2008-11-08 21:35:10 +00:00
Angie Byron b0e2635675 #331737 by Crell: Fix nested conditions (plus test) 2008-11-08 07:06:03 +00:00
Angie Byron 1632855a9f #325895 by chx and hswong3i: Fix queryTemporary and add test case. 2008-11-08 04:45:36 +00:00
Angie Byron ee6ca83959 #329226 by drewish and c960657: Remove ugly GLOBALS from file tests to fix file tests. 2008-11-08 04:02:56 +00:00
Dries Buytaert 57d35b7fb1 - Patch #243532 by Damien Tournoud et al: catch notices, warnings and fatal errors during testing. Woop, woop. 2008-11-05 17:06:18 +00:00
Dries Buytaert dc1af5e290 - Patch #321161 by Damien Tournoud: properly flush cache between tests. 2008-11-05 15:54:56 +00:00
Dries Buytaert 2bc3b99bc7 - Patch #314147 by catch: more taxonomy standardization. 2008-11-05 14:08:11 +00:00
Dries Buytaert ba1af44375 - Patch #306224 by catch, sun: add proper taxonomy term hooks. 2008-11-02 17:46:47 +00:00
Dries Buytaert bd22265b45 - Patch #306224 by catch et al: improving the taxonomy hook system. 2008-11-02 14:42:45 +00:00
Dries Buytaert 72e81af12d - Patch #324875 by pwolanin, Damien Tournoud, goba: improved conf_path() header injection checking. 2008-11-02 10:56:35 +00:00
Dries Buytaert fa94c66c92 - Patch #328719 by c960657: make the module list tests succeed again. 2008-11-01 21:21:35 +00:00
Dries Buytaert 4a6243aff2 - Patch #314401 by boombatower et al: batch API screen improvements. 2008-11-01 18:32:22 +00:00
Dries Buytaert 35c7673cae - Patch #327480 by chx: remove DB specific code from simpletest. 2008-10-31 11:13:31 +00:00
Dries Buytaert e2a6a3ed61 - Patch #298600 by chx, justinrandell, Damien, et al: make module_implements work regardless of bootstrap phase. 2008-10-31 02:18:22 +00:00
Dries Buytaert 5371104a2d - Patch #316225 by sun et al: allow behaviors to detach from AHAH/AJAX. 2008-10-29 10:01:28 +00:00
Dries Buytaert 6654861003 - Patch #305150 by jpetso et al: keep running tests checked. 2008-10-27 15:46:26 +00:00
Dries Buytaert df2cf40d2c - Patch #266358 by Rob Loach, mfer: use array in drupal_add_css(). 2008-10-26 18:06:39 +00:00
Angie Byron a406555460 #318440 by Crell: Make it easier to add multiple fields in a dynamic SELECT statement. 2008-10-25 04:26:30 +00:00
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