Commit Graph

190 Commits (da87545c487eb2e46dbc6c7b9e054b2e5be4a5b0)

Author SHA1 Message Date
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 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 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 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 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 5657765d63 #338239 follow-up by c960657: Fix file test failure. 2008-11-27 08:41:45 +00:00
Dries Buytaert 63e195eb30 - Patch #338239 by Damien Tournoud: clean-up DrupalWebTestCase. 2008-11-26 13:48:50 +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
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
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 8f8cdb6197 Further rollback of patch #74645 - hunk got skipped for some reason. 2008-11-09 05:38:50 +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 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 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 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 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 305d14412c - Patch #321165 by Dave Reid: fixed exceptions in XML-RPC library and its tests. 2008-10-15 13:56:08 +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 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 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 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
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 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 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
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 fadcc4f9c1 - Patch #295564 by mustafau, Damien Tournoud et al: drupal_http_rqeuest triggers error. 2008-08-29 14:45:19 +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 1065e3805f - Patch #276430 by jhedstrom, chx, boombatower et al: added tests for session handling. 2008-08-16 21:11:02 +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 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