Commit Graph

108 Commits (985884f98e3553c29adf5a2bca48646a533d713f)

Author SHA1 Message Date
Angie Byron b41323642b by jmstacey, justinrandell, pwolanin, drewish, Jody Lynn, aaron, dopry, and c960657: Converted File API to stream wrappers, for enhanced private/public file handling, and the ability to reference other storage mechanisms such as s3:// and flicker://. 2009-08-17 19:14:42 +00:00
Dries Buytaert 14f98f2b7e - Patch by Gabor Hojtsy: moving simpletest over to the new IA. 2009-08-13 11:31:26 +00:00
Angie Byron 691693304b by TheRec, JirkaRybka, and Bart Jansens: Centralize calls to set_time_limit() and prevent warnings/errors. 2009-08-05 15:58:35 +00:00
Dries Buytaert 8140ed0d84 - Patch by boombatower, pwolanin: properly report fatal errors as failures. 2009-07-30 10:46:53 +00:00
Dries Buytaert d24d954479 - Patch by bangpound, JuliaKM et al: rename admin/site-building to admin/structure. 2009-07-20 18:51:36 +00:00
Dries Buytaert c4a7843852 - Patch by c960657: fixed regression in run-tests.sh 2009-07-11 05:31:28 +00:00
Dries Buytaert d258bed22a - Patch by boombatower: make sure fatal errors are reported as test failures. 2009-07-07 07:50:53 +00:00
Dries Buytaert fee10f55e2 - Patch by gordon: some drupal.sh fixes for Drush. 2009-07-06 13:48:10 +00:00
Dries Buytaert 027c1e97ea - Patch by Damien Tournoud: do not start an output buffer when running in CLI mode. 2009-06-10 16:17:02 +00:00
Dries Buytaert e9d97f1eef - Patch by boombatower: cealn up test loading and related API. 2009-06-08 09:23:55 +00:00
Dries Buytaert 03e5798def - Patch by saxofaan: script didn't work with non-default webserver port. 2009-04-13 12:23:26 +00:00
Angie Byron f40532da76 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest. 2009-03-31 01:49:55 +00:00
Dries Buytaert d23f12d416 - Re-adding code-clean.sh. Didn't mean to remove that. 2009-03-09 20:46:37 +00:00
Dries Buytaert 2568de0906 - Patch by grendzy, Damien Tournoud: remove code-style.pl. Death by coder module. 2009-03-09 20:45:21 +00:00
Angie Byron 665c9fdc2c Roll-back of users -> user table name change in : Broken pgsql is no fun. 2009-02-26 07:30:29 +00:00
Angie Byron 08616351e1 by boombatower: Make run-tests.sh respect the 'simpletest_clear_results' variable. 2009-02-20 03:37:58 +00:00
Angie Byron ff9e842730 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency. 2009-02-18 15:19:57 +00:00
Dries Buytaert b8389ebd54 - Patch by lyricnz: returned help screen when running test groups. 2009-02-01 16:42:26 +00:00
Dries Buytaert be36b9205e - Patch by gcopenhaver: fixed spelling errors. 2009-01-13 22:39:11 +00:00
Dries Buytaert 92a8adea65 - Patch by scor: fixed typos and grammar in comments. 2008-12-30 16:43:20 +00:00
Dries Buytaert 0c63d9e24f - Patch by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Dries Buytaert 8d7eeb0df6 - Modified patch by boombatower: clariy run-test.sh script and provide some better help. 2008-12-18 03:55:02 +00:00
Dries Buytaert 63e195eb30 - Patch by Damien Tournoud: clean-up DrupalWebTestCase. 2008-11-26 13:48:50 +00:00
Dries Buytaert 2c11339a0e - Patch by Damien Tournoud: convert run-tests.sh to the new database API. 2008-11-24 20:17:07 +00:00
Dries Buytaert bd108c7f10 - Patch by hswong3i, Arancaytar, Dave Reid et al: code clean-up. 2008-11-11 16:49:38 +00:00
Dries Buytaert 90ca93c9bc - Patch by Damien Tournoud: fixed --php option. 2008-10-29 03:00:38 +00:00
Dries Buytaert 16fa74fde7 - Patch by Damien Tournoud, boombatower: fixed --php parameter in run-tests.sh 2008-10-19 20:12:55 +00:00
Angie Byron f76acb2d9d by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif. 2008-10-12 04:30:09 +00:00
Angie Byron 120ce90f90 by moshe weitzman: Fix REQUEST_METHOD notice in run-tests.sh. 2008-09-24 19:00:31 +00:00
Angie Byron b43010c5bd by moshe weitzman: Fix end time reporting in run-tests.sh. 2008-09-24 15:48:56 +00:00
Dries Buytaert abbfc3341b - Patch by moshe weitzman and Damien Tournoud: enhance run-tests.sh by automatically picking up the PHP interpreter. 2008-09-23 10:55:27 +00:00
Angie Byron a3bb66e4e8 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Dries Buytaert e5b0e5f76c - Patch 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 ba6aa9f515 - Patch by dhubler, Dries: run tests by file. 2008-08-18 18:52:31 +00:00
Dries Buytaert 43a70352e6 - Patch by Damien Tournoud: improved error handling of concurrency mode. 2008-07-24 06:46:28 +00:00
Dries Buytaert a4883506e3 - Patch by boombatower: improve and clean-up the test script. Added color coding and allow people to control the verbosity. 2008-07-07 06:22:18 +00:00
Dries Buytaert 0d76c733e7 - Patch by Damien Tournoud et al: make scripts/run-tests.php work again. 2008-06-29 12:22:28 +00:00
Dries Buytaert 5efec92ac3 - Patch by chx, catch, boombatower, cwgordon7, yched, dmitrig01, et al: small revert of batch API patch. Also forgot to mention cwgordon7 in the previous commit. 2008-06-24 21:59:20 +00:00
Dries Buytaert 9b82787b22 - Patch 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 5a9b7c5b71 - Renaming the test script from run-functional-tests.php to run-tests.php. 2008-06-09 07:37:05 +00:00
Dries Buytaert d952784de6 - Patch by boombatower and pwlonin: added --list feature to list all available test groups and fixed some indentation issues. 2008-05-28 12:35:32 +00:00
Dries Buytaert 493a9ac6a5 - Patch by pwolanin: script improvements. 2008-05-26 19:43:46 +00:00
Dries Buytaert d4a5a2be65 - Renaming to .sh file. 2008-04-23 18:07:46 +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
Dries Buytaert ed59911f9e - Patch by pwolanin, solardiz, et al: more secure password hashing.
This is a big and important patch for Drupal's security.  We are switching
  to much stronger password hashes that are also compatible with the Portable
  PHP password hashing framework.

  The new password hashes defeat a number of attacks, including:

  - The ability to try candidate passwords against multiple hashes at once.
  - The ability to use pre-hashed lists of candidate passwords.
  - The ability to determine whether two users have the same (or different)
    password without actually having to guess one of the passwords.

  Also implemented a pluggable password hashing API (similar to how an alternate
  cache mechanism can be used) to allow developers to readily substitute an
  alternative hashing and authentication scheme.

  Thanks all!
2008-03-31 20:50:05 +00:00
Dries Buytaert 455e18c686 - Patch by Rob Loach: drupal.sh with no arguments now prints the help text instead of giving an error. 2008-02-17 20:09:52 +00:00
Dries Buytaert ee701b3336 - Patch by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Dries Buytaert 498ad0970d - Patch by sun: clarified how to use drupal.sh. 2007-03-05 16:13:28 +00:00
Dries Buytaert 614e03b7ce - Stripping whitespace. 2007-03-01 19:53:26 +00:00
Dries Buytaert be6c0be443 - Patch by sun et al: added a scripts/drupal.sh to execute Drupal code from the command line. This is great for using Drupal as a scripting framework, or to write backup or migration scripts. 2007-03-01 09:15:42 +00:00