Posted by aaron on July 24, 2008 at 8:12pm
We're running SimpleTests on various core modules, to get a baseline of what is fine, and what breaks with the hook_file patch.
I'm going to comment to this thread with results. The first run is on a clean installation of the build of Drupal 7.x-dev, Last updated: July 24, 2008 - 08:03.
Tests to run:
blog api
simpletest
system
upload
user
cache

Comments
System
system:
311 passes, 3 fails, 0 exceptions
Test cron run.
5 passes, 3 fails, 0 exceptions
Message Group Filename Line Function Status
Message Group Filename Line Function Status
GET to http://localhost/media-sprint-pre, response is 5927 bytes. Browser drupal_web_test_case.php 743 curlExec
GET to http://localhost/media-sprint-pre/?q=cron.php, response is 2824 bytes. Browser drupal_web_test_case.php 817 curlExec
HTTP response expected 403, actual 404 Browser drupal_web_test_case.php 274 testCronRun
GET to http://localhost/media-sprint-pre/?q=cron.php&cron_key=simpletest_jhS1LS..., response is 2824 bytes. Browser drupal_web_test_case.php 817 curlExec
HTTP response expected 403, actual 404 Browser drupal_web_test_case.php 274 testCronRun
GET to http://localhost/media-sprint-pre/?q=cron.php&cron_key=9bf7487d4ac62e3c4..., response is 2824 bytes. Browser drupal_web_test_case.php 817 curlExec
HTTP response expected 200, actual 404 Browser drupal_web_test_case.php 274 testCronRun
Cron ran successfully.
Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic
SimpleTests
SimpleTests: 33 passes, 0 fails, 0 exceptions
Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic
consolidated
here's the consolidated run of all the relevant tests on my machine, from a "clean" pre-patch installation of HEAD:
blog api
simpletest
system
upload
user
cache
system:
311 passes, 3 fails, 0 exceptions
Test cron run.
5 passes, 3 fails, 0 exceptions
Message Group Filename Line Function Status
Message Group Filename Line Function Status
GET to http://localhost/media-sprint-pre, response is 5927 bytes. Browser drupal_web_test_case.php 743 curlExec
GET to http://localhost/media-sprint-pre/?q=cron.php, response is 2824 bytes. Browser drupal_web_test_case.php 817 curlExec
HTTP response expected 403, actual 404 Browser drupal_web_test_case.php 274 testCronRun
GET to http://localhost/media-sprint-pre/?q=cron.php&cron_key=simpletest_jhS1LS..., response is 2824 bytes. Browser drupal_web_test_case.php 817 curlExec
HTTP response expected 403, actual 404 Browser drupal_web_test_case.php 274 testCronRun
GET to http://localhost/media-sprint-pre/?q=cron.php&cron_key=9bf7487d4ac62e3c4..., response is 2824 bytes. Browser drupal_web_test_case.php 817 curlExec
HTTP response expected 200, actual 404 Browser drupal_web_test_case.php 274 testCronRun
Cron ran successfully.
SimpleTest
33 passes, 0 fails, 0 exceptions
Upload
121 passes, 4 fails, 0 exceptions
Uploaded text-1.txt is accessible. Browser upload.test 53 checkUploadedFile
Uploaded contents of text-1.txt verified. Other upload.test 53 checkUploadedFile
GET to http://localhost/media-sprint-pre/?q=sites/default/files/simpletest43013..., response is 2818 bytes. Browser drupal_web_test_case.php 817 curlExec
Uploaded text-2.txt is accessible. Browser upload.test 54 checkUploadedFile
Uploaded contents of text-2.txt verified. Other upload.test 54 checkUploadedFile
user:
179 passes, 2 fails, 0 exceptions
Upload user picture
70 passes, 2 fails, 0 exceptions
Image is displayed in user's profile page Other drupal_web_test_case.php 274 testWithGDinvalidDimension
File is located in proper directory Other drupal_web_test_case.php 274 testWithGDinvalidDimension
cache:
34 passes, 1 fail, 0 exceptions
Temporary cache with lifetime does not exists after wipe. Other drupal_web_test_case.php 274 testTemporaryLifetime
Request for user's blogs returned correctly. Other drupal_web_test_case.php 274 testBlogAPI
Post created. Other drupal_web_test_case.php 274 testBlogAPI
Recent post list retreived. Other drupal_web_test_case.php 274 testBlogAPI
Post found. Other drupal_web_test_case.php 274 testBlogAPI
Post successfully modified. Other drupal_web_test_case.php 274 testBlogAPI
File successfully uploaded. Other drupal_web_test_case.php 274 testBlogAPI
array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object Warning blogapi.test 84
GET to http://localhost/media-sprint-pre/, response is 5015 bytes. Browser drupal_web_test_case.php 817 curlExec
Uploaded contents verified. Other drupal_web_test_case.php 274 testBlogAPI
Post categories set. Other drupal_web_test_case.php 274 testBlogAPI
Category list successfully retreived. Other drupal_web_test_case.php 274 testBlogAPI
Post successfully deleted. Other drupal_web_test_case.php 274 testBlogAPI
blogapi:
35 passes, 10 fails, 1 exception
Request for user's blogs returned correctly. Other drupal_web_test_case.php 274 testBlogAPI
Post created. Other drupal_web_test_case.php 274 testBlogAPI
Recent post list retreived. Other drupal_web_test_case.php 274 testBlogAPI
Post found. Other drupal_web_test_case.php 274 testBlogAPI
Post successfully modified. Other drupal_web_test_case.php 274 testBlogAPI
File successfully uploaded. Other drupal_web_test_case.php 274 testBlogAPI
array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object Warning blogapi.test 84
GET to http://localhost/media-sprint-pre/, response is 5015 bytes. Browser drupal_web_test_case.php 817 curlExec
Uploaded contents verified. Other drupal_web_test_case.php 274 testBlogAPI
Post categories set. Other drupal_web_test_case.php 274 testBlogAPI
Category list successfully retreived. Other drupal_web_test_case.php 274 testBlogAPI
Post successfully deleted. Other drupal_web_test_case.php 274 testBlogAPI
Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic