Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
24 Nov 2008 at 01:00 UTC
Updated:
11 Dec 2008 at 08:51 UTC
Jump to comment: Most recent file
DrupalWebTestCase need a full cleanup, let's start by documenting class members, and adding proper visibility modifiers.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 338239-follow-up-1.patch | 1.22 KB | c960657 |
| #9 | 338239-cleanup-drupal-web-test-case.patch | 47.92 KB | damien tournoud |
| #5 | 338239-cleanup-drupal-web-test-case.patch | 46.15 KB | damien tournoud |
| #3 | 338239-cleanup-drupal-web-test-case.patch | 45.1 KB | damien tournoud |
| #1 | 338239-cleanup-drupal-web-test-case.patch | 44.72 KB | damien tournoud |
Comments
Comment #1
damien tournoud commentedA first pass of clean-up. This is likely to break some stuff around.
Comment #2
damien tournoud commentedComment #3
damien tournoud commentedUnbreak Simpletest self-test.
Comment #5
damien tournoud commentedFix session tests, and reroll for this night changes. Looks good to go for this first pass.
Comment #6
catchSo everything in here is just code comments, and private/protected corrections. Comments look fine to me, private/protected etc. also looks fine, but then with that stuff I'd probably not notice if it wasn't.
Comment #7
damien tournoud commentedAbout visibility modifiers: basically all methods are protected, except assert() that is very private and a public command: run().
Comment #8
catchThat explanation makes sense, so I'm marking to RTBC.
Comment #9
damien tournoud commentedRerolled, and adding a fix for DatabaseTemporaryQueryTestCase that the test bot apparently missed. Also cleaned-up DrupalHTTPRequestTestCase that had a reference to ->_content in its comments.
Comment #10
dries commentedCommitted to CVS HEAD.
Comment #11
c960657 commentedThis broke the File > File scan directory test. Fix attached.
Comment #12
hswong3i commented+1 for #11
Comment #13
hswong3i commentedPump it to critical since it break simpletest.
Comment #14
webchickThanks, committed. :( Really wish testing bot was catching these... :(